+ Reply to Thread
Results 1 to 6 of 6

SUM IF and Spinners?

  1. #1
    Registered User
    Join Date
    04-24-2007
    Posts
    14

    SUM IF and Spinners?

    I'm Stuck!

    Cell J7 is a value coming from a spinner control. I'd like the sum of any numbers above a certain threshhold, which is controlled by the spinner, I keep getting 0, but if I manually enter a number into the formula, then the SUMIF will work. Can I not use spinners in a formula?

    =SUMIF(G6:G138,">J7",G6:G138)

    Thanks!

  2. #2
    Registered User
    Join Date
    04-24-2007
    Posts
    14
    Update:

    It seems I can't use any cell value for the Greater than I'm trying to do for SUM IF...

    =SUMIF(G6:G138,">J7",G6:G138) Doesn't work
    =SUMIF(G6:G138,">6500",G6:G138) Does work, even where J7=6500, whether it is controlled by the spinner or not...

  3. #3
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Try this and report back:

    =SUMIF(G6:G138,">"&J7,G6:G138)

  4. #4
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664
    Hi there,

    Try this:

    =SUMPRODUCT((G6:G138)*(G6:G138>J7))

    HTH,

    SamuelT
    Last edited by SamuelT; 09-19-2007 at 09:21 AM.

  5. #5
    Registered User
    Join Date
    04-24-2007
    Posts
    14
    BigBas,

    Check plus! thanks a bunch.

    Samuel T, thanks for the reply as well.

  6. #6
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Glad I could help.

+ 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