+ Reply to Thread
Results 1 to 3 of 3

Sum of 2 columns based on 3rd column reference

  1. #1
    Registered User
    Join Date
    03-04-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    3

    Sum of 2 columns based on 3rd column reference

    Hi All,

    Been awhile.

    I have 3 columns
    Column A Column B Column C
    REFER1 10
    REFER1 5
    REFER2 11
    REFER2 6
    REFER3 12
    REFER3 6

    Column A Bank Reference - which I sorted using conditional formatting
    Column B Money paid in
    Column C Bank Charge

    I need a formula that matches the reference to give me
    REFER1 = 15
    REFER2 = 17
    REFER3 = 18

    I will use conditional formatting to send unique references (Column A) to another sheet.
    So references will always be paired.

    Any help would be great.
    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Office 365
    Posts
    1,899

    Re: Sum of 2 columns based on 3rd column reference

    =SUMIF(A:A,C1,B:B)
    c1 is "REFER1",
    c2 IS"REFER2", ETC.

    PUNNAM

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Sum of 2 columns based on 3rd column reference

    =SUMIF($A$2:$A$7,C2,$B$2:$B$7)

    A
    B
    C
    D
    1
    Bank Reference Money
    SUM IF
    2
    REFER1
    10
    REFER1
    15
    3
    REFER1
    5
    REFER2
    17
    4
    REFER2
    11
    REFER3
    18
    5
    REFER2
    6
    6
    REFER3
    12
    7
    REFER3
    6
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. need to reference 3 columns to 1 column and return a value
    By russaggie in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-25-2013, 08:21 PM
  2. Sum multiple columns based on a reference cell
    By nielsen555 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2013, 04:42 PM
  3. Adding columns from closed files based on cell reference
    By Ksharpes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2011, 05:12 AM
  4. Sum columns based on cell reference.
    By danroll in forum Excel General
    Replies: 2
    Last Post: 01-20-2010, 07:47 AM
  5. Replies: 5
    Last Post: 10-26-2005, 03:05 PM

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