Basic Conditional Probability Problem

tompinder

New Member
Joined
Sep 4, 2012
Messages
4
Hello,

I'm very new to excel so appreciate this problem may be very basic however i have a list of future expenditures in Column C with a running total at the bottom. In Column D I have whether it has been paid for or not with a simple yes or no. What i want is for when yes is entered into a cell in Column D for that respective value to be subtracted from the overall total if that makes any sense.
Does anyone know how this can be done?

Thanks
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Perhaps this at the bottom od column "C", alter ranges in function to suit.
Code:
=SUMIF(D1:D10,"<>Yes",C1:C10)
 
Upvote 0
I'm afraid i still get the Err:508 message. The cells with numerical values in go from C5 to C14 and the cells for "yes" go from D5 to D14
 
Upvote 0
I should try a basic test:-
Place the numbers 1 to 10 in "C1:C10", Place the formula in "C11".
"C11" should now read 55.
Place a "Yes" in any Row 1 to 10 in column "D". the Formula results should now be altered accordingly.
When you have it working , alter the ranges to suit you.
Mick
 
Upvote 0

Forum statistics

Threads
1,214,545
Messages
6,120,128
Members
448,947
Latest member
test111

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