Formula to add unique values from range EXCEPT values in another range

kirbyfez

Board Regular
Joined
May 15, 2012
Messages
51
Hi guys,

I have no idea if this is possible but I hope so.

We have a document here at work where we log all our transactions and in the summary field we have lots of formulas based on customers which is all row based.

Issue is that we have certain codes that we do not want to include in the summary sheet and want these not to be added.

For example.

In Sheet called Monday there are customer names in B2:B301. I want the unique values from that range to be listed in B5:B29 in a sheet called summary. but would want it to not add all strings listed in range Z1:Z50 in sheet Admin...

This was very crappy explained but hopefully you get the drift.

At the moment I have a macro that can do it, but it's so slow and wouldnt work in the long run. Also have a formula that takes it over but doesnt exclude the ones that shouldnt be added.

Current formula is: =IF(ROWS(B$5:B5)>$B$1,"",(INDEX(Table1[CUSTOMER/STATUS],MATCH(ROWS(B$5:B5),Table1[Num],0))))
which is then dragged down from B5 to B29

Anyone that can offer some assistance here?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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