+ Reply to Thread
Results 1 to 4 of 4

> 180

  1. #1
    Registered User
    Join Date
    06-13-2009
    Location
    VA Beach, VA
    MS-Off Ver
    Excel 2003/Excel 2007
    Posts
    5

    Post > 180

    I need to create a formula that does the following:

    If A2:A3000="DA01 AND G2:G3000=2 AND I2:I3000>180 then count the number of spaces where A2:A3000="DA01 AND G2:G3000=2 AND I2:I3000>180 other wise leave it blank.

  2. #2
    Registered User
    Join Date
    06-13-2009
    Location
    VA Beach, VA
    MS-Off Ver
    Excel 2003/Excel 2007
    Posts
    5

    Re: > 180

    Disreguard--I figured it out. This is what I am using:

    =SUMPRODUCT(--(CSMP!A2:CSMP!A3000="DA01"),--(CSMP!G2:CSMP!G3000=2),--(CSMP!I2:CSMP!I3000>180))

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: > 180

    Thanks for posting your solution.

    If you intend to use this formula exclusively in XL2007 you can in fact use the new COUNTIFS function:

    =COUNTIFS(CSMP!A2:CSMP!A3000,"DA01",CSMP!G2:CSMP!G3000,2,CSMP!I2:CSMP!I3000,">180")

    this function is more efficient than SUMPRODUCT but unlike SUMPRODUCT is not backwards compatible with XL version pre XL2007.

  4. #4
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: > 180

    Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit. And please never edit a thread in which someone else has responded.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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