+ Reply to Thread
Results 1 to 5 of 5

What is wrong?? SUM values in a range with criterion

  1. #1
    Registered User
    Join Date
    09-04-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2011
    Posts
    12

    Cool What is wrong?? SUM values in a range with criterion

    Hi Gents&Ladies

    I have been looking around but could not find a working aster for following:

    Im am trying to sum values in a certain range that equals a criterion. The cell that has the criterion also has a data validation.
    Attached is the file which is quit self explanatory.

    Could anyone have a quick look and explain me what I am doing wrong, and possibly insert a working formula

    Would be very gratefull.

    Best Ced
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: What is wrong?? SUM values in a range with criterion

    The formula you used works fine, assuming you enter it as an array, by exiting the cell with Ctrl+Shift+Enter.

    However, you can avoid using an array formula, by simply using =SUMIF(D2:D6,A12,E2:E6)
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    01-24-2014
    Location
    Fareham, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: What is wrong?? SUM values in a range with criterion

    Hi Cedric

    A Better way to do this would be a sumif formula.

    Please see workbook attached with amended formula.

    Thanks

    Wetsocks
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-04-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2011
    Posts
    12

    Re: What is wrong?? SUM values in a range with criterion

    Great works like a charm and much easier to use.

    Thanks for the quick response

  5. #5
    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,926

    Re: What is wrong?? SUM values in a range with criterion

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    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

+ 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] Looking up multiple values based on a single criterion
    By wmjenner in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-31-2013, 09:38 PM
  2. SumIf but using a range as a criterion.
    By philiphales in forum Excel General
    Replies: 5
    Last Post: 06-19-2009, 06:32 AM
  3. Sum a range based on a criterion
    By gerryboy458 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-20-2006, 04:40 PM
  4. [SOLVED] Multiple criterion including wildcards to sum in a range
    By JEH in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. Multiple criterion including wildcards to sum in a range
    By JEH in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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