ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I create complex functions? (https://www.excelbanter.com/excel-worksheet-functions/5400-how-do-i-create-complex-functions.html)

Chris

How do I create complex functions?
 
I need to create a formula that can recognize when the cell is 0.

For instance: If C125 is Greater than 0 perform function as follows
(=c125*2.75%+0.30) if it is equal to 0 then results should be 0.

Can this be done? If so what is the function to perform this task?

Poon Xiulok

if(c1250,c125*2.75%+0.30,0)

"Chris" 写入消息新闻
...
I need to create a formula that can recognize when the cell is 0.

For instance: If C125 is Greater than 0 perform function as follows
(=c125*2.75%+0.30) if it is equal to 0 then results should be 0.

Can this be done? If so what is the function to perform this task?




Bernard Liengme

Poon Xiulok wrote:
if(c1250,c125*2.75%+0.30,0)

"Chris" 写入消息新闻
...
I need to create a formula that can recognize when the cell is 0.

For instance: If C125 is Greater than 0 perform function as follows
(=c125*2.75%+0.30) if it is equal to 0 then results should be 0.

Can this be done? If so what is the function to perform this task?


Just in case negative values are possible
IF(C125<0,C125*2.75%+0.30,0)

best wishes
--
Bernard Liengme
www.stfx.ca/people/bliengme
remove CAPS in email address





All times are GMT +1. The time now is 02:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com