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: 9

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
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,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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