Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a table of data that I would like to use both the hlookup and vlookup
function at the same time to retrieve data. Column A is a listing of codes, and my column headings consists of 4 sizes. How can I write a formula using both a vlookup and hlookup at the same time? For example, in a spreadsheet, if someone enters a code in one cell and a size in the adjouning cell, how can the formula return correct value from the table of data? Thank you |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
See this screencap:
http://img100.imageshack.us/img100/4141/lookuper2.jpg Biff "Frances" wrote in message ... I have a table of data that I would like to use both the hlookup and vlookup function at the same time to retrieve data. Column A is a listing of codes, and my column headings consists of 4 sizes. How can I write a formula using both a vlookup and hlookup at the same time? For example, in a spreadsheet, if someone enters a code in one cell and a size in the adjouning cell, how can the formula return correct value from the table of data? Thank you |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try something like this:
With Data list in A1:E10 A2:A10 contains codes B1:E1 contains sizes F1: (a code to lookup) G1: (a size to lookup) This formula finds the code value of F1 in A1:A10 and returns the corresponding value under the column headed by the size value in G1 H1: =VLOOKUP(F1,$A$1:$E$10,MATCH(G1,B1:$A$1:$E$1,0),0) Does that help? *********** Regards, Ron XL2002, WinXP "Frances" wrote: I have a table of data that I would like to use both the hlookup and vlookup function at the same time to retrieve data. Column A is a listing of codes, and my column headings consists of 4 sizes. How can I write a formula using both a vlookup and hlookup at the same time? For example, in a spreadsheet, if someone enters a code in one cell and a size in the adjouning cell, how can the formula return correct value from the table of data? Thank you |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
THank you Ron. This works.
"Ron Coderre" wrote: Try something like this: With Data list in A1:E10 A2:A10 contains codes B1:E1 contains sizes F1: (a code to lookup) G1: (a size to lookup) This formula finds the code value of F1 in A1:A10 and returns the corresponding value under the column headed by the size value in G1 H1: =VLOOKUP(F1,$A$1:$E$10,MATCH(G1,B1:$A$1:$E$1,0),0) Does that help? *********** Regards, Ron XL2002, WinXP "Frances" wrote: I have a table of data that I would like to use both the hlookup and vlookup function at the same time to retrieve data. Column A is a listing of codes, and my column headings consists of 4 sizes. How can I write a formula using both a vlookup and hlookup at the same time? For example, in a spreadsheet, if someone enters a code in one cell and a size in the adjouning cell, how can the formula return correct value from the table of data? Thank you |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Biff. This works.
"Biff" wrote: See this screencap: http://img100.imageshack.us/img100/4141/lookuper2.jpg Biff "Frances" wrote in message ... I have a table of data that I would like to use both the hlookup and vlookup function at the same time to retrieve data. Column A is a listing of codes, and my column headings consists of 4 sizes. How can I write a formula using both a vlookup and hlookup at the same time? For example, in a spreadsheet, if someone enters a code in one cell and a size in the adjouning cell, how can the formula return correct value from the table of data? Thank you |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome!
Biff "Frances" wrote in message ... Thanks Biff. This works. "Biff" wrote: See this screencap: http://img100.imageshack.us/img100/4141/lookuper2.jpg Biff "Frances" wrote in message ... I have a table of data that I would like to use both the hlookup and vlookup function at the same time to retrieve data. Column A is a listing of codes, and my column headings consists of 4 sizes. How can I write a formula using both a vlookup and hlookup at the same time? For example, in a spreadsheet, if someone enters a code in one cell and a size in the adjouning cell, how can the formula return correct value from the table of data? Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create a Word Table from a Excel Macro | Excel Discussion (Misc queries) | |||
How do I link a cell outside a pivot table to one inside the table | Excel Discussion (Misc queries) | |||
Custom field in Pivot Table? | Excel Discussion (Misc queries) | |||
Pivot Table external XLS file source change and GETPIVOTDATA refresh | Excel Discussion (Misc queries) | |||
Change Data In Pivot Table | New Users to Excel |