# Combining Formulas

#### shakeregg

##### New Member
Hey all,

Hopefully a simple question for you lot but unfortunately not for me!

=IF(INDEX(T:T,MATCH(E5,AF:\$AF,0))=H5,"Yes","")

=IF(INDEX(S:S,MATCH(E5,AF:\$AF,0))=G5,"Yes","")

I have the above formulas in two different cells but I'm wanting to combine them both together. So that if both are Yes' it be a Yes otherwise it'll be a No.

Can provide more detail if needed.

Any help would be muchly appreciated!

Cheers

Matt

Last edited:

### Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I'm wanting to combine them both together. So that if both are Yes' it be a Yes otherwise it'll be a No.

Hi, you could try:

=IF(AND(INDEX(T:T,MATCH(E5,AF:\$AF,0))=H5,INDEX(S:S,MATCH(E5,AF:\$AF,0))=G5),"Yes","No")

Perfect............. works a treat! Thankyou!

Although I've now encountered another slight problem but will have to start a thread as it's a different topic heading!

Cheers again!

Replies
2
Views
129
Replies
7
Views
435
Replies
0
Views
219
Replies
13
Views
248
Replies
0
Views
183

1,196,501
Messages
6,015,563
Members
441,901
Latest member
joshtfin

### 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.

### Which adblocker are you using?

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

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