+ Reply to Thread
Results 1 to 3 of 3

Sum and subtraction multiple cells

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Sum and subtraction multiple cells

    Hi guys,

    I`m hoping someone can help with what may be a basic query!

    I want to write a formula whereby I calculate the sum of multiple cells and subtract it from the total of multiple cells:

    =SUM(C2:C6, G2:G6,K2:K6,B10:B13,G10:G13,K10:K13,O10:O13)-D2:D6,H2:H6,L2:L6,D10:D14,H10:H14,L10:L14,O10:O14

    Where am I going wrong? Using google sheets! do i need two formulas?

    Here is my sheet: See the top line tab

    https://docs.google.com/spreadsheets...it?usp=sharing

    Cell C17

    Thanks
    Last edited by rayted; 09-24-2018 at 10:34 AM.
    Thanks,

    R.



  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,911

    Re: Sum and subtraction multiple cells

    I haven't looked at the sheet but you're missing another SUM function:

    =SUM(C2:C6, G2:G6,K2:K6,B10:B13,G10:G13,K10:K13,O10:O13)-SUM(D2:D6,H2:H6,L2:L6,D10:D14,H10:H14,L10:L14,O10:O14)
    Rory

  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: Sum and subtraction multiple cells

    Thanks Rory. Simple as that!

+ 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. Range Subtraction / Matrix Subtraction - Large data set
    By excelrabbit in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-20-2015, 07:07 AM
  2. [SOLVED] Help with calculation, duplicate cells and subtraction of adjacent cells
    By jimjones666 in forum Excel General
    Replies: 12
    Last Post: 08-18-2014, 05:11 AM
  3. Rolling subtraction of multiple cells in row until desired total reached
    By ducexcel2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-22-2013, 10:29 AM
  4. How to apply subtraction results of multiple cells
    By joshmurray05 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-02-2012, 02:51 PM
  5. subtraction from 2 cells
    By Dazamich in forum Excel General
    Replies: 8
    Last Post: 03-14-2011, 08:52 AM
  6. Formula for multiple subtraction.
    By CrystalDiamond in forum Excel General
    Replies: 2
    Last Post: 06-18-2010, 08:13 PM
  7. [SOLVED] A - b <> C ????? Problems with subtraction of cells...
    By Roger in forum Excel General
    Replies: 3
    Last Post: 03-15-2005, 09:06 AM

Tags for this Thread

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