+ Reply to Thread
Results 1 to 9 of 9

formula to count word occurrence for every nth cell

  1. #1
    Registered User
    Join Date
    06-03-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    3

    formula to count word occurrence for every nth cell

    I'm looking for help with a excel formula to count the occurrence of a name in every 7th cell in a row.

    I am in charge of tracking the number of specific days (ie, 'Saturday) a group of workers works over a year.

    I would like the formula to be able to say how many specific days a specific worker worked (ie, Mr. Smith worked 5 saturdays in 2011).

    =countif works great for the entire year, but I'd like to break it down by day as well.

    Any help is greatly appreciated. Thank you!

    -jk

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: formula to count word occurrence for every nth cell

    If you make a helpcollumn with the day of the week you can count on that collumn.

    Otherwise post a (short) example of your workbook (without confidential information).

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: formula to count word occurrence for every nth cell

    Something like this:
    Attached Files Attached Files

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: formula to count word occurrence for every nth cell

    Is this workbook similar to your problem?

    Example 1
    In P2
    Please Login or Register  to view this content.
    Drag/Fill Down

    Example 2
    In P15
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Marcol; 06-03-2012 at 04:02 AM. Reason: Added Example 2
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    06-03-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: formula to count word occurrence for every nth cell

    Unfortunately, its set up slightly differently (and can't be easily changed). I've attached a sample (obviously, the column with days of the week isn't necessary).
    Attached Files Attached Files

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: formula to count word occurrence for every nth cell

    Try this
    In F3
    Please Login or Register  to view this content.
    Drag/Fill Down
    In G3
    Please Login or Register  to view this content.
    Drag Across to I3 then Down.
    Attached Files Attached Files
    Last edited by Marcol; 06-03-2012 at 10:47 AM.

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: formula to count word occurrence for every nth cell

    You might find this easier in the long run

    Enter/Change your start date in A3
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    06-03-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: formula to count word occurrence for every nth cell

    Quote Originally Posted by Marcol View Post
    You might find this easier in the long run

    Enter/Change your start date in A3
    This works great--though, I have no idea what a lot of the formula means. Thank you!

  9. #9
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: formula to count word occurrence for every nth cell

    This works great--though, I have no idea what a lot of the formula means. Thank you!
    The point of the foum is to learn from solutions offered, if you don't understand how things work ... Ask, we will help!!!

    Otherwise please mark this thread [SOLVED}

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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