How do I write the proper Formula for the following?

B

Brady D

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!
 
P

Per Jessen

Try this formula:

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


Regards,
Per
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top