+ Reply to Thread
Results 1 to 2 of 2

Adding numbers in shifting column

  1. #1
    Registered User
    Join Date
    08-02-2013
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    15

    Adding numbers in shifting column

    Hi All

    I enter data (numeric values) in Sheet 1 A1 and it is displayed in Sheet 2 A1. With every value entered, the previous entry in Sheet 2 drops down to the next cell (A1 then becomes A2, etc).

    I want to automatically add the values displayed in Sheet 1, however, with the everchanging cell locations I don't know how.

    I use the following formula in a macro:

    Sub EnterData()
    Sheets(2).Rows(1).Insert
    Sheets(2).Range("A1") = Sheets(1).Range("A1")
    Sheets(1).Range("A1").ClearContents
    End Sub

    I would appreciate advice as to how this could be done.

    Thank you.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Adding numbers in shifting column

    Hi
    please put code between tags ( see forum rules) - Thx

+ 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. Adding Sequential Numbers in Column B Based on Column A Values
    By habsfan1433 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-14-2014, 04:17 PM
  2. Shifting numbers calculation
    By paradoxal in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-12-2014, 06:48 PM
  3. Replies: 0
    Last Post: 08-14-2012, 09:42 AM
  4. Adding Zero To A Column Of Numbers
    By hagadol in forum Excel General
    Replies: 1
    Last Post: 02-05-2012, 06:14 AM
  5. deleting double numbers after shifting data
    By greta in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2009, 06:46 PM
  6. Adding x% to all the numbers in a column
    By Sage in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-24-2007, 09:51 PM
  7. [SOLVED] Adding to a column of numbers
    By Colleen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-04-2006, 02:30 AM
  8. Adding more than 30 numbers in a column
    By Fredneck Angela in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-20-2005, 06:09 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