how can I combine these two formulas

rincewind2019

New Member
Joined
Jan 29, 2019
Messages
23
Hi, Anyone know how I can combine these formulas?

=IF(OR(ISBLANK(A5),ISBLANK(B5)), ""

=SUM($H$5:H5)-SUM($I$5:I5)

Thanks
 
still dont understand what you want to do
 
Upvote 0

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
i can combine them
=IF(OR(ISBLANK(A5),ISBLANK(B5)), "", SUM($H$5:H5)-SUM($I$5:I5))
BUT really need to know what you need
this doesn't help me understand
Balance is the bank balance
Cash is onsite

the formulas you want to combine and where to put it

You know what all your columns mean and how they relate to the other columns, I dont
so saying
Cash is onsite , really does NOT help me

cash went up by 20 , but did not change the balance
next row it went down to zero and did not change the balance , assuming the deposit of 20 did change the balance
 
Last edited:
Upvote 0
which post , and does it explain the questions i asked ?
 
Upvote 0
Hi I am trying to put together a simple cash book to run from month to month. Does anyone know what formulas I will need to put into columns J & K to calculate row 3 to 9. I have gotten so far but I am having trouble with rows 8 & 9.

Thank you.

abcdefghijk
1IncomeExpenditureBank
2DateDescriptionRec NoIncomeF1ExpenditureCHQ NoDepositsWithdrawalsBalanceCash
301/01/2019B/F£100.00£10.00
402/01/2019Cash Income1£20.00£100.00£30.00
503/01/2019Cash Expenditure1£10.00£100.00£20.00
604/01/2019Cheque Expenditure2£10.001£10.00£90.00£20.00
705/01/2019Cheque Income2£20.00£20.00£110.00£20.00
806/01/2019Cash to Bank£10.00£120.00£10.00
907/01/2019Bank to Cash£20.00£100.00£30.00

<tbody>
</tbody>
 
Upvote 0
you still haven't explained how it works

please explain each row as i'm not following exactly

i thought

d4 = 20
changes only cash
f5 f6 changes cash only

i6, h7,h8,i9 changes balance only

thats how i read the sheet

but - is it the words in column b that define what happens ?
 
Last edited:
Upvote 0
Row 3 is the balance held for the beginning of the month J3 & K3: no formulas

Row 4 is cash coming in (D4) so only the cash amount changes, formula used in K5 is =IF(OR(ISBLANK(A5),ISBLANK(B5)),"",IF((H5+I5)=0,D5+K4-F5,K4-H5+I5))

Row 5 is cash gong out F5 so only the cash amount changes, formula is the same above.

Row 6 is a Cheque going out, so is listed as an expenditure F6 and a withdrawal from the bank balance I6, The bank balance should change but the cash amount K6 should not.

Row 7 is a Cheque Coming in, so is list as an income D7 and a deposit into the bank balance H7. The bank balance should change but not the cash amount.

Row 8 is a transfer from the cash K8 to the bank balance J8, so the deposit in H8 should make the bank balance increase J8 and the cash amount should decrease K8

Row 9 is a transfer from the bank balance J9 to cash K9, so the withdrawal in I9 should make bank balance decrease J9 and the cash amount should increase K9

This simple cash book is turning out to be anything but simple.
 
Upvote 0
Row 4 is cash coming in (D4) so only the cash amount changes, formula used in K5 is =IF(OR(ISBLANK(A5),ISBLANK(B5)),"",IF((H5+I5)=0,D5+K4-F5,K4-H5+I5))
Should that be looking in Row 5 - if applies to row 4 ?

Would you have an entry in column B - but with column A blank - ie NO date but a description

The expenditure column F - the description determins what balance to change
Cash Expenditure changes JUST The CASH column
Cheque Expenditure changes JUST THE BANK column

it looks to me like the changes to cash and bank balance are dependant on the Description ONLY

how many descriptions do you have , you may need to have a list of descriptions and if they apply to Cash only, Bank only or both

spreadhseet
https://www.dropbox.com/s/uc8gh9yyd62shl6/CashBook_etaf.xlsx?dl=0
 
Last edited:
Upvote 0
So it is only the desription which determines what happens to the same cell value

Cash to Bank
Cheque income
Both shown in column H
But changes different balances



As you did in your post #17
do this for ALL description you could possible put in the spreadsheet

The we can work out a formula Possible multiple Nested IFs , maybe a lookup with a indirect

but it may be complicated or simple - just depends on what ALL your possible descriptions are
 
Upvote 0

Forum statistics

Threads
1,216,000
Messages
6,128,203
Members
449,433
Latest member
mwegter95

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