+ Reply to Thread
Results 1 to 12 of 12

Copy Formula from different cells and Paste in the active columns remaining cells

  1. #1
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Thumbs up Copy Formula from different cells and Paste in the active columns remaining cells

    Hi Friends,

    I want to copy the formulas from B1, D1, F1 & H1 and paste in respective column and range equal to column “A”

    I have highlighted the cell we need to paste the formula.

    PS. For reference I have given the data, actual number of rows & column may vary hence it is fixed between 1 to 22 cells in row.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-07-2015
    Location
    delhi
    MS-Off Ver
    2010
    Posts
    80

    Re: Copy Formula from different cells and Paste in the active columns remaining cells

    Hi,

    Can you explain me you want same formula on highlighted cell ??

    Imran.

  3. #3
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183
    [QUOTE=mdimran.ahmed30;4319746]Hi,

    Can you explain me you want same formula on highlighted cell ??

    Yes, the formula in the 1st cell of the column.
    Not that i need to use the same formula for all my requirements.
    The request is formula given in the first cell of the multiple column is to pasted in the remaining cell of the column to the range of column A.

  4. #4
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183
    [[email protected];4320317]
    Quote Originally Posted by mdimran.ahmed30 View Post
    Hi,

    Can you explain me you want same formula on highlighted cell ??

    Yes, the formula in the 1st cell of the column.
    Not that i need to use the same formula for all my requirements.
    The request is formula given in the first cell of the multiple column is to pasted in the remaining cell of the column to the range of column A.

  5. #5
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Copy Formula from different cells and Paste in the active columns remaining cells

    Hi Friends,

    Can any one help?

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy Formula from different cells and Paste in the active columns remaining cells

    Maybe:

    Please Login or Register  to view this content.

  7. #7
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Copy Formula from different cells and Paste in the active columns remaining cells

    Thanks John,

    The objective of the requirement is copy multiple cell's formula and past in the same row and the count equivalent to Column "A"
    This case B1, D1, F1 & H1 cells to be copied till end of the column which is equivalent to Column "A", the cells given only for example purpose basis time to time ( B1, D1, F1 & H1 ) these source cells may change.
    Hence i should be allowed to specify the cells in the Code(Like B1,C1,F1 etc..) to copy till the column end equal to "A".

  8. #8
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Copy Formula from different cells and Paste in the active columns remaining cells

    Thanks John,

    The objective of the requirement is copy multiple cell's formula and past in the same row and the count equivalent to Column "A"
    This case B1, D1, F1 & H1 cells to be copied till end of the column which is equivalent to Column "A", the cells given only for example purpose basis time to time ( B1, D1, F1 & H1 ) these source cells may change.
    Hence i should be allowed to specify the cells in the Code(Like B1,C1,F1 etc..) to copy till the column end equal to "A".

  9. #9
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy Formula from different cells and Paste in the active columns remaining cells

    Did you test on your sample? How will the source cells change? How would you identify them if they did.

  10. #10
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Copy Formula from different cells and Paste in the active columns remaining cells

    depending on the requirement formula cell may change , now i am using the below VBA code to copy the formula cell till the column end equal to Column "A".

    Since i may have to do this for many column, if you help me to modify the below code to include number of formula cells to copy and past in the same column would solve the requirement
    HTML Code: 
    .

    In the above code is it possible to include more formula cells in a single code like C1,D1, D1,F1...? (destination is equal to Column A)

  11. #11
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy Formula from different cells and Paste in the active columns remaining cells

    Does this help?

    Please Login or Register  to view this content.

  12. #12
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Copy Formula from different cells and Paste in the active columns remaining cells

    Hi John,

    The above code is just coping C1 till end equal to Column A

    But i want multiple cells to be copied, as mentioned in the above query how to copy C1,D1, D1,F1...? till end of column ?

+ 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. Macro to copy and paste cells up till the last active row of cells
    By blueaurora in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-07-2015, 05:08 AM
  2. Replies: 4
    Last Post: 07-03-2015, 04:27 AM
  3. [SOLVED] Copy/paste range of cells to first empty row of active list in another worksheet
    By wildecat666 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-06-2013, 03:45 PM
  4. Copy active row and paste to specific cells on different sheet
    By XxCMoneyxX in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2013, 03:03 PM
  5. Copy/paste select cells in active row for use in email body
    By rkovsonic in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-22-2013, 05:41 PM
  6. Formula to copy and paste data in cells to other cells based on values
    By haleakala17 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-11-2012, 08:45 AM
  7. Formula to copy parts of an address in cells and paste in specific columns. - See att
    By marc thomas in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-02-2012, 10:40 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