+ Reply to Thread
Results 1 to 10 of 10

Need formula for counting

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    12

    Need formula for counting

    Hi All,

    Need some help. (obviously )

    I have a spreadsheet with a service level column (starting at F13). We are putting a "1" in the service level columns to indicate service level (1, 2 & 2). In column W there is a provider name. At the top of the spreadsheet I would like to count the number of referrals by service level by provider.

    Attached is the workbook.
    Attached Files Attached Files
    Last edited by sstravs; 09-25-2012 at 11:37 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: COUNTIF & VLOOKUP Formula Needed (or SUMIF?)

    Hi to you.

    First you have to change your title, according to the forum rules.

    Then it would be better for all, to upload a small sample workbook.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: COUNTIF & VLOOKUP Formula Needed (or SUMIF?)

    Thanks Fotis! Hopefully the title is better? I also attached the workbook.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Need formula for counting

    try playing around with the countifS() function, and see if that gives you what you need?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    07-11-2012
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Need formula for counting

    I did and I couldn't get it to work. I need it to only count those cells with a "1" when the W column lists the correct provider.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: COUNTIF & VLOOKUP Formula Needed (or SUMIF?)

    Quote Originally Posted by sstravs View Post
    Thanks Fotis! Hopefully the title is better? I also attached the workbook.
    Title is better but you need to do this in your first post! So next time you'll know it!

    Your sample sheet has no data... So i quess that you need something like this. Try.

    =COUNTIFS(F:F,1,W:W,B3)

  7. #7
    Registered User
    Join Date
    07-11-2012
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: COUNTIF & VLOOKUP Formula Needed (or SUMIF?)

    Hi Fotis,

    Thank you. I tried your suggestion but received an error message that said "You've entered too many arguments for this function".

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Need formula for counting

    Looks strange to me

    Take a look to the example
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    07-11-2012
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Need formula for counting

    Oh! I was over complicating it. I thought when you put =COUNTIFS(F:F,1,W:W,B3) you were implying I should put the range of F and W to be searched. THANK YOU!

  10. #10
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Need formula for counting

    You are welcome!

    Thanks for the reb*

+ 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