#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Match function

Im trying to use match function to find a place in a table but the second
variable could be a number between two number for example
this is the formula that i am using

=INDEX(B3:E4,MATCH(G2,A3:A6,0),MATCH(I2,B2:E2,1))
here is the table
1000-5000 5001-8000 8001-1200012001-32000
2 1.72 1.15 0.92 0.86
3 1.15 0.92 0.86 0.72

the second variable in the formula could be a number between 1000-5000 for
example 3000 and all i get in return is #N/A
please help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Match function

Hi,

Just change the first row to read 5000, 8000, 12000, 32000

Then =INDEX(B3:E4,MATCH(G2,A3:A6,0),MATCH(I2,B2:E2,1)) will work.

Or you could use

=VLOOKUP(G2,A3:E6,MATCH(I2,A2:E2,1))

or a variation depending on your data.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"tflee" wrote:

Im trying to use match function to find a place in a table but the second
variable could be a number between two number for example
this is the formula that i am using

=INDEX(B3:E4,MATCH(G2,A3:A6,0),MATCH(I2,B2:E2,1))
here is the table
1000-5000 5001-8000 8001-1200012001-32000
2 1.72 1.15 0.92 0.86
3 1.15 0.92 0.86 0.72

the second variable in the formula could be a number between 1000-5000 for
example 3000 and all i get in return is #N/A
please help

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
how can we get unique values in match function for same match key. Xcel[_2_] Excel Worksheet Functions 11 December 7th 07 08:13 PM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Match as well as does not match array function Vikram Dhemare Excel Discussion (Misc queries) 7 April 25th 06 09:15 AM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 07:05 AM.

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

About Us

"It's about Microsoft Excel"