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

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
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,214,954
Messages
6,122,461
Members
449,085
Latest member
ExcelError

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