if, then, if not

jblair626

New Member
Joined
Oct 17, 2011
Messages
18
I am trying to get a formula to: if d13 is = to "no" then e13=c13, if = to "yes" then e13=0
I typed { =If(d13=no,c13,0) } in cell e13, but the d13=no is not computing.
Basically c column is an amount, D column is a paid column(yes or no), E column i want to be the adjusted value. So if its not paid, then i still owe that amount in column E, amount which is in column c.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
I am trying to get a formula to: if d13 is = to "no" then e13=c13, if = to "yes" then e13=0
I typed { =If(d13=no,c13,0) } in cell e13, but the d13=no is not computing.
Basically c column is an amount, D column is a paid column(yes or no), E column i want to be the adjusted value. So if its not paid, then i still owe that amount in column E, amount which is in column c.
Enter this formula in E13:

=IF(D13="No",C13,IF(D13="Yes",0,""))
 
Upvote 0
If it's only yes or no, Couldn't you also use
Code:
=IF(D13="No",C13,0)
 
Upvote 0

Forum statistics

Threads
1,221,531
Messages
6,160,353
Members
451,640
Latest member
idavies1402

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