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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
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,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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