Is it possible to get a Value based on 2 trues ?

marlina

New Member
Joined
Apr 17, 2018
Messages
24
[TABLE="width: 223"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]Client Name[/TD]
[TD]Service[/TD]
[TD]Orders[/TD]
[/TR]
[TR]
[TD]Kevin[/TD]
[TD]Service 1[/TD]
[TD]Orders 1[/TD]
[/TR]
[TR]
[TD]Kevin[/TD]
[TD]Service 2[/TD]
[TD]Orders 2[/TD]
[/TR]
[TR]
[TD]Kevin[/TD]
[TD]Service 3[/TD]
[TD]orders 3[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Service 2[/TD]
[TD]Oeders 1
[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 221"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]Client name[/TD]
[TD]Service [/TD]
[TD]order[/TD]
[/TR]
[TR]
[TD]Kevin[/TD]
[TD]Service 3[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I need the order based on Name AND service.
Thank you in advance!
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Assuming your data begins at cell A1 and you your search values at A8 and B8 and your result in C8 input this where you want your order result

=INDEX(C1:C5,MATCH(A8&B8,A1:A5&B1:B5,0))

ALSO: This is an array formula so instead of just hitting enter make sure you do CTRL + SHIFT + ENTER when you are inside the formula bar
 
Upvote 0
Assuming your data begins at cell A1 and you your search values at A8 and B8 and your result in C8 input this where you want your order result

=INDEX(C1:C5,MATCH(A8&B8,A1:A5&B1:B5,0))

ALSO: This is an array formula so instead of just hitting enter make sure you do CTRL + SHIFT + ENTER when you are inside the formula bar


You are my new favourite person.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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