sumifs more than one criteria in same column

ExcelNoob222

Board Regular
Joined
Jun 17, 2020
Messages
77
Office Version
  1. 365
Platform
  1. Windows
Hi, I am assuming what I am trying to do is impossible but I figured I'd ask and see if any one has an idea!

Lets say I have the below data

ItemSalesMove To% To MoveMoved AmountTotal Sales
1100200
2200150%100
3300

The amount in "Total Sales" column is calculated by sales+sumifs($E$2:$E$4,$C$2:$C$4,A2). This works great. But my question is what happens if I have this:

ItemSalesMove To% To MoveMoved AmountTotal Sales
1100200
22001,350%100
3300400

IIs there any way I can get a sumifs or other formula to recognize that column C has more than one value (values will always be separated by a "," if that helps) and therefore assigns 50% of b3 to both a2 and a4?

Also: The "Move To" column must remain as one. I cannot create more columns and do multiple sumifs strung together unfortunately!

Thanks for any help!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Are the item numbers actually 1,2,3 etc & if so what is the highest number you will get?
 
Upvote 0
Are the item numbers actually 1,2,3 etc & if so what is the highest number you will get?

Unfortunately not, they can be anywhere from 4 to 7 characters in length. Mix of numbers and letters.
 
Upvote 0
In that case try
Excel Formula:
=B2+SUMPRODUCT((ISNUMBER(FIND(","&A2&",",","&$C$2:$C$4&",")))*($E$2:$E$4))
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,845
Members
449,051
Latest member
excelquestion515

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