+ Reply to Thread
Results 1 to 9 of 9

subtracting cells from next value

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    606

    Re: subtracting cells from next value

    Hi, hopefully the attached worksheet will do what you're looking for.
    Cells in column D need to be entered as an array (Ctrl-Shift-Enter).
    And Row 1 needs to be empty.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-08-2014
    Location
    Texas
    MS-Off Ver
    2013
    Posts
    40

    Re: subtracting cells from next value

    BEamernsw,

    Thank you for the doc.. it almost works.. I had to add some column to my table and I am getting the following...

    A LITTLE CONFUSED AS TO WHY THIS IS HAPPENING.

    Thanks for your help!!
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    606

    Re: subtracting cells from next value

    Hi, its because my formula is checking if the cell in column F is blank, but you have a 0 in there.

    So change the first "" to 0 and if you wish to have a 0 in column G as well then also change the last "" to 0.
    =IF(F3<>0,F3-SUM(INDIRECT("C"&MAX(IF(G$2:G2<>"",ROW(G$2:G2)))+1):C3),0)

+ 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. Subtracting from different cells
    By nkitchen31 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-22-2014, 05:14 PM
  2. Replies: 0
    Last Post: 05-08-2012, 12:42 PM
  3. Subtracting cells
    By rkaiser in forum Excel General
    Replies: 3
    Last Post: 04-20-2007, 12:21 PM
  4. Subtracting From 2 Cells
    By scw1217 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-04-2006, 08:56 PM
  5. Subtracting 2 Now() Cells
    By rich in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-08-2006, 04:15 PM

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