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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,215,461
Messages
6,124,954
Members
449,198
Latest member
MhammadishaqKhan

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