#1
|
|||
|
|||
Hlookup formula help
Please I need help.I have two sheets, in one I have base with some values,
in another is hlookup function looking in base is cell is blank return value is blank, and if in cell are value hookup looking for value in sheet base for return value.I am stuck with this without any idea how to solve this. Please help Thank in andvanced Aleksandar |
#2
|
||||
|
||||
If I understand your question, this might be your solution:
=IF(ISERROR(HLOOKUP(A2,years!A$1:F$5,2,0))=TRUE,"" ,HLOOKUP(A2,years!A$1:F$5,2,0)) (see attached example) |
#3
|
|||
|
|||
Thank you, could tell please one more thing.If in sheet years I have empty cell formula return 0 as value.
regards Aleksandar |
#4
|
|||
|
|||
Thank you, you save me
|
#5
|
||||
|
||||
As you seem to be using a post 2003 version, a shorter function is available
=IFERROR(HLOOKUP(A2,years!A$1:F$5,2,0),0)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HLookup Formula | monisankar | Excel | 2 | 12-12-2016 06:18 AM |
Indirect with hlookup | jamesjts | Excel | 3 | 01-05-2016 09:13 AM |
Vlookup/hlookup | Ntema | Excel | 4 | 10-14-2013 08:49 AM |
HLOOKUP, if,? OR MACRO | bobbyarnold | Excel | 22 | 01-14-2013 08:44 AM |
HLOOKUP with VLOOKUP into different Doc | freeman | Excel | 0 | 09-18-2012 02:04 PM |