SUMIFS not functioning with , in criteria column

rodrivers

New Member
Joined
Oct 5, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
1697561275354.png


I need to SUM data in Column D. A few parameters are required. Column B must be “RB”, Column E must be >=6(inches) and Column F must be greater than 8(august).



The data must fit into this table


1697561286341.png



SUMIFS function isn’t deciphering between the “,” on Column F and returns 0 as the SUM. Others input the data onto the sheet so there isn’t a possibility to arrange the table differently.
The function doesn't have to be SUMIFS, I just felt this would grab all the required data. I'm inexperienced with UDF and SQL.

Any help would be appreciated.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
It might work with SUMIFS, but I couldn't figure it out. You could try it with SUMPRODUCT like below...
Book1
ABCDEFG
1Big CreekRBEagle085, 6, 7SCRS
2Groves LakeRBEagle2,00055, 6, 7SCRS
3Kin ston CreekRBEagle1,00085, 6, 7SCRS
4Smith Creek ReservoirTTTiger1,00086, 8MVH
5Willow Creek PondRBEagle50055. 6GH
6Willow Creek PondRBTahoe1,50088, 9GH
7
8RB1500
9TT1000
Sheet1
Cell Formulas
RangeFormula
B8:B9B8=SUMPRODUCT(($B$1:$B$6=A8)*($E$1:$E$6>6)*(ISNUMBER(SEARCH("8",$F$1:$F$6,1)))*($D$1:$D$6))

Hope that helps,

Doug
 
Upvote 0
Sorry, I read that as equal to 8 (Aug) instead of greater than. I am spitballing here...maybe you to TEXTSPLIT that column for evaluation.

Doug
 
Upvote 0
With modifications for the greater than month...
Book_2023-10-17.xlsx
ABCDEFGHIJKL
1SpeciesStrainNumberSizeMonthSpeciesSum of NumbersSize >=Month >
2Big CreekRBEagle085, 6, 7SCRSRB350068
3Groves LakeRBEagle2,00055, 6, 7SCRSTT450047
4Kin ston CreekRBEagle1,00085, 6, 7SCRS
5Smith Creek ReservoirTTTiger1,00086MVH
6Willow Creek PondRBEagle50055, 6GH
7Willow Creek PondRBTahoe1,50088, 9GH
8Big CreekTTEagle50075, 7, 9SCRS
9Groves LakeTTTiger1,00088, 9, 12SCRS
10Kin ston CreekRBEagle2,000910SCRS
11Smith Creek ReservoirTTTahoe3,00074, 8, 10MVH
12Willow Creek PondTTTiger1,00085, 6, 7GH
Sheet1
Cell Formulas
RangeFormula
J2:J3J2=SUMPRODUCT(($B$2:$B$12=I2)*($E$2:$E$12>=K2)*(BYROW($F$2:$F$12,LAMBDA(x,MAX(1*TEXTSPLIT(x,", ",,TRUE,0))))>L2)*($D$2:$D$12))

Hope that helps,

Doug
 
Upvote 0
Solution

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,022
Latest member
RobertV1609

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