+ Reply to Thread
Results 1 to 3 of 3

Find the sum of all values in column based on values in another column

  1. #1
    Registered User
    Join Date
    07-17-2012
    Location
    Nova Scotia
    MS-Off Ver
    Excel 2007
    Posts
    21

    Find the sum of all values in column based on values in another column

    I need to find the sum of all the values in column B, which have a value in Column A between 74 and 301.

    Example (first column is A, second is B:

    0 1
    50 2
    60 3
    100 4
    200 5
    250 6
    299 7


    Expected answer would be:
    4+5+6+7=22

    I have a feeling I need the SUMIF function, but other than that I just can't wrap my head around it.

  2. #2
    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: Find the sum of all values in column based on values in another column

    Try this one

    =SUMIFS(B1:B7,A1:A7,">74",A1:A7,"<301")
    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

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Find the sum of all values in column based on values in another column

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ 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. Replies: 2
    Last Post: 12-30-2013, 08:15 AM
  2. Replies: 2
    Last Post: 10-08-2012, 02:17 PM
  3. [SOLVED] Find last value in one column based on values in another (text only)
    By slash_gnr3k in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2012, 11:37 AM
  4. Replies: 5
    Last Post: 09-29-2011, 06:39 AM
  5. [SOLVED] Find and sum values based on a column search
    By Chocolate-Thunder in forum Excel General
    Replies: 4
    Last Post: 08-09-2006, 12:20 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