+ Reply to Thread
Results 1 to 4 of 4

If A:A Sheet 1 equals A2 in Sheet 2, then Sum B:B Sheet 1

  1. #1
    Registered User
    Join Date
    04-30-2012
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    88

    If A:A Sheet 1 equals A2 in Sheet 2, then Sum B:B Sheet 1

    Similar to a query I posted earlier but can't seem to adapt it. I need to sum the total of all the numbers in column B where column A is the same. Eg....

    Sheet 1

    Bank 57
    Shop 25
    Car 32
    Bank 3


    Sheet 2
    Bank 60

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: If A:A Sheet 1 equals A2 in Sheet 2, then Sum B:B Sheet 1

    I think you want,
    Please Login or Register  to view this content.
    You would have to enter all the unique values in Sheet2!B:B that you want to check Sheet1 for though.

  3. #3
    Registered User
    Join Date
    04-30-2012
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    88

    Re: If A:A Sheet 1 equals A2 in Sheet 2, then Sum B:B Sheet 1

    Legend, thank you. I had it like that but was trying separate the B:B out with brackets. I'll know for next time, cheers!

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If A:A Sheet 1 equals A2 in Sheet 2, then Sum B:B Sheet 1

    Steve,try.

    =SUMIF(Sheet1!a1:a4,"BANK";Sheet1!b1:b4)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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