#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Index & Match

Hi please help me in solving the following issue
e.g i have the follwoing date in Excel Sheet

A B C D E
1 Jon 123
2 Suso 456
3 Mary 789
4 Jon 123
3 Suso 456
5 Mary 789

IF Jon (A1) and 123(B1) are locating in (A1:A5 & C1:C5) Then Copy A1 & B1 in
D1& E1 and copy A4 & C4 in D4&E4


  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Index & Match

One way ..

Getting results for the Top Half:
Put in D1, array-enter the formula by pressing CTRL+SHIFT+ENTER:
=IF(ISNUMBER(MATCH($A1&$B1,$A$4:$A$6&$C$4:$C$6,0)) ,A1,"")
Copy D1 to E1, fill down to E3. This returns the results for the top half.

Getting results for the Bottom Half:
Put in D4, array-enter the formula by pressing CTRL+SHIFT+ENTER:
=IF(ISNUMBER(MATCH($A4&$C4,$A$1:$A$3&$B$1:$B$3,0)) ,A4,"")

Put in E4,array-enter the formula by pressing CTRL+SHIFT+ENTER:
=IF(ISNUMBER(MATCH($A4&$C4,$A$1:$A$3&$B$1:$B$3,0)) ,C4,"")
Select D4:E4, fill down to E6. This returns the results for the bottom half.

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"osaka78" wrote:
Hi please help me in solving the following issue
e.g i have the follwoing date in Excel Sheet

A B C D E
1 Jon 123
2 Suso 456
3 Mary 789
4 Jon 123
3 Suso 456
5 Mary 789

IF Jon (A1) and 123(B1) are locating in (A1:A5 & C1:C5) Then Copy A1 & B1 in
D1& E1 and copy A4 & C4 in D4&E4


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
index Match, or Vlookup Match.. news.transedge.com Excel Worksheet Functions 1 August 3rd 07 02:00 AM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Index, Match, Sum ?? fastballfreddy Excel Discussion (Misc queries) 3 May 9th 06 09:02 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 03:38 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"