+ Reply to Thread
Results 1 to 5 of 5

Counting One Range with Conditions in Another Range

  1. #1
    Forum Contributor
    Join Date
    02-26-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    286

    Counting One Range with Conditions in Another Range

    I have random "X"s in a column of cells in a range called "Won". I wish to count these if the adjacent cell in another range called "Valu" is greater than a value determined in the cell E3. The result to be entered in Cell G4. Can use Excel formulas or VBA.

    Thanks Sandy
    Last edited by gsandy; 08-17-2009 at 03:08 PM.

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

    Re: Counting One Range with Conditions in Another Range

    Something like

    =Sumproduct(--(Won="X"),--(Valu>E3))
    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
    08-16-2009
    Location
    Fort Smith, AR
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Counting One Range with Conditions in Another Range

    how about something like this formula

    Please Login or Register  to view this content.

    Hope this helps some.

  4. #4
    Registered User
    Join Date
    08-16-2009
    Location
    Fort Smith, AR
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Counting One Range with Conditions in Another Range

    Sorry NBVC, there wasn't a reply when I started.

  5. #5
    Forum Contributor
    Join Date
    02-26-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    286

    Smile Re: Counting One Range with Conditions in Another Range

    Thanks for all the help, works great. I was working on a vba solution, your way was a lot better.
    Thanks again Sandy

+ 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