LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Index, match, multiple IFs query

Hi,

You may mail me the file at ask(at)ashishmathur(dot)com

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"zx6roo" wrote in message
...
Hi, no that didn't work.

The cells on sheet two B3:H7 are all text except column 5 which is a
number.
Sheet one F7 will be the text from anywhere within the sheet two B3:H7area
(except column 5). Each row within the table area has a specific number -
so
if the text matched B3 the number is 1, if the text matched H7 the number
is
1, if the text matched B4 the number is 2.

I want it to automatically match the text in the table then look at the
number in column 5 from the row (which I gave the range names to) and show
me
that number in the cell on sheet one.

Did I explain that cleary? I can attach an example if needed.



"Ashish Mathur" wrote:

Hi,

You could try this

=INDEX(Sheet2!$D$3:$H$7,SUMPRODUCT((B4:C8=F7)*ROW( B4:B8))-ROW($B$3),5)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"zx6roo" wrote in message
...
I have the following individual functions
=INDEX(Sheet2!$D$3:$H$7,MATCH($F7,ONE,0),5)
=INDEX(Sheet2!$D$3:$H$7,MATCH($F7,TWO,0),5)
=INDEX(Sheet2!$D$3:$H$7,MATCH($F7,THREE,0),5)
=INDEX(Sheet2!$D$3:$H$7,MATCH($F7,FOUR,0),5)
=INDEX(Sheet2!$D$3:$H$7,MATCH($F7,FIVE,0),5)


I need to combine them all in the same cell so IF F7 matches data in
ranges
ONE, TWO, ETC it will return whatever is in column 5.

Ive done some searching on the net and also looked at Microsofts help
on
this. I can see how to create a multiple function if I want it to be
ONE
&
TWO but not ONE or TWO. Ive tried various combinations of functions
but
a
little stuck.

Any help is much appreciated.



 
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
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
SUMPRODUCT or INDEX/MATCH for multiple conditions and multiple rec TravisB Excel Discussion (Misc queries) 21 March 16th 07 09:49 PM
if, Isnumber, Match, &index query Juls Excel Discussion (Misc queries) 0 October 23rd 06 02:07 AM
index and match query kate Excel Worksheet Functions 1 August 7th 06 12:59 AM
INDEX AND MATCH QUERY ? kate Excel Worksheet Functions 2 July 17th 06 01:19 PM


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