Sum Formula

Katich

Board Regular
Joined
Jan 22, 2008
Messages
154
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I have a trial balance that i need to sum up the totals of the respective accounts. Each month there will be a new one pasted into the sheet so the range could change. So i need some kind of formula that will sum up all accounts that have a 9 digit account in from of the .00. I hope this makes sense.

Thank you in advance!

Book3
C
4380,554.71
Original TB - "Month"
 
Fluff's solution and the SumProduct solution work for earlier versions of Excel.

Cell Formulas
RangeFormula
E2E2=SUMIFS(B:B,A:A,">99999999")
E3E3=SUMPRODUCT(--(LEN(A3:A500)=9),B3:B500)
E5E5=SUMPRODUCT(--(LEN(A3:A500)=8),B3:B500)
E6E6=SUM((LEN(A3:A500)=8)*B3:B500)
Great! Thank you for your help!
 
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Glad we could help & thanks for the feedback.
 
Upvote 0
Why bother, there is no need to have a table?
since the user wants to continually add data the user must update the ranges when the ranges get used up. Additionally, if random junk gets placed in the ranges it may cause problems in the calcuations. Yes, it is rare that a 9 digit number in column A with other numbers in in column B or C to cause the problem. Only using cells that have the data you want is the safest method.
 
Upvote 0

Forum statistics

Threads
1,216,460
Messages
6,130,771
Members
449,589
Latest member
Hana2911

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