+ Reply to Thread
Results 1 to 3 of 3

Add number to numbers already in a cell (continuing count)

  1. #1
    Registered User
    Join Date
    09-01-2010
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2003
    Posts
    1

    Smile Add number to numbers already in a cell (continuing count)

    I need a macro that would let me add numbers to numbers already in a cell. I need to keep a continuing count. For example, if 5 is already in the cell and I enter 6 i need the cell to be 11. Also, I have a macro that works for the whole worksheet, but I only need two columns (G,H). Trying to get this report done for work. Thanks!
    Last edited by bjade5683; 09-01-2010 at 03:27 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Add number to numbers already in a cell (continuing count)

    Why not just list the numbers down a column and add them in the normal fashion? If you use VBA (which would be required), you have no history of the numbers you've added, and Undo goes bye-bye.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Add number to numbers already in a cell (continuing count)

    Hello bjade5683,

    Welcome to the Forum!

    Here are the VBA macros you need to accomplish this. Directions follow on how to install them.
    Please Login or Register  to view this content.

    How to Save a Worksheet Event Macro
    1. Copy the macro using CTRL+C keys.
    2. Open your Workbook and Right Click on the Worksheet's Name Tab for the Worksheet the macro will run on.
    3. Left Click on View Code in the pop up menu.
    4. Paste the macro code using CTRL+V
    5. Make any custom changes to the macro if needed at this time.
    6. Save the macro in your Workbook using CTRL+S
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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