+ Reply to Thread
Results 1 to 7 of 7

Sum of numbers if column equals

  1. #1
    Registered User
    Join Date
    12-15-2018
    Location
    Boca Raton, FL
    MS-Off Ver
    MS Office OSX
    Posts
    11

    Sum of numbers if column equals

    Hi there,

    Me again - please see attached.

    Under sheet "Sponsor List/Income"

    H14 should equal whatever the total income is for all rows with T1 in column B.

    There are two - APR and Forge Motorsport, so the total should be, $7,500.

    H15 will be for T2

    H16 will be for T3

    End goal, to find the total income for each tier of sponsor (T1, T2, or T3)

    Thank you SO MUCH!!
    Last edited by bitluxkyle; 12-16-2018 at 01:26 AM. Reason: Correciton

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Sum of numbers if column equals

    Try this, copied down...
    =SUMIF($B$3:$B$17,"T"&MID(G14,6,1),$C$3:$C$17)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Sum of numbers if column equals

    Or this in H14:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    And adjust T1 to T2 and T3 for H15 and H16 respectively.

    BSB

  4. #4
    Registered User
    Join Date
    12-15-2018
    Location
    Boca Raton, FL
    MS-Off Ver
    MS Office OSX
    Posts
    11

    Re: Sum of numbers if column equals

    Quote Originally Posted by FDibbins View Post
    Try this, copied down...
    =SUMIF($B$3:$B$17,"T"&MID(G14,6,1),$C$3:$C$17)
    Works!

    Is there a place where I can go to learn this stuff? The value of this just today has been incredible. Saves me about 50 columns

  5. #5
    Registered User
    Join Date
    12-15-2018
    Location
    Boca Raton, FL
    MS-Off Ver
    MS Office OSX
    Posts
    11

    Re: Sum of numbers if column equals

    Quote Originally Posted by BadlySpelledBuoy View Post
    Or this in H14:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    And adjust T1 to T2 and T3 for H15 and H16 respectively.

    BSB
    Got it - could you briefly explain how exactly that works?

    SUMIF (produce a number if the range of cells), (is equal to "xxx"), (sum of range)

    correct?

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Sum of numbers if column equals

    Pretty much. Sum all values in column C where the corresponding row shows T1 in column B.

    BSB

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Sum of numbers if column equals

    Im happy to help

    Quote Originally Posted by bitluxkyle View Post
    Works!

    Is there a place where I can go to learn this stuff?....
    Yup, right here
    I am self-taught (as are many others), but most of what I know, came from here - seeing how others approach questions, trying to understand what they did, trying to answer questions myself. Pretty much practice.

    Also, the formula edit bar (click the FX button on a cell containing a formula), and above all, dont be afraid to experiment!! You cant really do any damage if you dont save the file.

+ 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. [SOLVED] If a cell is between two numbers then it equals...
    By travistea in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-01-2013, 06:01 AM
  2. Generate 4 random numbers that equals.....
    By realized in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-08-2013, 05:03 PM
  3. Sum equals unrelated range of numbers
    By onesojourner in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-18-2011, 04:28 PM
  4. Replies: 1
    Last Post: 11-14-2011, 03:32 AM
  5. if column B equals "cash" then column H equals 0
    By im3d in forum Excel General
    Replies: 4
    Last Post: 04-26-2011, 04:43 PM
  6. Conditional format: if a cell equals one of four numbers
    By thewrathful in forum Excel General
    Replies: 7
    Last Post: 05-04-2010, 04:12 PM
  7. if numbers range from this then equals this??
    By psychotikcow in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-30-2007, 10:14 AM
  8. Numbers turn red when equals to 0
    By shiela21cute in forum Excel General
    Replies: 2
    Last Post: 04-05-2006, 05:34 AM

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