+ Reply to Thread
Results 1 to 4 of 4

Formula/array to count # of times col. A is Greater than col. B if they're in County "X...

  1. #1
    Registered User
    Join Date
    11-11-2014
    Location
    Atlanta, GA
    MS-Off Ver
    MS Office 2013
    Posts
    37

    Formula/array to count # of times col. A is Greater than col. B if they're in County "X...

    Here is the deal. I have a spreadsheet with columns A-N.

    Column E is the County.
    Column L is the Rep.
    Column P is Estimated $.
    Column Q is Actual $.

    I need a formula that will count how many times column P is greater than column Q if column E is "X" and column L is "Y".

    Thanks for the help guys.

    Stan

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formula/array to count # of times col. A is Greater than col. B if they're in County "

    Try

    =SUMPRODUCT(--(P2:P100>Q2:Q100),--(E2:E100="x"),--(L2:L100="Y"))

  3. #3
    Registered User
    Join Date
    11-11-2014
    Location
    Atlanta, GA
    MS-Off Ver
    MS Office 2013
    Posts
    37

    Re: Formula/array to count # of times col. A is Greater than col. B if they're in County "

    Brother! Ya nailed it!

    Thanks for the help.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formula/array to count # of times col. A is Greater than col. B if they're in County "

    You're welcome.

+ 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. [SOLVED] Cell Formula to count time with "Greater Than or Equal to" and "Less Than"
    By chriswhite1982 in forum Excel General
    Replies: 3
    Last Post: 06-16-2013, 12:30 AM
  2. Replies: 5
    Last Post: 07-05-2012, 04:04 PM
  3. Replies: 8
    Last Post: 07-05-2012, 03:07 PM
  4. Replies: 7
    Last Post: 07-08-2011, 10:16 AM
  5. [SOLVED] Can an Array formula count unique values and report no. of times for each?
    By Father Guido in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2005, 02:06 AM

Tags for this Thread

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