Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default combining vlookup and hlookup functions

I have a table with years across the top and months in the first column.
Within the table is data for each month of each year. Is there a way I can
point to a cell on another sheet with a particular year and another cell with
a particular month and return the number at the intersection of the
month/year matrix on the first sheet?

Thanks for any help.
--
Adrienne
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default combining vlookup and hlookup functions

Hi,

Try the formula below. It assumes your full table is in A1 - H13 and the 2
lookup values (Month) in J1 and (Year) K1

=INDEX(A1:H13,MATCH(J1,A1:A13,0),MATCH(K1,A1:H1,0) )

Mike

"Adrienne" wrote:

I have a table with years across the top and months in the first column.
Within the table is data for each month of each year. Is there a way I can
point to a cell on another sheet with a particular year and another cell with
a particular month and return the number at the intersection of the
month/year matrix on the first sheet?

Thanks for any help.
--
Adrienne

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default combining vlookup and hlookup functions

Hi,

I missed the 'other sheet bit' try this which assumes your table is on
sheet3 and your lookup values are on the same sheet as the formula.

=INDEX(Sheet3!A1:H13,MATCH(J1,Sheet3!A1:A13,0),MAT CH(K1,Sheet3!A1:H1,0))

Mike

Mike

"Mike H" wrote:

Hi,

Try the formula below. It assumes your full table is in A1 - H13 and the 2
lookup values (Month) in J1 and (Year) K1

=INDEX(A1:H13,MATCH(J1,A1:A13,0),MATCH(K1,A1:H1,0) )

Mike

"Adrienne" wrote:

I have a table with years across the top and months in the first column.
Within the table is data for each month of each year. Is there a way I can
point to a cell on another sheet with a particular year and another cell with
a particular month and return the number at the intersection of the
month/year matrix on the first sheet?

Thanks for any help.
--
Adrienne

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining Hlookup and vlookup Dale Excel Worksheet Functions 6 March 8th 14 12:48 AM
HLookup and If Functions MFurrick Excel Discussion (Misc queries) 0 April 24th 08 06:15 PM
Combining VLOOKUP functions Jay Excel Worksheet Functions 16 August 31st 06 06:52 PM
How to see columns from which values were not returned by HLOOKUP functions? Dmitry Kopnichev Excel Worksheet Functions 1 October 14th 05 12:04 AM
Need help with HLOOKUP and MATCH functions BEAR94 Excel Worksheet Functions 1 August 12th 05 05:36 AM


All times are GMT +1. The time now is 06:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"