Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have to build a lot of logic in to trap errors that are returned with V or
H lookups and it would be nice to be able to just return a 0 if the lookup is an error. If there is a way to do this I am not aware of it. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...et.f unctions |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(ISERROR(your-lookup-formula),0,your-lookup-formula)
=IF(ISNA(your-lookup-formula),0,your-lookup-formula) best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "Midwest User" <Midwest wrote in message ... I have to build a lot of logic in to trap errors that are returned with V or H lookups and it would be nice to be able to just return a 0 if the lookup is an error. If there is a way to do this I am not aware of it. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...et.f unctions |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() try = if(iserror(vlookup(a1,range,2)),0,vlookup(a1,range ,2)) or =if(isna(vlookup(a1,range,2)),0,vlookup(a1,range,2 )) -- barrfly Excel User - Energy markets ------------------------------------------------------------------------ barrfly's Profile: http://www.excelforum.com/member.php...fo&userid=4141 View this thread: http://www.excelforum.com/showthread...hreadid=527171 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLOOKUP Returns #REF | Excel Worksheet Functions | |||
VLOOKUP using a cell calculated with NOW returns Error | Excel Worksheet Functions | |||
Vlookup finds a blank, but returns a zero - HELP! | Excel Discussion (Misc queries) | |||
When VLOOKUP returns a #N/A How can you get it to replace #N/A wi. | Excel Worksheet Functions | |||
GET.CELL | Excel Worksheet Functions |