+ Reply to Thread
Results 1 to 5 of 5

Trying to copy formula from cell above if an entry is made in the row

  1. #1
    Registered User
    Join Date
    01-08-2014
    Location
    Bath, UK
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    86

    Trying to copy formula from cell above if an entry is made in the row

    I'm trying to add a very basic primary key (i.e. 1,2,3,4,5 etc) to a table (either a table using the Table function or simply a blank worksheet) when an entry is made anywhere else in that row (say columns B-P).
    If I was using the spreadsheet myself, the formula would simply be =A1+1 and I would copy it down myself (or perhaps pre-populate a few rows at a time). However, I'm trying to add this for other users so the number is populated automatically.
    I've seen that Excel's Table function (v2007 onwards) can automatically populate formulae elsewhere in the table, but can't seem to populate column A.

    Can anyone help, please?
    Thanks

  2. #2
    Forum Contributor
    Join Date
    12-14-2013
    Location
    Tilburg, Nederland
    MS-Off Ver
    Excel 2010
    Posts
    256

    Re: Trying to copy formula from cell above if an entry is made in the row

    If you have a table and put a formula in the first row, then the formula gets copied to the entire table column.

    You can use macro to add row by:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-08-2014
    Location
    Bath, UK
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    86

    Re: Trying to copy formula from cell above if an entry is made in the row

    Thanks Gerard, that does the job!

  4. #4
    Forum Contributor
    Join Date
    12-14-2013
    Location
    Tilburg, Nederland
    MS-Off Ver
    Excel 2010
    Posts
    256

    Re: Trying to copy formula from cell above if an entry is made in the row

    Please mark [SOLVED] when problem is solved.
    * Add Reputation when you like an answer..

    gr
    Gerard

  5. #5
    Registered User
    Join Date
    01-08-2014
    Location
    Bath, UK
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    86

    Re: Trying to copy formula from cell above if an entry is made in the row

    Oops I forgot - thanks again!

+ 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: 4
    Last Post: 06-15-2011, 05:33 PM
  2. Autosubtracting a value from same cell a manual entry is made
    By tony324 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-04-2011, 02:10 PM
  3. How make macro run if entry made in a particular cell
    By Launchnet in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2010, 08:00 PM
  4. Replies: 5
    Last Post: 11-10-2006, 06:38 AM
  5. one cell entry made up of two lookup results
    By Orion in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2005, 08:06 AM

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