SUMIFS with multiple criteria and commas

rodrivers

New Member
Joined
Oct 5, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I'm trying to SUM data in a spreadsheet that have multiple column criteria and one containing commas.

1696530714060.png


I need the data in column c with criteria to grab "RB" from column A, ">=6" in column d, and months 7 and less in column E. The comma is creating a problem when using sumif. Manually calculating returns 46,599, but this is used to forecast the upcoming years and the dates, species, size and number change yearly so I can't make the formula dependent on those cells.

Any help would be appreciated. Thank you
 

Attachments

  • 1696530645563.png
    1696530645563.png
    30.3 KB · Views: 3

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Welcome to the Forum.

I mocked up some sample data to come up with this solution. Note that there can't be anything in your Date column other than numbers and a comma with no spaces.

MrExcel posts20.xlsx
CDEFG
5RB41,20
6SC911,120
7RB93,4,63
8RB94,52
9RB97,81
10SC380
11RB290
12RB56,70
Sheet25
Cell Formulas
RangeFormula
G5:G12G5=SUM((--(NUMBERVALUE(TEXTSPLIT(E5,","))<8))*(C5="rb")*(D5>5))
 
Upvote 0
Welcome to the Forum.

I mocked up some sample data to come up with this solution. Note that there can't be anything in your Date column other than numbers and a comma with no spaces.

MrExcel posts20.xlsx
CDEFG
5RB41,20
6SC911,120
7RB93,4,63
8RB94,52
9RB97,81
10SC380
11RB290
12RB56,70
Sheet25
Cell Formulas
RangeFormula
G5:G12G5=SUM((--(NUMBERVALUE(TEXTSPLIT(E5,","))<8))*(C5="rb")*(D5>5))
I would need the total "number"(column C) summed fitting those parameters
1696540607582.png
 
Upvote 0

Forum statistics

Threads
1,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

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