Round/Ceiling on an IF function returning numerical value or text

D

donnaK

Excel 2000.

This formula returns an error of #VALUE when I add the rounding, instead of
the text "No Fica Due" Does anyone have any suggestions? I believe I must
have the cell formatted as "number" for when the cell returns a numerical
value.

=CEILING(IF(IF(J25<90000,0.062*I25,(90000-J24)*0.062)<0,"No FICA
due",IF(J25<90000,0.062*I25,(90000-J24)*0.062)),0.002)
 
B

B. R.Ramachandran

Hi,

Embed the CEILNG function at each calculation point in your formula. When
'No Fica due" is to be answer, your formula is trying to calculate
=CEILING("No Fica due", 0.002) and returns an error message. Try the
following formula:

=IF(IF(J25<90000,CEILING(0.062*I25,0.002),(90000-J24)*0.062)<0,"No FICA
due",IF(J25<90000,CEILING(0.062*I25,0.002),CEILING((90000-J24)*0.062,0.002)))

Regards,
B. R. Ramachandran
 

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