+ Reply to Thread
Results 1 to 7 of 7

Counting text occurrences by week

  1. #1
    Registered User
    Join Date
    09-27-2010
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    4

    Counting text occurrences by week

    Hello,
    I am trying to compare the amount of "OPEN" slots there are in a given week with the amount of items that need to be worked on.
    The way I've approaching this so far, with no success, is to assign a given date a week number (using weeknum function). Then tried the countif and sumproduct functions to see how many times the text "OPEN" is associated(in same row) with that week number. Then later compare the number of entry's (in the queue column) with the same week number. So count the number of times OPEN occurs in a given week and compare that with the number of samples created in a given week.

    So column A is a chronologic date, column B is a text column containing the text "OPEN" (or some other text) indicating if a sample can be tested in morning on that day. Column C is the same text column indicating if an "OPEN" slot exist on that date in the afternoon on that day. Column D is the date the sample enters the queue and Column E is the sample identifier. I'm trying to see if the number of "OPEN" slots is smaller than the number of samples entering the queue for a given week.
    I know my way around a few basic formulas in excel but haven't been able to figure this out. I hope I have explained myself enough for you to help me.
    Thanks in advance
    Attached Files Attached Files
    Last edited by KFitz; 09-28-2010 at 08:55 AM. Reason: clarification of problem description and title

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

    Re: Count text in same week

    can you upload example?

  3. #3
    Registered User
    Join Date
    09-27-2010
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Count text in same week

    I added an attachment example. I was hoping to create a basic capacity planning tool. So that when more samples are submitted (or are going to be submitted) in a given week than there are slots OPEN then action is taken

  4. #4
    Registered User
    Join Date
    09-27-2010
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2002,2007 german
    Posts
    12

    Re: Counting text occurrences by week

    How about this?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-27-2010
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Counting text occurrences by week

    That might do the trick thank you, Frank S. Unfortunately some of its in german and I don't know much german. do you know of a way to convert the text to english? Its not all of the text just some of it.

  6. #6
    Registered User
    Join Date
    09-27-2010
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Counting text occurrences by week

    Actually I think I can figure out the translation but don't know how you were able to automatically insert a row where the week ended. that seems to be were you sum up the open slots per week. But often the rows for the incoming won't always be the same week as the lab processing date. so you will sum up open slots over 2-3 different weeks vice versa. I apperciate the attempt and I might be able to use the idea. thanks
    Kris
    Last edited by KFitz; 09-29-2010 at 02:50 PM.

  7. #7
    Registered User
    Join Date
    09-27-2010
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2002,2007 german
    Posts
    12

    Re: Counting text occurrences by week

    Use the function "partial result" in menu "data" to make groups and insert rows automaticaly.

+ 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