+ Reply to Thread
Results 1 to 4 of 4

Sum Multiple Columns only if Certain Requirements are Met

  1. #1
    Registered User
    Join Date
    10-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Sum Multiple Columns only if Certain Requirements are Met

    Hi everyone.

    This might be an easy formula, but I can not figure out how to do it.

    I have the following structure: Column A=Data Validation (Drop down list) Column B=Numerical value

    This series repeats five times through Column J. There are five drop down choices.

    If I then want to set up Columns K-O as sums of each drop down, how do I get Excel to look through Columns A-J and pull that data?

    For example if Column A displayed Widgets and column B had a value of 5, but then column C displayed Toys and column D had a value of 10. column E displayed Widgets again and column F had a value of 15.

    How would I get Column K to display the sum of only the Widgets?

    Is this even possible?

    Thanks.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Sum Multiple Columns only if Certain Requirements are Met

    If I understand your layout correctly, try...

    =SUMIF($A1:$I1,"Widgets",$B1:$J1)
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    10-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Sum Multiple Columns only if Certain Requirements are Met

    It worked!

    Thanks so much. That was extremely helpful.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Sum Multiple Columns only if Certain Requirements are Met

    You are most welcome and glad it works for you. Thanks for the feedback

    Note: You could also point to a cell reference if you don't want to hard code what you are looking up...

    =SUMIF($A1:$I1,Q1,$B1:$J1)

    Q1 = Widgets

    --------------------------------------------------------------------------------------

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Last edited by jeffreybrown; 10-18-2012 at 08:26 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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