trouble adding unique value criteria to a formula

cella

New Member
Joined
Aug 13, 2015
Messages
2
Hello,
I have an existing formula which works however it is generating duplicate values. Is there a way I can add another criteria that it should only pick out unique values from another column?

=(SUMPRODUCT((Data!$B:$B="Cen: 2015 NewB")*(Data!$Q:$Q>=Summary!$CN322)*(Data!$Q:$Q<=Summary!$CO322)))+(SUMPRODUCT((Data!$B:$B="Cen: 2015 NB-TE")*(Data!$Q:$Q>=Summary!$CN322)*('Rogers Data'!$Q:$Q<=Summary!$CO322))+(SUMPRODUCT((Data!$B:$B="Cen: 2015 In")*(Data!$Q:$Q>=Summary!$CN322)*(Data!$Q:$Q<=Summary!$CO322))))

appreciate your feedback. Thank you.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Can you just add another column that would be a count of the items that are being duplicated. Then you can just add another criteria into your SUMPRODUCT formulas that would check for a one in the "Countif" column.
I'm not sure exactly what your ranges are, as this is a very broad question, but the formula would look something like this:

[B5]=Countif(A$2:A5,A5)

If you drag this formula down column B, it will count the number of instances that the value has occurred at and above the cell.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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