IF Condition Query

nortellini

New Member
Joined
May 13, 2004
Messages
28
Good morning/evening everyone!

I am trying to create an IF query to return a certain value if a condition is satisifed. As follows:

If Column A equals 'Yes', I would like to populate Column D with the value of Column B.

However, if Column A equals 'No', I would like to populate Column D with the value of Column C.

I am clearly a moron with no grasp for simple formula - can one of you more enlightened and helpdeul people advise?

Many many thanks in advance

Regards

Chris
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Could there be a blank or something other than "Yes" or "No"? Perhaps

=IF(A1="Yes",B1,IF(A1="No",C1,""))
 
Upvote 0

Forum statistics

Threads
1,215,030
Messages
6,122,762
Members
449,095
Latest member
m_smith_solihull

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