Index Match in multiple coloumn

NOTIMPORTANT

New Member
Joined
Jan 16, 2017
Messages
2
Dear

If you could help me in getting the result of the data below
ABCDEFGH

<tbody>
</tbody>
NamesTypeQuantityTicket1Ticket2Ticket3Ticket4Ticket5
JamesAdult5891100005801891100005802891100005803891100005804891100005805
JamesChild4894400001801894400001802894400001803894400001804
JamesFamily3897700001746897700001747897700001748
SteffyAdult5891100006426891100006427891100006428891100006429891100006430
SteffyAdult5891100006353891100006354891100006355891100006356891100006357
MarkAdult5891100005526891100005527891100005528891100005529891100005530
MarkChild2894400001671894400001672
MarkFamily5897700001691897700001692897700001693897700001694897700001695
MarkAdult4891100006476891100006477891100006478891100006479
SidAdult5891100005776891100005777891100005778891100005779891100005780

<tbody>
</tbody>



Result:-
should search for the ticket number in the entire data and provide me with the Name, Type, Count

ABCD
TicketTypeNameCount
891100005527AdultMark2

<tbody>
</tbody>


Look forward to your favorable reply.

thanks
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi,

Couldn't findout what you meant with count but take a look at this and see if this helps you:

Excel 2016 (Windows) 64 bit
ABCDEFGH
1NamesTypeQuantityTicket1Ticket2Ticket3Ticket4Ticket5
2JamesAdult5891100005801891100005802891100005803891100005804891100005805
3JamesChild4894400001801894400001802894400001803894400001804
4JamesFamily3897700001746897700001747897700001748
5SteffyAdult5891100006426891100006427891100006428891100006429891100006430
6SteffyAdult5891100006353891100006354891100006355891100006356891100006357
7MarkAdult5891100005526891100005527891100005528891100005529891100005530
8MarkChild2894400001671894400001672
9MarkFamily5897700001691897700001692897700001693897700001694897700001695
10MarkAdult4891100006476891100006477891100006478891100006479
11SidAdult5891100005776891100005777891100005778891100005779891100005780
12
13
14
15TicketTypeNameCount
16891100006353AdultSteffy
Sheet1
Cell Formulas
RangeFormula
B16{=INDIRECT(ADDRESS(MAX(IF(A2:H11=A16,ROW(A2:H11))),2))}
C16{=INDIRECT(ADDRESS(MAX(IF(A2:H11=A16,ROW(A2:H11))),1))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Hi,

Couldn't findout what you meant with count but take a look at this and see if this helps you:
Excel 2016 (Windows) 64 bit
ABCDEFGH
1NamesTypeQuantityTicket1Ticket2Ticket3Ticket4Ticket5
2JamesAdult5891100005801891100005802891100005803891100005804891100005805
3JamesChild4894400001801894400001802894400001803894400001804
4JamesFamily3897700001746897700001747897700001748
5SteffyAdult5891100006426891100006427891100006428891100006429891100006430
6SteffyAdult5891100006353891100006354891100006355891100006356891100006357
7MarkAdult5891100005526891100005527891100005528891100005529891100005530
8MarkChild2894400001671894400001672891100005779
9MarkFamily5897700001691897700001692897700001693897700001694897700001695
10MarkAdult4891100006476891100006477891100006478891100006479
11SidAdult5891100005776891100005777891100005778891100005779891100005780
12
13
14
15TicketTypeNameCount
16891100006353AdultSteffy

<tbody>
</tbody>
Sheet1

Array Formulas
CellFormula
B16{=INDIRECT(ADDRESS(MAX(IF(A2:H11=A16,ROW(A2:H11))),2))}
C16{=INDIRECT(ADDRESS(MAX(IF(A2:H11=A16,ROW(A2:H11))),1))}

<tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>


At first, I thanks you & am obliged to your zealous response towards my problem.
I the count is the count of the ticket

Eg:
TicketTypeNameCount
891100006353AdultSteffy1First from 5 tickets provided
891100005779AdultSid4Fourth from 5 tickets provided

<tbody>
</tbody>
-----------------------------------------------------------------------------------------------------

Situation 2

If i have a situation where the same ticket number appears to be with two people, can i get a formula for that too..

Eg:

TicketTypeNameCount
891100005779AdultSid4Fourth from 5 tickets provided
891100005779ChildMark3Third from 5 tickets provided

<tbody>
</tbody>


Look forward to your kind support.

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,981
Members
449,058
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top