Help with cell formula, please...

  • Thread starter Thread starter zSplash
  • Start date Start date
Z

zSplash

Here's the formula I'm trying to give a cell:

=IF(SUM(O2:P2)=0 or if (sum(O2:P2=""),"",O2/(SUM(O2+P2)))

I get an error.

The following code works just fine...

=IF(SUM(O2:P2)=0),"",O2/(SUM(O2+P2)))

....but when I try to add the additional (or if sum(O2:P2="")), I am told
there is an error but given absolutely no direction as to what could be
wrong.

I constantly get errors when I try to write formulas for cells. What is
wrong this time?

TIA
 
=IF(OR(SUM(O2:P2)=0,SUM(O2:P2)=""),"",O2/(SUM(O2+P2)))

Regards

Trevor
 
Go into Help and look up "OR worksheet function". Just like AND, it's kinda
funky and not, in my opinion, a logical method.
 

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

Similar Threads


Back
Top