Hi all,
Sample data attached with expected results in columns highlighted in yellow. I require 4 formulas as follows (Hope I have described the logic correctly):
Formula 1 - Unique count of Active Serial Numbers belonging to an ID
Unique count of Col A (serial numbers) belonging to a unique ID in Col D where Col L = Yes
Formula 2 - Unique Count of active serial numbers that are expiring within 90 days.
Unique count of Col A (serial numbers) belonging to a unique ID in Col D where Col L = Yes and Expiry date (Col K) is within 90+NOW()
Formula 3 - Check IF serial number with latest issue date is Valid.
For each unique ID (Col D), If Col L = Yes for the serial number (Col A) with the latest issue date (Col J) return word "Valid"
Formula 4 - Check latest expiry date for serial numbers belonging to unique ID
For each unique ID (Col D), If Col C = "Issued" "Renewed" or "Repair" for the serial number (Col A), check:
If LATEST expiry date (Col K) is within 90+NOW() then return Value "90 Days" or if it is within 30+NOW() then return "30 Days"
If LATEST expiry date (Col K) is greater than 90+Now() then return value "Valid"
If LATEST expiry date (Col K) is less than NOW() then return value "Expired"
Bookmarks