LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Return specific values based on multiple crireria

Dear Dave

Your solution worked perfectly - thank you so much!

All the best, Ian

"Dave O" wrote:

I mocked up some data like this: Country name (indicated by your
dropdown) in A2, and a Year (also indicated by your dropdown) in B2.
In G1 I have a label "Country", then in H1:J1 I have some year
numbers. In H2:J4 I have some data.

The formula I used is:
=VLOOKUP(A2,$G$2:$J$4,MATCH(B2,$H$1:$J$1,0)+1,0)

The MATCH is nested in the VLOOKUP as the column number argument. The
+1 augments the integer returned by MATCH to account for the "Country"
column.

Dave O
Eschew obfuscation

 
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
How to return mulitple values based on the contents of another cel sherlockgr Excel Discussion (Misc queries) 5 March 11th 08 12:55 PM
search multiple sheets for specific date, return data in cell to r NonIllegitimiCarborundum Excel Discussion (Misc queries) 0 April 28th 06 09:02 PM
Search multiple values to return single values JANA Excel Worksheet Functions 8 October 27th 05 04:26 PM
Return a cell value based on specific combinations of cells in an array rmcnam05 Excel Worksheet Functions 2 October 11th 05 03:28 AM
Adding multiple cells, return specific values Jim Excel Worksheet Functions 4 December 8th 04 07:26 AM


All times are GMT +1. The time now is 07:35 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"