sumif

tpkelley_no

Board Regular
Joined
Oct 14, 2011
Messages
188
Office Version
  1. 2010
Platform
  1. Windows
I would like to use sumif to sum a total. In cell “B47” they have the following number ”102”. In column “C9” and going down (a row will be added each week). They have the following information:

102/01-106 500.00

106/01-106 300.00

102/01-106 350.00

The total should be 850.00

The number I need to be total are in column “D”
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
So you want to search the cell contents for the first 3 characters for "102", then search the last 6 characters to get the numbers to total? Do I understand you correctly?
 
Upvote 0
yes, search the first three in column "C" starting with cell "C9". anything past the first three are useless, and total amount I am looking for is in column "D" starting with "D9"
 
Upvote 0
Is a helper column OK? If so, what about something like this? Put the SUM formula where you need it.

Book1
BCD
9850102/01-106 500.00500
10106/01-106 300.000
11102/01-106 350.00350
Sheet1
Cell Formulas
RangeFormula
B9B9=SUM(D:D)
D9:D11D9=IF("102"=LEFT(C9,3),--RIGHT(C9,LEN(C9)-FIND(" ",C9)),0)
 
Upvote 0
Another option
Excel Formula:
=SUMIFS(D:D,C:C,"102*")
 
Upvote 0
Another option
Excel Formula:
=SUMIFS(D:D,C:C,"102*")
Sumifs........Sweet....didn't know about that one! Thanks Fluff!

=SUMIFS(D:D,C:C,CONCATENATE(B47,"*"))

Then it's dynamic
 
Last edited:
Upvote 0
You don't need the concatenate function, you can just use
Excel Formula:
=SUMIFS(D:D,C:C,B47&"*"))
 
Upvote 0
Solution
Didn't know that would work in a formula......as always I learn so much here!
Thanks again Fluff!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,581
Members
449,089
Latest member
Motoracer88

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