ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I write the proper Formula for the following? (https://www.excelbanter.com/excel-worksheet-functions/191232-how-do-i-write-proper-formula-following.html)

Brady D

How do I write the proper Formula for the following?
 
Here are the paramaters I am trying to write a funtion for using Excel 2007:

If C3=0, then final value will be C58/2
If C58=0, then final value will be C3*2
If C3 and C58 both do not equal 0, then the final value will be [(C3*2)+C58]/3

I appreciate the help!

Per Jessen

How do I write the proper Formula for the following?
 
Try this formula:

=IF(C3<0,IF(C58<0,(((C3*2)+C58)/3),C3*2),C58/2)


Regards,
Per

"Brady D" skrev i meddelelsen
...
Here are the paramaters I am trying to write a funtion for using Excel
2007:

If C3=0, then final value will be C58/2
If C58=0, then final value will be C3*2
If C3 and C58 both do not equal 0, then the final value will be
[(C3*2)+C58]/3

I appreciate the help!




All times are GMT +1. The time now is 12:51 PM.

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