+ Reply to Thread
Results 1 to 5 of 5

Subtract cells from data entered and display result in active cell.

  1. #1
    Registered User
    Join Date
    10-10-2013
    Location
    Texas
    MS-Off Ver
    Excel 2013
    Posts
    3

    Subtract cells from data entered and display result in active cell.

    OK I have attached an example, a simplified version of what I am trying to accomplish. Basically I want to enter the total sales number in B1 and have it automatically subtract the amounts for surcharge(B2), tooling(B3), and pallets(B4); to display the product sales dollars in B1. Is this possible or do I need to add a totally separate row for total sales?

    I wasn't real sure how to word the title so any suggestions and I will edit.

    thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Subtract cells from data entered and display result in active cell.

    You could add a worksheet change event into the sheet object of the vba project:
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Subtract cells from data entered and display result in active cell.

    Do you want it to be an auto updating value (ie you can still have changes in B2-B4 which will affect B1), or do you want it so that once you enter a value into B1 it calculates and that is it. I guessed the latter so here you go:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-10-2013
    Location
    Texas
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Subtract cells from data entered and display result in active cell.

    Well yes I would like the value to change as I enter the data in B2-B4. So in case there was an error and I need to go back and change the pallet amount, for example, the total in B1 would change also.

  5. #5
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Subtract cells from data entered and display result in active cell.

    You should just have a separate row for total sales then.

+ 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: 1
    Last Post: 09-27-2013, 03:50 PM
  2. [SOLVED] Display contents of multiple active cells in another cell?
    By mtsykes28 in forum Excel General
    Replies: 2
    Last Post: 06-14-2012, 11:27 AM
  3. Replies: 4
    Last Post: 01-16-2012, 12:12 PM
  4. Formula is entered but will not display result
    By webee33 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2005, 08:05 PM
  5. [SOLVED] I want to subtract 2 dates and display the result as months
    By Dave in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2005, 02: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