Is this even possible?

deleriumbliss

New Member
Joined
Oct 1, 2008
Messages
6
Hey all. I tried using IF and I can't seem to get it to work.
Using a basic checkbook worksheet (debit/credit total left in account etc...)

Budget of $500 (starting amount)
if amount spent (50) is being split 2 ways, in column b, i'd put then YES. Cell C would need the equation (500-(50/2) =475 if "NO", then 500-50=450. Going all the way down the rows, possibly 60 or more.

Is this even possible? Thank you in advance
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Sounds simple enough.

Can you provide some sample data? It's important to understand where the data is located in the table.
 
Upvote 0
Put your starting amount in C1.
In C2:
=IF(A2="","",C1-IF(B2="YES",A2/2,A2))
Copy down.


Excel 2010
ABC
1$ 500.00
2$ 50.00YES$ 475.00
3$ 50.00NO$ 425.00
4 
5 
6 
7 
8 
9 
10 
11 
12
13
Sheet1
Cell Formulas
RangeFormula
C2=IF(A2="","",C1-IF(B2="YES",A2/2,A2))
C3=IF(A3="","",C2-IF(B3="YES",A3/2,A3))
C4=IF(A4="","",C3-IF(B4="YES",A4/2,A4))
C5=IF(A5="","",C4-IF(B5="YES",A5/2,A5))
C6=IF(A6="","",C5-IF(B6="YES",A6/2,A6))
C7=IF(A7="","",C6-IF(B7="YES",A7/2,A7))
C8=IF(A8="","",C7-IF(B8="YES",A8/2,A8))
C9=IF(A9="","",C8-IF(B9="YES",A9/2,A9))
C10=IF(A10="","",C9-IF(B10="YES",A10/2,A10))
C11=IF(A11="","",C10-IF(B11="YES",A11/2,A11))
 
Upvote 0
Hi,

Don't know how your data is setup, adapt this to your sheet:


Book1
ABCD
1SpentSplit Yes/NoBudget500
250Yes475
350No425
Sheet356
Cell Formulas
RangeFormula
D2=D1-A2/IF(B2="Yes",2,1)


Formula copied down.
 
Upvote 0
Don't mine work as well??
If you need D to be Blank when A has no value, just add a Blank check:


Book1
ABCD
1SpentSplit Yes/NoBudget500
250Yes475
350No425
4
5
6
Sheet356
Cell Formulas
RangeFormula
D2=IF(A2="","",D1-A2/IF(B2="Yes",2,1))
 
Upvote 0

Forum statistics

Threads
1,223,933
Messages
6,175,470
Members
452,646
Latest member
tudou

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