How can I improve existing formula

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
698
Office Version
  1. 2010
Platform
  1. Windows

Excel 2010
ABC
1Thursday
2DescriptionAccount6/30/2016
3
4
5Lighthouse1
6Beginning balance0.00
7Cam deposits7,524.00
8GL Receipts
9Ag Receipts
10Less: NSFs
11Credit card recipts
12Credit card chargebacks
13Credit card fees
14Adjustments
15Transfer to main(7,524.00)
16Ending balance0.00
17
18Cavemill1
19Beginning balance0.00
20Cam deposits
21Ag Receipts12,500.00
22Less: NSFs
23Credit card receipts1,200.00
24Credit card chargebacks(752.00)
25Credit card fees
26Adjustments
27Transfer to main(12,948.00)
28Ending balance0.00
29
30Beginning balance - all locations0.00
31Camp deposits7,524.00
32GL Receipts12,500.00
33Ag Receipts0.00
34Less: NSFs1,200.00
35Credit card recipts(752.00)
36Credit card chargebacks0.00
37Credit card fees0.00
38Adjustments0.00
39Transfer to main(20,472.00)
40Ending balance - all locations0.00
Numbers
Cell Formulas
RangeFormula
C1=TEXT(C2,"dddd")
C2=Main!C3
C15=-SUM(C6:C14)
C16=SUM(C6:C15)
C27=-SUM(C19:C26)
C28=SUM(C19:C27)
C31=C7+C20
C32=C8+C21
C33=C9+C22
C34=C10+C23
C35=C11+C24
C36=C12+C25
C37=C13+C26
C38=C14+C26
C39=C15+C27
C40=SUM(C30:C39)





Hello:

I'm trying to improve the formula in C31 to C39.

I thought of SUMIFS but I can't figure out the range for criteria 2 (date in C2)

Could you help please.

Regards,

Sean
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Formula in column "C"
Beginning balance - all locations 0
Cam deposits 0.00=SUMIFS($D$6:$D$28,$B$6:$B$28,A31)
GL Receipts 0.00=SUMIFS($D$6:$D$28,$B$6:$B$28,A32)
Ag Receipts 0=SUMIFS($D$6:$D$28,$B$6:$B$28,A33)
Less: NSFs 0.00=SUMIFS($D$6:$D$28,$B$6:$B$28,A34)
Credit card recipts 0=SUMIFS($D$6:$D$28,$B$6:$B$28,A35)
Credit card chargebacks 0=SUMIFS($D$6:$D$28,$B$6:$B$28,A36)
Credit card fees 0=SUMIFS($D$6:$D$28,$B$6:$B$28,A37)
Adjustments 0=SUMIFS($D$6:$D$28,$B$6:$B$28,A38)
Transfer to main 0.00=SUMIFS($D$6:$D$28,$B$6:$B$28,A39)
Ending balance - all locations 0
It only works for row 31 if you change Camp to Cam!!
Try this

<tbody>
</tbody><colgroup><col><col><col><col></colgroup>
 
Upvote 0
@vogel997:

I believe cell reference $D$6:$D$28 should be $C$6:$C$28 and $B$6:$B$28 should be $A$6:$A$28 but formula works very well. Thank you very much.

Could formula be made to reference date in C2?

Sean
 
Last edited:
Upvote 0
any ideas?

Thanks,

Regards,

Sean
 
Upvote 0

Forum statistics

Threads
1,215,110
Messages
6,123,138
Members
449,098
Latest member
Doanvanhieu

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