+ Reply to Thread
Results 1 to 5 of 5

Double look-up with sum

  1. #1
    Registered User
    Join Date
    02-18-2010
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    47

    Double look-up with sum

    I need a formula that will sum all values if the entry in column A is Monday and the entry in column B is IN.

    So in this example I would need to return the value 1626.

    Thanks in advance (my brain is just broken today!)
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Double look-up with sum

    As you are using Excel 2007, you could use SUMIFS
    =SUMIFS($D$1:$D$27,$A$1:$A$27,"Monday",$B$1:$B$27,"IN")

    If you need it to be compatable with 2003, you could use SUMPRODUCT
    =SUMPRODUCT(--($A$1:$A$27="Monday"),--($B$1:$B$27="IN"),$D$1:$D$27)

    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: Double look-up with sum

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-18-2010
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Double look-up with sum

    Works wonderfully!

    Thanks!

  5. #5
    Registered User
    Join Date
    04-16-2010
    Location
    New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Double look-up with sum

    This is exactly what i've been looking for too, many thanks

+ 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