+ Reply to Thread
Results 1 to 4 of 4

formula to sum accross multiple columns?

  1. #1
    Registered User
    Join Date
    11-28-2016
    Location
    seattle
    MS-Off Ver
    2016
    Posts
    17

    formula to sum accross multiple columns?

    Hi, I am making a new spreadsheet, it does a simple calculation across multiple rows and sums them (F5*$E$5)+(F6*$E$6) and the numbers are totaled in sections and summed = +F32+F25+F14 (as many as 50 cells are summed). My spreadsheet works but I am hoping I can learn a better way to do this? I attached a sample of the spreadsheet I am working on.


    Thank you so much.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: formula to sum accross multiple columns?

    Instead of this in F14:

    =(F7*$E$7)+(F8*$E$8)+(F9*$E$9)+(F10*$E$10)+(F11*$E$11)+(F12*$E$12)+(F13*$E$13)

    you could use:

    =SUMPRODUCT((F7:F13)*($E$7:$E$13))

    which can then be copied across that row. Similar formulae could be used for other sections, though the ranges will have to change as appropriate.

    In terms of adding the sections together, you can put the word "Subtotal" or something similar in column A on the rows where these occur, and then you can use this:

    =SUMIF($A:$A,"Subtotal",F:F)

    and again, this can be copied across.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-28-2016
    Location
    seattle
    MS-Off Ver
    2016
    Posts
    17

    Re: formula to sum accross multiple columns?

    It does, thank you. Everyone here is so helpful and it really makes a difference. Thanks again.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: formula to sum accross multiple columns?

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    You might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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] Count Multiple Values accross Multiple Columns
    By Bendigus in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 08-24-2017, 01:31 PM
  2. Lookup Accross Multiple Columns
    By Jay_hl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-26-2016, 12:11 AM
  3. Formula to bring back cell accross multiple sheets
    By ddarko77 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-18-2015, 10:46 AM
  4. [SOLVED] Index Match accross two sheets with two crieteria searching in multiple columns
    By EmmatheDancer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-09-2015, 11:56 AM
  5. Replies: 7
    Last Post: 03-18-2014, 06:10 PM
  6. VBA Remove duplicate entries accross multiple columns??
    By siegreen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2010, 06:03 AM
  7. [SOLVED] SUMIF accross multiple columns
    By X in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-14-2005, 01:06 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