+ Reply to Thread
Results 1 to 6 of 6

Summing up non-adjacent columns

  1. #1
    Registered User
    Join Date
    08-31-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    9

    Summing up non-adjacent columns

    Hi Everyone,

    I am having a difficult time figuring out the best way to resolve my issue. Basically I have week ending dates, and I am trying to sum them all up, but the data isn't adjacent. Right now my formula is manual, but I know there has to be an easier way to do it.

    Below is only a segment of my sheet, but I actually have data spanning all weeks of the year, so my way of picking each cell and adding it up is inefficient to say the least. lol.

    It is almost like I need a double lookup formula that says "Wherever name x and Apples appears, add that number together in all instances". I would even like to do a triple lookup formula that does the sane thing, but only does it for weeks in a certain month (to calculate monthlies) but one thing at a time. lol. I attached an example of said spreadsheet here. Thanks in advance!
    Attached Files Attached Files
    Last edited by Milkman00; 02-15-2019 at 01:47 PM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Summing up non-adjacent columns

    =sumproduct(($a$3:$a$10=$a13)*($b$2:$j$2=d$12)*($b$3:$j$10))
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Summing up non-adjacent columns

    Another way.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Dave

  4. #4
    Registered User
    Join Date
    08-31-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Summing up non-adjacent columns

    Thanks to you both. SUMPRODUCT being used this way is pretty ingenious...

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Summing up non-adjacent columns

    You are welcome. Glad to help.

    Thank you for the feedback and added rep.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Summing up non-adjacent columns

    you are welcome

+ 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. Copy adjacent columns and paste in non-adjacent columns
    By juriemagic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-20-2014, 08:34 AM
  2. Replies: 6
    Last Post: 03-04-2006, 07:30 AM
  3. [SOLVED] Lookup value throughout an array_return adjacent value and summing
    By Aladin Akyurek in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-06-2005, 05:05 PM
  4. Lookup value throughout an array_return adjacent value and summing
    By SP in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 PM
  5. Lookup value throughout an array_return adjacent value and summing
    By SP in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  6. [SOLVED] Lookup value throughout an array_return adjacent value and summing
    By SP in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. [SOLVED] Lookup value throughout an array_return adjacent value and summing
    By SP 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