+ Reply to Thread
Results 1 to 3 of 3

Increment a counter by 1 for every 4 cells the same.

  1. #1
    Registered User
    Join Date
    10-22-2012
    Location
    Halifax,NS
    MS-Off Ver
    Excel 2010
    Posts
    7

    Increment a counter by 1 for every 4 cells the same.

    Within a range of cells, I want to be able to increment a counter by 1 for every 4 cells the same. 8 cells the same counter = 2, 12 cells the same counter = 3 and so on. Only if the like cell total is divisible by 4 should the counter increment.

    In my range of cells, N17:DX17, I want to be able to increment my counter by 1 in D17 for every 4 "V" up to a maximum of 4. I only want my counter in D17 to show 0,1,2,3 or 4 regardles of how many "V" are in my range.
    2 "V" counter shows 0.
    4 "V" counter shows 1.
    6 "V" counter shows 1.
    8 "V" counter shows 2.
    19 "V" counter shows 4.

    I hope I am clear with my request.

    I'm sure the solution is simple.
    Last edited by sravilob; 09-05-2013 at 08:56 AM. Reason: Changing Title

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,416

    Re: I'm sure the solution is simple

    Quote Originally Posted by sravilob View Post
    Within a range of cells, I want to be able to increment a counter by 1 for every 4 cells the same. 8 cells the same counter = 2, 12 cells the same counter = 3 and so on. Only if the like cell total is divisible by 4 should the counter increment.

    I hope I am clear with my request.

    I'm sure the solution is simple.
    I've quoted your whole post as only the last two sentences are visible to me and they don't make any sense on their own.

    Yes it is possible to increment every 4 cells, but I think you need to give some more detail of exactly what you want to achieve. It also helps to post a sample workbook (NOT a picture), with a Before and AFTER sheet showing what you want to do.

    Pete

  3. #3
    Registered User
    Join Date
    10-22-2012
    Location
    Halifax,NS
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: I'm sure the solution is simple

    Quote Originally Posted by Pete_UK View Post
    I've quoted your whole post as only the last two sentences are visible to me and they don't make any sense on their own.

    Yes it is possible to increment every 4 cells, but I think you need to give some more detail of exactly what you want to achieve. It also helps to post a sample workbook (NOT a picture), with a Before and AFTER sheet showing what you want to do.

    Pete
    In my range of cells, N17:DX17, I want to be able to increment my counter by 1 in D17 for every 4 "V" up to a maximum of 4. I only want my counter in D17 to show 0,1,2,3 or 4 regardles of how many "V" are in my range.
    2 "V" counter shows 0.
    4 "V" counter shows 1.
    6 "V" counter shows 1.
    8 "V" counter shows 2.
    19 "V" counter shows 4.

+ 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. Replies: 1
    Last Post: 11-12-2012, 01:52 PM
  2. need help, simple solution...
    By stewart08 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2010, 09:12 AM
  3. [SOLVED] !!!!!!PLEASE HELP ME!!!!!! I'm sure it's a simple solution...
    By Bonnie in forum Excel General
    Replies: 5
    Last Post: 01-20-2006, 05:55 PM
  4. [SOLVED] Is there a simple solution?
    By Bobby in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-11-2006, 03:40 PM
  5. Simple solution?
    By Josiah in forum Excel General
    Replies: 1
    Last Post: 05-04-2005, 04:39 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