+ Reply to Thread
Results 1 to 3 of 3

Countif with multiple ifs

  1. #1
    Registered User
    Join Date
    07-24-2010
    Location
    Magnolia, TX
    MS-Off Ver
    Office 365
    Posts
    10

    Countif with multiple ifs

    I have the formulae =COUNTIF($F$2:F2,F2),"") to count the first, second, third and so on in a column based on one condition. How can I add another condition and still get the first, second occurance of the column? I have tried countifs but get the #value error.
    Thanks,
    Lee

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Countif with multiple ifs

    Not exactly sure what you mean ... if =COUNTIF($F$2:F2,F2) works, then COUNTIFS should get multiple conditions

    E.g.

    =COUNTIFS($F$2:F2,F2,$G$2:G2,G2)

    You may need to elaborate with samples, etc if that isn't what you meant.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-24-2010
    Location
    Magnolia, TX
    MS-Off Ver
    Office 365
    Posts
    10

    Re: Countif with multiple ifs

    Yes, this will work fine. I just realized I need to add a column and it will make things much easier on writing the next level of formula in another workbook.
    Thanks,
    Lee

+ 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