+ Reply to Thread
Results 1 to 11 of 11

Count and Maybe a concatenate?

  1. #1
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Count and Maybe a concatenate?

    Okay, I have a quandary. Each of the people on this sheet can get one of six awards:
    Be Financially Responsible
    Do the Right Thing
    Embrace an Entrepreneurial Spirit
    TEAMWORK
    Value Our Customers
    Value Our Employees

    They can get 1 award, all 6, a combination, and even the same aware multiple times.

    I don't know if this is possible, but I need to figure out a formula that figures out if they have 3 different awards and then labels it 'screaming eagle FY 23', if they have more than 3 awards then for every 3 different awards I need to have the formula indicate it by adding a -1 or a -2 or -3 to the 'screaming eagle' award. So, a person could have the following:

    Screaming Eagle Fall FY23 -1
    Screaming Eagle Fall FY23 -2
    Screaming Eagle Fall FY23 -3

    I've attached a spreadsheet; the formula would be in column C - the awards are in F2:F7.

    I have a duplicate of the rows with what the data should say, starting on row 32

    Is this possible?
    Attached Files Attached Files

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Count and Maybe a concatenate?

    I don't understand it.

    For example Tammy Boddy has 5 different awards, why do he get 3 times "No Change"?

  3. #3
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Re: Count and Maybe a concatenate?

    Sorry if I was unclear. There's probably an easier way to explain it and I'm just having difficulty.

    Tammy has gotten 9 different awards. Many of the awards are exactly the same. In order to get a 'screaming eagle' award you need three different awards. Additionally, you can get more than one screaming eagle, which are collections of three different awards. So she's got 2 screaming eagles (screaming eagle 1 and screaming eagle 2).

    She could have 3, however she got two Value our Customer awards and a Value our employees award. Had she gotten one value our customer award, one value our employees award and a different award, that would qualify for a 3rd screaming eagle award.

    Does that make sense?

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Count and Maybe a concatenate?

    No, sorry, I don't understand it at all, that I don't even know where to start with my questions.

    I'll leave this thread to someone else.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,934

    Re: Count and Maybe a concatenate?

    Are you still using Excel 2021, or have you upgraded to 365?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,934

    Re: Count and Maybe a concatenate?

    Try this in C2 copied down:

    =IF(D2=D1,"No Change",IF(COUNTA(UNIQUE(FILTER($D$2:$D$28,$A$2:$A$28=A2)))>2,"Screaming Eagle Fall FY23-"&LOOKUP(COUNTIF(A$2:A2,A2),{1,4,7,10,13,16,19,22,25,28,31,34,37,40},{1,2,3,4,5,6,7,8,9,10,11,12,13,14}),"No Change"))

    It will get you so far, but I do NOT understand the results for Tammy Bobby based on your description, so you are going to need to explain the criteria in more detail.

    Any way, it'll give you and other helpers a start, hopefully.
    Attached Files Attached Files
    Last edited by AliGW; 09-13-2023 at 02:23 AM.

  7. #7
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Re: Count and Maybe a concatenate?

    Thank you for helping me with this. It seems close. I have upgraded to 365.

    So, I'll try to define things.

    EE's get awards, they can be one of six different categories.
    Be Financially Responsible
    Do the Right Thing
    Embrace an Entrepreneurial Spirit
    TEAMWORK
    Value Our Customers
    Value Our Employees


    To get a 'screaming eagle' you have to have 3 awards comprised of different categories.

    So, a legitimate award would be:
    Do the Right Thing
    Teamwork
    Value our customers

    Those are 3 awards, different categories.

    An illegitimate award would be:

    Value our customers
    Value our customers
    Team work
    (This is invalid because two of the awards are the same, they have to be all different).

    Or

    Do the Right Thing
    Do the Right Thing
    Do the right Thing
    (This is invalid because it's 3 awards, but they're all the same)

    Or

    teamwork
    Embrace an entrepreneurial spirit.
    (this is because it's not even 3 awards)


    Tammy Bobby has 9 total awards. However, she only has enough for 2 screaming eagles because you cannot create 3 combos of 3 different awards.
    Her awards:
    Be Financially Responsible
    Do the Right Thing
    Do the Right Thing
    Do the Right Thing
    Value Our Customers
    Value Our Customers
    Value Our Customers
    Value Our Customers
    Value Our Employees

    Broken down, it should look like this:
    Be Financially Responsible - screaming eagle 1
    Do the Right Thing - screaming eagle 1
    Do the Right Thing - screaming eagle 2
    Do the Right Thing
    Value Our Customers - screaming eagle 1
    Value Our Customers - screaming eagle 2
    Value Our Customers
    Value Our Customers (if this award were any other award, you could combine the 3 bolded for a screaming eagle 3, but since it's the same, it's invalid).
    Value Our Employees - screaming eagle 2



    I'm sorry that it's so complicated, I'm trying to make it make sense. Hopefully, this explains it a bit better.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,934

    Re: Count and Maybe a concatenate?

    Please update your forum profile to 365. It's a bit too much for me to look into right now as I have to go and do some chores. Maybe later!

  9. #9
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Re: Count and Maybe a concatenate?

    Done and thank you!

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Count and Maybe a concatenate?

    Perhaps this will help.
    1. A pivot table is produced from the data in cells A1:D28
    2. The pivot table is sorted descending by value of the count of Award Name
    3. The following formula is placed in columns to the right of the pivot table: =IF(OR($F15="Grand Total",$F15=""),0,MIN($G15-SUM($H15:H15),I$13-SUM(I$14:I14),1))
    4. Each column is summed using: =SUM(I15:I20)
    5. In cell I12 the number of Screaming Eagles awarded is calculated using: =COUNTIFS(I22:P22,3)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  11. #11
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Re: Count and Maybe a concatenate?

    That's interesting JeteMc and I think I'll keep that in mind for later. I don't think it's quite what I'm looking for at the moment, but thank you. I was looking for something I could plop into column C, that would determine the screaming eagle for the ee.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Concatenate and Count Values in Loop Function
    By rjj920 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2020, 02:41 PM
  2. count of two criteria and concatenate them in cell
    By aripori in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-20-2015, 02:58 AM
  3. Adding a count to concatenate range function
    By mbus in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-12-2013, 11:18 PM
  4. Using a concatenate formula to count unique values
    By braydon16 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2011, 03:10 PM
  5. Conditional Concatenate a la Count Ifs
    By Rigano in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-13-2010, 12:35 PM
  6. Concatenate Cells and Count Characters
    By Jetheat in forum Excel General
    Replies: 8
    Last Post: 03-29-2010, 11:23 AM
  7. Concatenate rows and count them
    By dank4000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2008, 08:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1