this formula works but returns N/A when l2 blank. I want it to return a blank cell when l2 is blank
Regards Troysie![]()
Please Login or Register to view this content.
this formula works but returns N/A when l2 blank. I want it to return a blank cell when l2 is blank
Regards Troysie![]()
Please Login or Register to view this content.
Try
=IF(L2="","",HLOOKUP(L2,Sheet4!A2:A59,Sheet4!B2:B59,FALSE))
or to actually trap all #N/A errors (including when the value in L2 is not found in sheet 4)
=IFERROR(HLOOKUP(L2,Sheet4!A2:A59,Sheet4!B2:B59,FALSE),"")
Last edited by Jonmo1; 04-10-2013 at 10:41 AM.
That formula doesn't make much sense to me, usually the red part will be a number, not a range ......and if you only have one column as the "lookup array" with HLOOKUP then you are actualy just comparing L2 with a single cell, Sheet4!A2 - can you explain what that formula should do?
Audere est facere
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks