Hlookup doesn't do what he wants.
He wants to search the table data for a particular value, and then
return the header.
For a single column:
=IF(NOT(ISNA(MATCH(A1,B3:B99))),B2,0)
where A1 is the test value, B3:B99 is the lookup column and B2 is the
header.
Now you just have to replace the 0 in the false portion with similar
lookups for the other columns in your table.
=IF(NOT(ISNA(MATCH(A1,B3:B99))),B2,IF(NOT(ISNA(MAT CH(A1,C3:C99))),c2,0)
)
Etc.
pikapika13 wrote:
Do a help search on HLOOKUP.
--
pikapika13
------------------------------------------------------------------------
pikapika13's Profile: http://www.excelforum.com/member.php...o&userid=10892
View this thread: http://www.excelforum.com/showthread...hreadid=570867