+ Reply to Thread
Results 1 to 9 of 9

Hello =) Need a wee bit of advice on Countif/filtering

  1. #1
    Registered User
    Join Date
    12-16-2013
    Location
    Tokyo
    MS-Off Ver
    Excel 2007
    Posts
    42

    Hello =) Need a wee bit of advice on Countif/filtering

    Hi All! I need a little help in a countif situation =)
    I've tried to use countif but I keep stuffing it up =/

    PROBLEM 1

    I have attached a file called Excel problem 1.

    We have a roster (sheet1 in the attachment) where we are trying to find a way to count the cells highlighted in red in a column that have the same code name in them. Note there are 3 places that have been numbered.

    For example, on any particular day we need a certain amount of people to be in certain groups (the red cells). These groups are P10,P22 AND P31 which are highlighted in red next to each employees name.

    e.g.

    - P31 needs at least 2 people
    - p10 needs at least 3 people
    - p22 needs at least 1 person
    -p50 needs at least 2 people
    - C needs at least 3 people

    So it would be great to see how many people there are in each Red group each day. The roster is usually alot bigger but i have shrunk it down.

    I have created a desired outcome TAB to show sort of what I was hoping to achieve.


    SECOND SCENARIO.

    I have attached a second attachment called excel problem 2

    Mostly the same as the first problem but with a twist if possible.
    If these Places (place 1 place 2 and place 3) were to be separated into seperate tags. would it still be easy to withdraw this information ?



    Thanks so much guys! if you have any suggestions that would be amazing. I love excel and keen to learn more =)
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Hello =) Need a wee bit of advice on Countif/filtering

    For the first question try this in C5 and fill across.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Make adjustments to the INDEX range, date reference row and group reference row for each of the other two sections.
    Dave

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Hello =) Need a wee bit of advice on Countif/filtering

    For the second workbook it is the same formula, but make adjustments for sheet names. The first formula is.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    12-16-2013
    Location
    Tokyo
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Hello =) Need a wee bit of advice on Countif/filtering

    Hi Flameretired,

    Thanks so much for your advice! hilariously my work computer completely died and I have to wait for a new one before I can finally implement your recommendations but should have the new computer on Monday and will let you know how I go =)

  5. #5
    Registered User
    Join Date
    12-16-2013
    Location
    Tokyo
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Hello =) Need a wee bit of advice on Countif/filtering

    Hi Flameretired,

    Thanks so much for your advice! hilariously my work computer completely died and I have to wait for a new one before I can finally implement your recommendations but should have the new computer on Monday and will let you know how I go =)

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Hello =) Need a wee bit of advice on Countif/filtering

    Hope all goes well. Thanks for the feedback and the rep.

  7. #7
    Registered User
    Join Date
    12-16-2013
    Location
    Tokyo
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Hello =) Need a wee bit of advice on Countif/filtering

    Hi Flame! it works PERFECTLY =) thanks so much.

    Just a quick question since theres a small detail I failed to mention, the groups (e.g. p10, p22) arent limited to the "place one", "Place two", "place three". These just mean the locations that staff are based in but any staff from any "place" can be on any team. e.g. a p10 group might have 1 staff member from each "place". Do i just tack on the 3 excel ranges one after the other somehow? I had a go but it didnt accept it haha. This question is for both scenarios (excel problem 1 and 2)

    thanks in advance~!

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Hello =) Need a wee bit of advice on Countif/filtering

    Yes. You'll just need to manually adjust the ranges so they have the same number of rows (or more) as number of staff in each group.

  9. #9
    Registered User
    Join Date
    12-16-2013
    Location
    Tokyo
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Hello =) Need a wee bit of advice on Countif/filtering

    thanks flame =) i'll keep trying. good to know its possible


    Cheers!

+ 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. using countif on columns after filtering
    By daveyc18 in forum Excel General
    Replies: 2
    Last Post: 11-04-2014, 02:18 PM
  2. VBA code advice/Excel advice for summing groups of numbers
    By paulblower in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2014, 05:47 AM
  3. [SOLVED] Combining COUNTIF function and filtering
    By NewbyUK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-13-2013, 07:39 AM
  4. General Advice (Filtering & Sorting)
    By demonfly100 in forum Excel General
    Replies: 0
    Last Post: 01-29-2013, 05:20 AM
  5. [SOLVED] CountIf Function - Multiple Sheets - First, Last Name - Formula Advice
    By JerLon in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-13-2012, 12:41 PM
  6. [SOLVED] Using Countif after filtering data.
    By rbion in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-07-2012, 04:27 PM
  7. [SOLVED] Auto filtering & COUNTIF
    By Justin Sadowski in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-20-2005, 06:06 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