+ Reply to Thread
Results 1 to 8 of 8

Add 1 to one cell and subtract 1 from another

  1. #1
    Registered User
    Join Date
    08-26-2023
    Location
    USA
    MS-Off Ver
    365
    Posts
    5

    Add 1 to one cell and subtract 1 from another

    As the title suggests, how do I add to one cell and also subtract that same amount on another cell?

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Add 1 to one cell and subtract 1 from another

    With formulas, without VBA: If you want to add something to one cell and subtract the same amount from another cell, the results should be in other cells.
    For example. You want add something to B1 and subtract the same amount from B2 and you want the results respectively in C1 and C2 and something is in A1.
    Please try in C1: =B1+A1 and try in C2: =B2-A1.

    If you don't want the results in other cells (but in the same cells), its not possible with formulas and you need VBA.
    Last edited by HansDouwe; 08-26-2023 at 08:32 PM.

  3. #3
    Registered User
    Join Date
    08-26-2023
    Location
    USA
    MS-Off Ver
    365
    Posts
    5

    Re: Add 1 to one cell and subtract 1 from another

    How do I accomplish this with a VBA?

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Add 1 to one cell and subtract 1 from another

    I'm not a VBA-expert.
    If you want a VBA-solution, please ask a moderator to move this thread to Excel programming / VBA / Macros.

  5. #5
    Registered User
    Join Date
    08-26-2023
    Location
    USA
    MS-Off Ver
    365
    Posts
    5

    Re: Add 1 to one cell and subtract 1 from another

    How do I go about doing that?

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Add 1 to one cell and subtract 1 from another

    You can contact the moderators directly via "Report Post" button below your post.

  7. #7
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,833

    Re: Add 1 to one cell and subtract 1 from another

    It would be easier to help and test possible solutions if you could attach a copy of your file. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary). See the yellow banner at the top of this page for instructions to attach a file.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  8. #8
    Valued Forum Contributor
    Join Date
    09-19-2008
    Location
    It varies ...
    MS-Off Ver
    Office365 - 64bit
    Posts
    862

    Re: Add 1 to one cell and subtract 1 from another

    Quote Originally Posted by Noob861 View Post
    As the title suggests, how do I add to one cell and also subtract that same amount on another cell?
    Put this in the worksheet module of the sheet with the 3 cells.
    Please Login or Register  to view this content.
    MatrixMan.
    --------------------------------------
    If this - or any - reply helps you, remember to say thanks by clicking on *Add Reputation.
    If your issue is now resolved, remember to mark as solved - click Thread Tools at top right of thread.

+ 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. Replies: 3
    Last Post: 09-09-2021, 05:08 PM
  2. Subtract until 0 then move to next cell to subtract until 0
    By manateee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-15-2020, 03:32 AM
  3. [SOLVED] take the sum of cell D40, subtract it with cell D39, then spread evenly across cell range
    By JRP Excel Guy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-23-2019, 01:28 PM
  4. Making one cell subtract from another cell and insert result in a 3rd cell.
    By ununio in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-21-2018, 11:56 AM
  5. Replies: 10
    Last Post: 03-17-2018, 06:15 PM
  6. Replies: 4
    Last Post: 03-14-2014, 09:54 AM
  7. Replies: 1
    Last Post: 01-27-2012, 11:25 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