ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   #VALUE! (https://www.excelbanter.com/excel-discussion-misc-queries/175278-value.html)

sixthhole

#VALUE!
 
Using multiple lookups in multiple arrays. I'm going to get #VALUE! returns
at times. How can I convert to 0 (zero)?

Ex: cell G3 returns #VALUE! and I'd like to convert that to 0 in cell H3.

Pete_UK

#VALUE!
 
Try this in H3:

=IF(ISERROR(G3),0,G3)

Or. more generally:

=IF(ISERROR(your_formula),0,your_formula)

Hope this helps.

Pete

On Feb 1, 4:14*pm, sixthhole
wrote:
Using multiple lookups in multiple arrays. *I'm going to get #VALUE! returns
at times. *How can I convert to 0 (zero)?

Ex: cell G3 returns #VALUE! and I'd like to convert that to 0 in cell H3.



sixthhole

#VALUE!
 
Pete_UK -- Thank you! Simple, elegant and a multitasker. I've replaced
=IF(ISNA) with this function and eliminated a lot of extraneous cells.

"Pete_UK" wrote:

Try this in H3:

=IF(ISERROR(G3),0,G3)

Or. more generally:

=IF(ISERROR(your_formula),0,your_formula)

Hope this helps.

Pete

On Feb 1, 4:14 pm, sixthhole
wrote:
Using multiple lookups in multiple arrays. I'm going to get #VALUE! returns
at times. How can I convert to 0 (zero)?

Ex: cell G3 returns #VALUE! and I'd like to convert that to 0 in cell H3.




Pete_UK

#VALUE!
 
Thanks for feeding back - glad to be of help.

ISNA detects #N/A errors only, whereas ISERROR detects them all.

Pete

On Feb 1, 4:51*pm, sixthhole
wrote:
Pete_UK -- Thank you! *Simple, elegant and a multitasker. *I've replaced
=IF(ISNA) with this function and eliminated a lot of extraneous cells.



"Pete_UK" wrote:
Try this in H3:


=IF(ISERROR(G3),0,G3)


Or. more generally:


=IF(ISERROR(your_formula),0,your_formula)


Hope this helps.


Pete


On Feb 1, 4:14 pm, sixthhole
wrote:
Using multiple lookups in multiple arrays. *I'm going to get #VALUE! returns
at times. *How can I convert to 0 (zero)?


Ex: cell G3 returns #VALUE! and I'd like to convert that to 0 in cell H3.- Hide quoted text -


- Show quoted text -




All times are GMT +1. The time now is 10:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com