+ Reply to Thread
Results 1 to 5 of 5

Paste a formula in a column in each in each row that contains data

  1. #1
    Registered User
    Join Date
    08-24-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Paste a formula in a column in each in each row that contains data

    I am copy/pasting data from a report on a webpage into excel. The number of rows varies each time. I am performing functions on this data to make it suit my needs a little better. Lets assume that there are 800 rows of data this time and columns A thru F contain data. In column G, I insert a function =RIGHT(D1,5).
    Now I want to copy this function down to row 800. However, next time there might be 1015 rows that I would need it to copy to. How can I have it copy/paste to the last row on the worksheet?

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Paste a formula in a column in each in each row that contains data

    Hi DogGuy,

    Try this:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    08-24-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Paste a formula in a column in each in each row that contains data

    Thanks...worked perfect.

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Paste a formula in a column in each in each row that contains data

    Please Login or Register  to view this content.

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Paste a formula in a column in each in each row that contains data

    You're welcome!

+ 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