sum but ignore existing concatenated criteria

btardo01

Board Regular
Joined
Oct 6, 2009
Messages
168
Office Version
  1. 2016
Platform
  1. Windows
I have client in column A. Coverage in column B. Location in column C and Income in column D. I'm hoping someone can help with the formula for column E. In column E, I want to sum everything for Client A as long as the combination of Client&Coverage&Location doesn't already exist. If that combination already exists then I would want to leave blank.


Client ACoverage 1South10.0045.00
Client ACoverage 2South15.0045.00
Client ACoverage 3South12.0045.00
Client ACoverage 4South8.0045.00
Client ACoverage 1South10.00(blank)
Client ACoverage 2South15.00(blank)
Client ACoverage 3South12.00(blank)
Client BCoverage 1South5.0012.00
Client BCoverage 2South7.0012.00
Client BCoverage 15.00(blank)
Client ACoverage 1North13.0020.00
Client ACoverage 2North7.0020.00

<tbody>
</tbody>
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
I forgot to mention, If possible to do without an array, that would be best.
 
Upvote 0
You could do it all in one formula but it would be computationally expensive.

Why not just do the concatenation directly in the sheet and work off that. So, e.g., if you added the concatenated string to new column F, something like:

=IF(COUNTIF($F$2:F2,F2)=1,SUMIF($F$2:$F$10,F2,$E$2:$E$10),"")

...in g2 copied down
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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