+ Reply to Thread
Results 1 to 8 of 8

whats the longest sequence of unique's in a row between d10:d5003

  1. #1
    Registered User
    Join Date
    08-27-2015
    Location
    Schoorl, The Netherlands
    MS-Off Ver
    2021
    Posts
    67

    whats the longest sequence of unique's in a row between d10:d5003

    Hi,

    I have two more questions.

    1. I would like cell E15 to say Cool when the d4 until d15 are unique

    And I have another question if that is allowed here inside one thread. I would like
    to know inside I3 whats the longest sequence of unique's in a row between d10:d5003

    I hope someone can help. Sorry for my questions but I am still learning step by step.

    Thanks a bunch.
    Attached Files Attached Files
    Last edited by Seafreight Discounte; 10-27-2020 at 06:51 AM.

  2. #2
    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,719

    Re: Change Cell if certain criteria has been met

    Please update the thread title, which does not match what you seem to be asking for. Use this instead: "whats the longest sequence of unique's in a row between d10:d5003"

    1. Use this:

    =IF(COUNT(E4:E10)-SUMPRODUCT(1/COUNTIF(E4:E10;E4:E10))>0;"Not Cool";"Cool")
    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.

  3. #3
    Registered User
    Join Date
    08-27-2015
    Location
    Schoorl, The Netherlands
    MS-Off Ver
    2021
    Posts
    67

    Re: Change Cell if certain criteria has been met

    Sorry. added the wrong sheet. This is the correct one.
    Attached Files Attached Files

  4. #4
    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,719

    Re: whats the longest sequence of unique's in a row between d10:d5003

    Try this:

    =MAX(FREQUENCY(IF(D:D="Unique";B:B);IF(D:D="Unique";0;B:B)))

    entered as an array formula.

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-27-2015
    Location
    Schoorl, The Netherlands
    MS-Off Ver
    2021
    Posts
    67

    Re: whats the longest sequence of unique's in a row between d10:d5003

    Thanks. Would you care adding it into my sheet since it doesn't work on my end how it should. The first formula is in english so
    my software doesn't accept it.

    And the second one makes my excell load very slow. Is this because it's a large row?

  6. #6
    Registered User
    Join Date
    08-27-2015
    Location
    Schoorl, The Netherlands
    MS-Off Ver
    2021
    Posts
    67

    Re: whats the longest sequence of unique's in a row between d10:d5003

    It's not working how it should. You know what, can you add the formale to E21. That way it will skip the empty cells d4 to d9 so don't get errors.

    Thanks
    Attached Files Attached Files

  7. #7
    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,719

    Re: whats the longest sequence of unique's in a row between d10:d5003

    No - you need to learn to do the adapting for yourself. I have already provided you with a workbook.

  8. #8
    Registered User
    Join Date
    08-27-2015
    Location
    Schoorl, The Netherlands
    MS-Off Ver
    2021
    Posts
    67

    Re: whats the longest sequence of unique's in a row between d10:d5003

    Thanks for your help.

+ 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] Cell to change color if the criteria is met in based on the value of another cell.
    By srgtennis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2018, 12:11 PM
  2. Replies: 8
    Last Post: 07-26-2017, 07:53 PM
  3. Change cell colour if criteria is met
    By Rutz in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-21-2015, 05:47 AM
  4. [SOLVED] VBA Change Cell Value If Criteria Met
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-25-2014, 12:39 PM
  5. [SOLVED] macro required to change value in cell if criteria is met
    By leeroyrooney in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-06-2013, 09:20 PM
  6. Change text in cell based on criteria within that same cell.
    By ds84 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2008, 04:19 PM
  7. Replies: 3
    Last Post: 12-30-2005, 10:55 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