Finding Unique Values Based on Dates

zalik22

Board Regular
Joined
Dec 14, 2010
Messages
111
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have some data, column A is text terms, and column F is 52 week ending dates. Is there a way to show only the unique values in column G? For example, if G1 is 1/8/24, G2 and below would only show the column A terms that are in 1/8/24 week ending but not in 1/1/24 week ending (i.e. new terms)?

Thanks!
 
My take on this
Excel Formula:
=FILTER(A2:A100,(F2:F100=G1)*(COUNTIFS(F:F,"<"&G1,A:A,A2:A100)=0))
Hi, I put 1/8/24 in G1 and it appears to work for 2 weeks worth of data.

I added week ending 1/15/24 data and there was a term that was not in 1/8/24 but in 1/1/24 so it's not showing up. I would like the term to show up since it was not in the previous week but there 2 weeks ago.

Is there a way to modify the formula to just compare to the previous week instead of all previous weeks?
 
Upvote 0

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Ok, how about
Excel Formula:
=FILTER(A2:A100,(F2:F100=G1)*(COUNTIFS(F:F,G1-7,A:A,A2:A100)=0))
 
Upvote 1
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,123
Messages
6,123,183
Members
449,090
Latest member
bes000

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