+ Reply to Thread
Results 1 to 7 of 7

Help! Formula for COUNT & IF Function

  1. #1
    Registered User
    Join Date
    12-03-2012
    Location
    Mississauga, Onatrio
    MS-Off Ver
    Excel 2003
    Posts
    8

    Exclamation Help! Formula for COUNT & IF Function

    I've been playing with some formulas but haven't had any luck getting the answer I need.

    I have one Tab in the worksheet to display a running total for 6 other vendor Tabs.

    I need a formula to count the number of cells that meet the following criteria. If the Time in Transit for a shipment is equal to or greater than 5 days then look into another column to confirm it reads "push out" and if so then count as 1.

    So far I've done this: =SUM(COUNTIF(Compal!AC:AC,"<=4")+COUNT(IF(Compal!AC:AC>=5,)*AND(Compal!AG:AG="push out")))

    And a several other attempts with IF,AND and SUM. Any help would be appriciated. Thank you.

    **Also side question. I know adding to this workbook with data will slow down loading times due to Excel making calculations, is there any other ways or competencies I can use to keep this workbook running efficiently?

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Help! Formula for COUNT & IF Function

    Try this:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    12-03-2012
    Location
    Mississauga, Onatrio
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Help! Formula for COUNT & IF Function

    I would still need the first half of the forumla to count the number of cells equal to or less than 4 days in transit.

    How would you incorporate that half into the SUMPRODUCT formula you just showed me?

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Help! Formula for COUNT & IF Function

    How about:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-03-2012
    Location
    Mississauga, Onatrio
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Help! Formula for COUNT & IF Function

    Thanks for the quick replys but I'm getting the #NUM! error. When I click on show calculation steps, the only working part of the formula is the first half (countif)

  6. #6
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Help! Formula for COUNT & IF Function

    Sorry,

    The ranges can't be just column references. Try:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    12-03-2012
    Location
    Mississauga, Onatrio
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Help! Formula for COUNT & IF Function

    OMG thank you so much!! This formula has been making my head hurt from Friday. SUMPRODUCT FTW!

+ 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