+ Reply to Thread
Results 1 to 3 of 3

Add total values based on within range based on critera

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Bournemouth
    MS-Off Ver
    Excel 2003
    Posts
    158

    Add total values based on within range based on critera

    Hi all

    Any help will be greatly appreciated.

    I'm looking for a formula to add the total of values within a column based on a specific cell criteria.

    For example I need to set the criteria within (sheet1) A3 and then match that to range (Sheet2) D2:D1500. If there is a match in range (sheet2)D2:D1500 then add the values in range (Sheet2) K2:K1500.

    I have looked and played with SumProduct, Countifs, etc but cant figure it out

    I hope this makes sense?

    Thanks

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Add total values based on within range based on critera

    hi johnny_p. a sample excel file with your desired results shown would be very useful. my guess is if the formula is in Sheet1, then:
    =SUMIF(Sheet2!D2:D1500,A3,Sheet2!K2:K1500)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Bournemouth
    MS-Off Ver
    Excel 2003
    Posts
    158

    Re: Add total values based on within range based on critera

    Quote Originally Posted by benishiryo View Post
    hi johnny_p. a sample excel file with your desired results shown would be very useful. my guess is if the formula is in Sheet1, then:
    =SUMIF(Sheet2!D2:D1500,A3,Sheet2!K2:K1500)
    Your a star. It worked perfectly. Even better I knew where I went wrong

    Thanks

+ 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] Counting Multiple Values in a column based on critera in seperate column
    By ERoberts in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-11-2013, 01:08 PM
  2. Formula to allcoate values based on multiple critera
    By rpjohnson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2012, 06:33 PM
  3. [SOLVED] get total values based on category
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2012, 01:13 PM
  4. How do I Find/Sum values based on 2 critera?
    By bugmenot in forum Excel General
    Replies: 4
    Last Post: 01-16-2009, 12:33 PM
  5. Replies: 4
    Last Post: 11-16-2008, 10:26 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