Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
HLookup Problem
I have two worksheets, one is a pivot table which displays the employee name
in the first row. The second sheet is a report that looks up a value in the pivot table based on the employee's name. This works for each employee, except for two. I can't figure it out. I have checked to make that the name is spelled exactly the same and that there aren't any leading or trailing spaces, etc. The formula I am using is =HLOOKUP(H$6,StaffPivot!$B$4:$Z$30,2) Where H6 is the employee name in the report, staff pivot is where the data is located. This is the same formula i am using for other employees and it works. Thanks for any help. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
HLookup Problem
Try instead:
=HLOOKUP(H$6,StaffPivot!$B$4:$Z$30,2,0) which looks for an exact match -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "JD McLeod" wrote: I have two worksheets, one is a pivot table which displays the employee name in the first row. The second sheet is a report that looks up a value in the pivot table based on the employee's name. This works for each employee, except for two. I can't figure it out. I have checked to make that the name is spelled exactly the same and that there aren't any leading or trailing spaces, etc. The formula I am using is =HLOOKUP(H$6,StaffPivot!$B$4:$Z$30,2) Where H6 is the employee name in the report, staff pivot is where the data is located. This is the same formula i am using for other employees and it works. Thanks for any help. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
HLookup Problem
That worked, so did (false) thanks again.
"Max" wrote: Try instead: =HLOOKUP(H$6,StaffPivot!$B$4:$Z$30,2,0) which looks for an exact match -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "JD McLeod" wrote: I have two worksheets, one is a pivot table which displays the employee name in the first row. The second sheet is a report that looks up a value in the pivot table based on the employee's name. This works for each employee, except for two. I can't figure it out. I have checked to make that the name is spelled exactly the same and that there aren't any leading or trailing spaces, etc. The formula I am using is =HLOOKUP(H$6,StaffPivot!$B$4:$Z$30,2) Where H6 is the employee name in the report, staff pivot is where the data is located. This is the same formula i am using for other employees and it works. Thanks for any help. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
HLookup Problem
welcome.
yes, 0 or false, was the key here -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "JD McLeod" wrote in message ... That worked, so did (false) thanks again. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
HLOOKUP PROBLEM | Excel Worksheet Functions | |||
Problem with HLookup. Not sure if it is a bug or not | Excel Worksheet Functions | |||
hlookup problem | Excel Discussion (Misc queries) | |||
hlookup problem | Excel Discussion (Misc queries) | |||
Hlookup Problem | Excel Programming |