+ Reply to Thread
Results 1 to 6 of 6

equal to and greater than

  1. #1
    Registered User
    Join Date
    12-07-2004
    Posts
    18

    equal to and greater than

    HI

    This is possibly fairly simple but I just cannot see what it is I need.

    In this formula

    =SUMPRODUCT(--(D7:N7 <5.1),--(D7:N7>0))

    I want the D7:N7 to be >&= to 0. What I also want to make sure is that it doesn't pick up blanks!


    Any ideas?


    Thanks so much

    Saz
    Last edited by oldchippy; 10-24-2008 at 01:02 PM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Thumbs up

    Quote Originally Posted by Saz
    HI

    This is possibly fairly simple but I just cannot see what it is I need.

    In this formula

    =SUMPRODUCT(--(D7:N7 <5.1),--(D7:N7>0))

    I want the D7:N7 to be >&= to 0. What I also want to make sure is that it doesn't pick up blanks!


    Any ideas?


    Thanks so much

    Saz
    Hi Saz,

    How about using this formula

    =COUNTIF(D7:N7,">=0")-COUNTIF(D7:N7,">5.1")

    Does this sort your problem?

    oldchippy

  3. #3
    Registered User
    Join Date
    12-07-2004
    Posts
    18

    Sorry no

    Sorry no it still doesn't pick up the 0's

    Any more thoughts?

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Question

    Quote Originally Posted by Saz
    Sorry no it still doesn't pick up the 0's

    Any more thoughts?
    Are you sure, because mine does, this includes 0's but not blanks, try copying and pasting my formula into your spreadsheet

    oldchippy

  5. #5
    Registered User
    Join Date
    12-07-2004
    Posts
    18

    Hmm

    Now when I first got your reply I did copy and paste your formula in hence my response.
    But!!! As you replied again, as suggested, I thought I would try again and what'll you know .... it does work!

    Thank you thank you thank you!

    You have just made my life easier today as I had 3 columns on the go just to come up with the same result!


  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad to be of help - thanks for the 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