UNIQUE(FILTER amendement required

ollyhughes1982

Well-known Member
Joined
Nov 27, 2018
Messages
795
Office Version
  1. 365
Platform
  1. MacOS
Hi,

Re the screenshot below, I have a small worksheet that calculates the V-Index for my parkrun volunteering. I have the following formulas in B4 and C4.

V-INDEX.png


B4:
=IFERROR(UNIQUE(FILTER('All Completed VS'!C4:C2003,'All Completed VS'!F4:F2003<>"")),"")

C4:
=IF(B4="","",COUNTIF('All Completed VS'!C:C,B4#))

This previously was thought to be working. However, I now realise that rather than every unique stint (i.e. each row) needing to be included, I should only be including each unique date (day). This is because multiple stints (roles) can be completed on each day.

The values in column C should be:
C4: 1 (I have voluneteered at Newport on 1 unique date)
C5: 2 (I have voluneteered at Newport juniors on 2 unique dates)
C6: 3 (I have voluneteered at Coed Cefn-pwll-du on 3 unique dates)

So, I need to use the same principle as in the original formulas, but for unique dates, rather than each unique row.

I have added some helper columns in AY, BG and BH which I think might help with this? Screenshots of main source spreadsheet, below:

Screenshot 2021-12-15 at 19.22.46.png
Screenshot 2021-12-15 at 19.23.01.png


Thanks in advance,

Olly.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
To simplify. All I really want to do is count how many unique dates upon which I have completed volunteering at each event (venue). i.e. Only count the first line for each date, not the multiple lines. For example, only count 1 stint (day) for 29/08/2021, instead of 3. I think helper column BH should help with this?

Hopefully that explains it better?

Thanks again.
 
Upvote 0
I have now solved this by adding in a new column after BG that identifies the event (venue) that corresponds when there is a '1' in BG. Thanks.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,847
Messages
6,181,324
Members
453,032
Latest member
Pauh

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