Extract not ignoring duplicates - Why?

BenElliott

Board Regular
Joined
Jul 19, 2012
Messages
144
I'm still working on my several tables for Speakers giving several talks in multiple locations. Some speakers are marked as "Good" and some as "Moderate" in a table column named "Status"
Location is given in cell F1 and Status in cell F2. The count is in cell F3. the folumula for extracting the talk numbers given at a specific location with the speaker rating is as follows:
=IF(ROWS($E$5:E5)>$F$3,"",INDEX(SpeakersTalks[Talk Number],AGGREGATE(15,6,(ROW(SpeakersTalks[Talk Number])-ROW($A$2)+1)/((SpeakersTalks[Location]=$F$1)*(SpeakersTalks[Status]=$F$2)),ROWS(F$5:F5))))

By the way, my count in cell F3 is: {=SUM(--(FREQUENCY(IF((SpeakersTalks[location]=$F$1)*(SpeakersTalks[Status]=$F$2),MATCH(SpeakersTalks[Talk Number],SpeakersTalks[Talk Number],0)),ROW(SpeakersTalks[Talk Number])-ROW($A$2)+1)>0))}

My problem is that several speakers give the same talk number at the same location. I want these duplicates to be ignored but can't see how to ignore them. Any pointers to where I'm going wrong would be appreciated.

Many thanks,

Ben
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Try this array formula in E5 copied down

=IF(ROWS($E$5:E5)>$F$3,"",INDEX(SpeakersTalks[Talk Number],AGGREGATE(15,6,(ROW(SpeakersTalks[Talk Number])-ROW($A$2)+1)/((SpeakersTalks[Location]=$F$1)*(SpeakersTalks[Status]=$F$2)*ISNA(MATCH(SpeakersTalks[Talk Number],E$4:E4,0))),1)))
Ctrl+Shift+Enter

Hope this helps

M.
 
Upvote 0
Control+shift+enter, not just enter, and copy down:

=IF(ROWS($1:1)>$F$3,"",INDEX(SpeakersTalks[Talk Number],SMALL(IF(FREQUENCY(IF((SpeakersTalks[location]=$F$1)*(SpeakersTalks[Status]=$F$2),MATCH(SpeakersTalks[Talk Number],SpeakersTalks[Talk Number],0)),ROW(SpeakersTalks[Talk Number])-ROW(INDEX(SpeakersTalks[Talk Number],1,1))+1),ROW(SpeakersTalks[Talk Number])-ROW(INDEX(SpeakersTalks[Talk Number],1,1))+1))),ROWS($1:1)))
 
Last edited:
Upvote 0
Both versions worked well and it's helped me to see how to adapt the solutions to various applications.

Again, thanks to you both.

Ben
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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