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

Data is dumped into Sheet1 and on Sheet2 I need a formula to pull out certain
pieces of information. Here is what the data looks like:

D.......P..R S
10 B R 3
10 B F 5
10 L R 10
10 L D 9
11 B R 20
11 B F 6
11 S R 20

I want to extract numbers from column S based on certain values in columns
D, P and R. So, in order to give me the result of 5 from column S, here is
what I'm using:

=INDEX(S2:S41,MATCH(1,(D2:D41="10")*(R2:R41="F")*( P2:P41="B"),0))

I do Ctrl-Shift-Enter after entering the formula, but I get the #N/A message
displayed. What is wrong with my formula? I am currently just trying to get
the formula to work on Sheet1, but it will eventually need to be moved to
Sheet2.

Thanks so much for your help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Index Match Help

One guess, this term
.. D2:D41="10"

Put it as: D2:D41=10
(drop the quotes if its real numbers in col D)
Any luck? hit the YES below
--
Max
Singapore
---
"JStiehl" wrote:
Data is dumped into Sheet1 and on Sheet2 I need a formula to pull out certain
pieces of information. Here is what the data looks like:

D.......P..R S
10 B R 3
10 B F 5
10 L R 10
10 L D 9
11 B R 20
11 B F 6
11 S R 20

I want to extract numbers from column S based on certain values in columns
D, P and R. So, in order to give me the result of 5 from column S, here is
what I'm using:

=INDEX(S2:S41,MATCH(1,(D2:D41="10")*(R2:R41="F")*( P2:P41="B"),0))

I do Ctrl-Shift-Enter after entering the formula, but I get the #N/A message
displayed. What is wrong with my formula? I am currently just trying to get
the formula to work on Sheet1, but it will eventually need to be moved to
Sheet2.

Thanks so much for your help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Index Match Help

Remove quotes arount the number 10


"JStiehl" wrote:

Data is dumped into Sheet1 and on Sheet2 I need a formula to pull out certain
pieces of information. Here is what the data looks like:

D.......P..R S
10 B R 3
10 B F 5
10 L R 10
10 L D 9
11 B R 20
11 B F 6
11 S R 20

I want to extract numbers from column S based on certain values in columns
D, P and R. So, in order to give me the result of 5 from column S, here is
what I'm using:

=INDEX(S2:S41,MATCH(1,(D2:D41="10")*(R2:R41="F")*( P2:P41="B"),0))

I do Ctrl-Shift-Enter after entering the formula, but I get the #N/A message
displayed. What is wrong with my formula? I am currently just trying to get
the formula to work on Sheet1, but it will eventually need to be moved to
Sheet2.

Thanks so much for your help.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Index Match Help

Since Column D contains numerical values, not text values, try removing the
quotes from the first criteria...

=INDEX(S2:S41,MATCH(1,(D2:D41=10)*(R2:R41="F")*(P2 :P41="B"),0))

--
Domenic
Microsoft MVP - Excel
www.xl-central.com, "Your Quick Reference to Excel Solutions"

"JStiehl" wrote in message
...
Data is dumped into Sheet1 and on Sheet2 I need a formula to pull out
certain
pieces of information. Here is what the data looks like:

D.......P..R S
10 B R 3
10 B F 5
10 L R 10
10 L D 9
11 B R 20
11 B F 6
11 S R 20

I want to extract numbers from column S based on certain values in columns
D, P and R. So, in order to give me the result of 5 from column S, here
is
what I'm using:

=INDEX(S2:S41,MATCH(1,(D2:D41="10")*(R2:R41="F")*( P2:P41="B"),0))

I do Ctrl-Shift-Enter after entering the formula, but I get the #N/A
message
displayed. What is wrong with my formula? I am currently just trying to
get
the formula to work on Sheet1, but it will eventually need to be moved to
Sheet2.

Thanks so much for your help.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Index Match Help

Thanks so much for the help--it works perfect!

"Max" wrote:

One guess, this term
.. D2:D41="10"

Put it as: D2:D41=10
(drop the quotes if its real numbers in col D)
Any luck? hit the YES below
--
Max
Singapore
---
"JStiehl" wrote:
Data is dumped into Sheet1 and on Sheet2 I need a formula to pull out certain
pieces of information. Here is what the data looks like:

D.......P..R S
10 B R 3
10 B F 5
10 L R 10
10 L D 9
11 B R 20
11 B F 6
11 S R 20

I want to extract numbers from column S based on certain values in columns
D, P and R. So, in order to give me the result of 5 from column S, here is
what I'm using:

=INDEX(S2:S41,MATCH(1,(D2:D41="10")*(R2:R41="F")*( P2:P41="B"),0))

I do Ctrl-Shift-Enter after entering the formula, but I get the #N/A message
displayed. What is wrong with my formula? I am currently just trying to get
the formula to work on Sheet1, but it will eventually need to be moved to
Sheet2.

Thanks so much for your help.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Index Match Help

Thanks! It works great!

"Teethless mama" wrote:

Remove quotes arount the number 10


"JStiehl" wrote:

Data is dumped into Sheet1 and on Sheet2 I need a formula to pull out certain
pieces of information. Here is what the data looks like:

D.......P..R S
10 B R 3
10 B F 5
10 L R 10
10 L D 9
11 B R 20
11 B F 6
11 S R 20

I want to extract numbers from column S based on certain values in columns
D, P and R. So, in order to give me the result of 5 from column S, here is
what I'm using:

=INDEX(S2:S41,MATCH(1,(D2:D41="10")*(R2:R41="F")*( P2:P41="B"),0))

I do Ctrl-Shift-Enter after entering the formula, but I get the #N/A message
displayed. What is wrong with my formula? I am currently just trying to get
the formula to work on Sheet1, but it will eventually need to be moved to
Sheet2.

Thanks so much for your help.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Index Match Help

welcome, good to hear
--
Max
Singapore

"JStiehl" wrote in message
...
Thanks so much for the help--it works perfect!



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
Find Exact Match using INDEX, MATCH DoubleUU Excel Worksheet Functions 3 August 15th 08 02:42 PM
index(match) Wind Uplift Calculations (match four conditions) JMeier Excel Worksheet Functions 8 August 1st 08 01:45 AM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
How do I display more than one match in a Index/Match formula? Trish Excel Worksheet Functions 0 September 26th 05 10:21 PM
index,match,match on un-sorted data Brisbane Rob Excel Worksheet Functions 3 September 24th 05 10:04 PM


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