Help with Formulae

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I know this going to be easy for you guys but I'm stuck on it.
How do I write this formulae.
If the total number of places available for each class is zero, then the
result None should be returned, otherwise the actual total should be
displayed.
The cells are F20:G20. F20=69 G20=22. the answer needs to be replicated
neither cell is absolute.

Thanks,

kfh.
 
Firstly ensure the cell you write the formula into is set to type general.
add formula =if(test formula,answer if test is true,answer if test is false).
eg =IF(SUM(F20:G20)=0,"None",SUM(F20:G20)).
If the cell type is not set to general the formula will not be evaluated and
it will not be able to display both numberic and text results.
 
Hi Daz,

Thanks for that.

kfh


Daz said:
Firstly ensure the cell you write the formula into is set to type general.
add formula =if(test formula,answer if test is true,answer if test is false).
eg =IF(SUM(F20:G20)=0,"None",SUM(F20:G20)).
If the cell type is not set to general the formula will not be evaluated and
it will not be able to display both numberic and text results.
 

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

Back
Top