look up two cells and if match copy and paste another cell with various criteria

newbie2020

New Member
Joined
Jan 8, 2021
Messages
4
Office Version
  1. 2010
Platform
  1. Windows
Hi All,
Hoping someone can help.
I have a cell (C8) where i want it to check C4 and C6 for different criteria and return a different cell.
If C4 and C6 both say "yes" then i want C8 to return the data whats in cell S2
If C4 states "yes" and C6 states "false" i want C8 to return the data whats in cell R2
If C4 states "False" i want C8 to return the data whats in cell T8.

I can just about get the first bit to work but im totally stumped.

Any help would be appreciated
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi & welcome to MrExcel.
How about
Excel Formula:
=IF(AND(C4="Yes",C6="Yes"),S2,IF(AND(C4="yes",C6="false"),R2,IF(C4="false",T8,"")))
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about
Excel Formula:
=IF(AND(C4="Yes",C6="Yes"),S2,IF(AND(C4="yes",C6="false"),R2,IF(C4="false",T8,"")))
That’s great, thanks so much for your help ?
 
Upvote 0
You're welcome & thanks for the feedback.

In future when you "mark as solution" you are meant to select the post that helps the most, not your post that says it works. ;) I have changed it for you this time.
 
Upvote 0

Forum statistics

Threads
1,214,414
Messages
6,119,375
Members
448,888
Latest member
Arle8907

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