+ Reply to Thread
Results 1 to 21 of 21

Identify by cell colour when 36 "1's have been counted in a column

  1. #1
    Registered User
    Join Date
    07-15-2021
    Location
    Perth, Western Australia
    MS-Off Ver
    MS365
    Posts
    6

    Identify by cell colour when 36 "1's have been counted in a column

    In excel column B and from B6 is either a 1 or 0 entered. In Column C and from C6 I want to highlight cells at intervals of 36. e.g. C41, C77 etc based on the number of times 36 is summed from B6
    Attached Files Attached Files
    Last edited by PeterThomas; 07-15-2021 at 02:01 AM. Reason: add attachment

  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,410

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    Please update your profile to MS365. Thanks.
    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
    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,410

    Re: Identify by cell colour when 36 "1's have been counted in a column

    There is no attachment, despite your post edit. Please try again.

  4. #4
    Registered User
    Join Date
    07-15-2021
    Location
    Perth, Western Australia
    MS-Off Ver
    MS365
    Posts
    6

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Thanks, still finding my way around

  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,410

    Re: Identify by cell colour when 36 "1's have been counted in a column

    No worries.

    Unfortunately, you have not mocked up in the workbook what you want to see. Can you please add the formatting you want to achieve manually and then we can give you a possible solution.

  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,410

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Maybe this is what you want?

    CF rule for B6:

    =MOD(SUM(B$6:B6),36)=0
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Hi,
    In addition of Ali's solution, in C6:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    ,
    in C5 :
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  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,410

    Re: Identify by cell colour when 36 "1's have been counted in a column

    WHY, Diana???

    There is no need for visible helper columns. I don't see where the OP has asked for this ... Did I miss something?

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Row 77 sum is 70 not 72.
    Formula for CF.
    Select C6:C81

    =MOD(SUM($B$6:$B6),36)=0

    select color for formatting.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  10. #10
    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,410

    Re: Identify by cell colour when 36 "1's have been counted in a column

    I offered that solution back in post #6!!!

  11. #11
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Ok. I did not observed it.

  12. #12
    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,410

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Actually, your slight adaptation does meet the brief more accurately.

  13. #13
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Quote Originally Posted by AliGW View Post
    WHY, Diana???

    There is no need for visible helper columns. I don't see where the OP has asked for this ... Did I miss something?
    Sorry, Ali, my English is not perfect, I think I misunderstood looking at the data in the file.

  14. #14
    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,410

    Re: Identify by cell colour when 36 "1's have been counted in a column

    OK - thanks for clarifying!

  15. #15
    Registered User
    Join Date
    07-15-2021
    Location
    Perth, Western Australia
    MS-Off Ver
    MS365
    Posts
    6

    Re: Identify by cell colour when 36 "1's have been counted in a column

    @kvsrnivasamurthy

    Hi and thank you very much. I can see your worksheet looks like the formula I was after however I was not able to see the formula array formula?
    Last edited by AliGW; 07-15-2021 at 10:52 AM.

  16. #16
    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,410

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Peter - whom are you addressing???

  17. #17
    Registered User
    Join Date
    07-15-2021
    Location
    Perth, Western Australia
    MS-Off Ver
    MS365
    Posts
    6

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Sorry, kvsrnivasamurthy

  18. #18
    Registered User
    Join Date
    07-15-2021
    Location
    Perth, Western Australia
    MS-Off Ver
    MS365
    Posts
    6

    Re: Identify by cell colour when 36 "1's have been counted in a column

    kvsrnivasamurthy

    Hi and thank you very much kvsrnivasamurthy. I can see your worksheet looks like the formula I was after however I was not able to see the formula array formula?
    What I mean is, when I enter the formula in C6 it displays FALSE, I then handle down the column and FALSE or TRUE displays. I then conditionally format the colour to highlight when TRUE which gives me the result I want however I did not want to see FALSE or TRUE displaying. I would prefer only the colour highlight on the cells at 36 intervals. Can this be achieved by adding the the formula you have done? That is, C6:C81 would display only coloured cells, the same as the sample you provided me. I am unable to see your formula in the sample returned to me. Thanks for your patience and understanding

  19. #19
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Pl do not enter the formula in the cell. Pl see file.

    Select C6:C81
    Home --> Conditional formatting --> New rule
    click->Use a formula to determine which cells to format
    Enter the formula
    =MOD(SUM($B$6:$B6),36)=0
    click ->Format
    Fill --> choose color --> Ok --> Ok
    This completes CF.
    IF Sum B6:B44 is 36 then C44 will be highlighted.
    Similarly when the sum is multiple of 36 (36,72,108.....) correspondi cell in Column C will be highlighted.

  20. #20
    Registered User
    Join Date
    07-15-2021
    Location
    Perth, Western Australia
    MS-Off Ver
    MS365
    Posts
    6

    Re: Identify by cell colour when 36 "1's have been counted in a column

    kvsrinivasamurthy, Got it. Many thanks for your help.

  21. #21
    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,410

    Re: Identify by cell colour when 36 "1's have been counted in a column

    Thank you for marking the thread as solved.

    You may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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] Pivot Table "Blank" being counted
    By shuddle in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-26-2021, 11:32 AM
  2. [SOLVED] Conditional Formatting HELP to identify specific text, change cell colour & remove date.
    By Redders21 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-25-2020, 12:15 PM
  3. [SOLVED] Identify specific numeric values in a cell such as "1" without counting "11" as two "1"s
    By MHanna39 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-03-2019, 01:35 PM
  4. Replies: 1
    Last Post: 10-19-2016, 07:52 PM
  5. Replies: 2
    Last Post: 05-09-2016, 04:05 PM
  6. [SOLVED] How to identify cell colour
    By nsv in forum Excel General
    Replies: 5
    Last Post: 06-25-2014, 11:53 AM
  7. Replies: 10
    Last Post: 09-27-2010, 11:58 AM

Tags for this Thread

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