+ Reply to Thread
Results 1 to 3 of 3

whatif / greater than formula

  1. #1
    Registered User
    Join Date
    05-12-2011
    Location
    glasgow
    MS-Off Ver
    Excel 2003
    Posts
    9

    whatif / greater than formula

    hi guys

    would be greatfull if anyone can point out where i am going wrong with the formula below.

    =SUMIFS(wholesale!D2:D26,wholesale!B2:B26,"Sealed Bid",wholesale!C2:C26,">2",wholesale!A2:A26,'sealed bid'!B2)

    so i want the sum in sealed bid tab. the sum should be saying in the wholesale tab

    - add the values in column D when
    - column B says 'sealed bid'
    - and then only if column C is greater than 2
    - and then column A is equal to cell b2 in the sealed bid tab

    The value comes back as 0 and no error. i think i have made an error with the >2 part if anyone can lend a hand

    thanks once again
    martin
    Attached Files Attached Files

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

    Re: whatif / greater than formula

    The formula is correct and is giving correct result. There are no items in Jan 2011, that have number of participants greater than 2.... so the result is 0.

    If you put the formula in the next column to refer to February, you will see a number result.

    Maybe you want >= 2 instead of just >2 ?

    As in:

    =SUMIFS(wholesale!$D$2:$D$26,wholesale!$B$2:$B$26,"Sealed Bid",wholesale!$C$2:$C$26,">=2",wholesale!$A$2:$A$26,'sealed bid'!B2)

    copied across.
    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
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: whatif / greater than formula

    =SUMIFS(wholesale!$D$2:$D$26,wholesale!$B$2:$B$26,"Sealed Bid",wholesale!$C$2:$C$26,">2",wholesale!$A$2:$A$26,'sealed bid'!B$2)

    and drag across.

    You haven't made an error. There are no records that meet the date criteria for January.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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