+ Reply to Thread
Results 1 to 6 of 6

Copy formula in sheet to all rows containing info in Cell A

  1. #1
    Registered User
    Join Date
    04-18-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    13

    Copy formula in sheet to all rows containing info in Cell A

    I am looking for someone to help me with a macro where I can copy a row of formulas in a sheet and paste it into the same sheet where Cell A contain information.

    I've attached the file as an example.

    On the "NW" Tab, the formulas in the Yellow cells H1:J1 should be copied and pasted in the cells from H8 untill there is no more information in Cell A. Pasting of this formula should always start at Cell H8.

    On the "Result" Tab is the desire result.

    This list can have as many as 5000 entries and as little as 8 entries a month.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Copy formula in sheet to all rows containing info in Cell A

    Quote Originally Posted by Elmarie_Potgieter View Post
    untill there is no more information in Cell A
    Unable to understand what you are trying to say with the above line


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523

    Re: Copy formula in sheet to all rows containing info in Cell A

    Hi there,

    Try this:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  4. #4
    Registered User
    Join Date
    04-18-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: Copy formula in sheet to all rows containing info in Cell A

    If one month there is 110 lines with information (from A8 to A118), the formula should stop at the 110th line (H118). If the next month there is only 50 lines with information (from A8 to A58), the formula should stop at the 50th line (H58) with information. The lines of information varies every month.

  5. #5
    Registered User
    Join Date
    04-18-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: Copy formula in sheet to all rows containing info in Cell A

    Thank you Robert, this macro works 100%.

  6. #6
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523

    Re: Copy formula in sheet to all rows containing info in Cell A

    Thank you Robert, this macro works 100%.
    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)

Similar Threads

  1. Formula To Copy Info in Column to Rows
    By Limits in forum Excel General
    Replies: 3
    Last Post: 03-20-2014, 01:34 PM
  2. Replies: 1
    Last Post: 06-06-2013, 02:28 PM
  3. [SOLVED] Need to Copy cell info from one sheet to rows on a new sheet.
    By gavdean17 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2012, 03:07 PM
  4. [SOLVED] how do I copy info from one sheet to another via a formula?
    By Max in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 04:05 AM
  5. [SOLVED] how do I copy info from one sheet to another via a formula?
    By Trese in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-28-2005, 10:05 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