Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Treat N/A as zero within an IF formula

Please can someone help me fix this formula?

=-IF(D11="Cash",D9,D14*12)

The issue I have is that when ‘cash’ is selected in D11, cell D14 shows N/A – is there a way to make excel treat N/A as a zero when ‘cash’ is selected.

Many thanks

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

If this is error value then can use IFERROR() function like-

=-IF(D11="Cash",D9,IFERROR(D14,0)*12)

If it is text value then can try-

=-IF(D11="Cash",D9,IF(D14="N/A",0,D14)*12)
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading