Excel formula; all negative values return with 0

R

ranthny

Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel I created a formula that counts up elective courses in a spread sheet row that someone needs to take.

Example: =3-COUNTA(O26:W26)

Problem is that they can take many different ones, but are only required to take three. When I get negative numbers, is there a way I can build them formula to return all negative numbers to zero?
 
B

Bob Greenblatt

Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel I
created a formula that counts up elective courses in a spread sheet row that
someone needs to take.

Example: =3-COUNTA(O26:W26)

Problem is that they can take many different ones, but are only required to
take three. When I get negative numbers, is there a way I can build them
formula to return all negative numbers to zero?
Sure. =if(counta(026:w26)>3,0,3-counta(o26:w26))
 

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