+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : SUMIFS without the sum part

  1. #1
    Registered User
    Join Date
    06-06-2011
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2007
    Posts
    23

    SUMIFS without the sum part

    Hi,
    I am trying to use a formula to retrieve information from a database. The formula I have works fine if I want to sum the information which match the criteria, but I don't want to sum it.

    Here is the formula: =SUMIFS(INDIRECT(G503),date1,D504,store,D505)

    So "date1" and "store" are both named ranges. I just want to find the unique (or first) item which matches the above info.

    I have been working on trying to figure this out all day, please help! Thanks!
    Last edited by aldek; 12-15-2011 at 02:38 PM. Reason: Solved.

  2. #2
    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,366

    Re: SUMIFS without the sum part

    Maybe VLOOKUP is the function you're looking for.


    Regards, TMS
    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


  3. #3
    Registered User
    Join Date
    06-06-2011
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: SUMIFS without the sum part

    Hi TMShucks, thanks for the quick reply!
    The issue I have with both the index and vlookup functions is that I need to know the position of the data relitive to one of the conditions. Perhaps I lack imagination, but I don't know how to make vlookup work for this.

  4. #4
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: SUMIFS without the sum part

    This is very similar to the question I posted a few days back and am still waiting for a final solution for. A temporary solution courtesy of Marcol has already been posted which would do what you want:
    http://www.excelforum.com/excel-2007...ted-value.html

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIFS without the sum part

    Try like this

    =INDEX(INDIRECT(G503),MATCH(1,(Date1=D504)*(store=D505),0))

    confirmed with CTRL+SHIFT+ENTER
    Audere est facere

  6. #6
    Registered User
    Join Date
    06-06-2011
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: SUMIFS without the sum part

    Daddylonglegs, this is perfect. Exactly what I need, thank you so much!
    Dip11, thanks for the reply, maybe the above formula will help you. Thanks again,
    Aldek

+ 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