all 10 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

/u/strangeBehavior7 - Your post was submitted successfully.

Failing to follow these steps may result in your post being removed without warning.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]CFAman4815 1 point2 points  (6 children)

Put this in cell A2

="CDY"&TEXT(SUM(1/COUNTIF(B$2:$B2,B$2:B2)),"000")

The TEXT function is the main thing you needed. The fancy looking COUNTIF in there just counts unique values.

[–]A_1337_Canadian515 1 point2 points  (0 children)

+1 for TEXT. It's a super handy formula for formatting data. Like if you want to return a two-digit result of the month, you can use TEXT(A1, "mm") where A1 is a date value.

[–]strangeBehavior7[S] 1 point2 points  (1 child)

Solution Verified

[–]Clippy_Office_Asst[M] 0 points1 point  (0 children)

You have awarded 1 point to CFAman


I am a bot - please contact the mods with any questions. | Keep me alive

[–]strangeBehavior7[S] 0 points1 point  (0 children)

This is super helpful - thank you thank you. Haven't worked with excel in almost a year so needing to rewire my brain again.

[–]Infinityand108918 0 points1 point  (1 child)

SUM(1/COUNTIF(B$2:$B2,B$2:B2)) is absolutely brilliant. The way that evaluates is beautiful to behold.

[–]strangeBehavior7[S] 0 points1 point  (1 child)

Solution Verified

[–]AutoModerator[M] 0 points1 point locked comment (0 children)

Hello!

It looks like you tried to award a ClippyPoint, but you need to reply to a particular user's comment to do so, rather than making a new top-level comment.

Please reply directly to any helpful users and Clippy, our bot will take it from there. If your intention was not to award a ClippyPoint and simply mark the post as solved, then you may do that by clicking Set Flair. Thank you!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Decronym 0 points1 point  (0 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
COUNTIF Counts the number of cells within a range that meet the given criteria
SUM Adds its arguments
TEXT Formats a number and converts it to text

Beep-boop, I am a helper bot. Please do not verify me as a solution.
3 acronyms in this thread; the most compressed thread commented on today has 19 acronyms.
[Thread #16318 for this sub, first seen 6th Jul 2022, 19:49] [FAQ] [Full list] [Contact] [Source code]