+ Reply to Thread
Results 1 to 13 of 13

Copy & Paste Array Formula

Hybrid View

  1. #1
    Registered User
    Join Date
    10-30-2012
    Location
    Chicago
    MS-Off Ver
    Excel 365
    Posts
    93

    Red face Copy & Paste Array Formula

    Using Excel 2007

    I know how to create an array formula when I type a formula into the formula bar, then hit Ctrl + Shift + Enter, but how do I copy an array formula already created from one sheet tab to another?

    HELP!
    Last edited by Karen615; 09-11-2013 at 05:26 PM.

  2. #2
    Registered User
    Join Date
    06-27-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2007
    Posts
    94

    Re: Copy & Paste Array Formula

    have you looked in the paste special options?
    nvm. if there are curly brackets {}, it's pasted the array. i was able to take an arrayed formula from sheet2 and paste it into sheet1 no problem.
    Maybe post an example of what your trying to do and what exactly it's not doing.
    Last edited by liz5818; 09-11-2013 at 10:21 AM.

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Copy & Paste Array Formula

    The same way you would copy any formula from one sheet to another..
    The fact that it's an array formula shouldn't make any difference.

    I'm not sure I understand what the problem is..
    What exactly happens when you TRY to copy it?
    What method are you currently using to copy it?

  4. #4
    Registered User
    Join Date
    10-30-2012
    Location
    Chicago
    MS-Off Ver
    Excel 365
    Posts
    93

    Re: Copy & Paste Array Formula

    I'm very sorry, I should have said from one workbook to another.
    What I'm trying to do is copy the cell "B2" array formula from the "Products" tab in the workbook, "March 2013" to cell "B2", "Products" tab from "April 2003" workbook.
    ANY help is greatly appreciate.
    Karen
    Attached Files Attached Files

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Copy & Paste Array Formula

    Still don't see a problem, the formula copies just fine and remains an array formula.

    The only difference is the new formula in the April book now has links to ranges in the March book.

    Is that what you're talking about?

    If this is the case, what you have to do is
    In the March book, go to B2 and press F2 to go into Edit mode
    Highlight the formula and copy it.
    Go to the cell in the April book
    Press F2 to go into Edit mode
    Then paste and press CTRL + SHIFT + ENTER

  6. #6
    Registered User
    Join Date
    10-30-2012
    Location
    Chicago
    MS-Off Ver
    Excel 365
    Posts
    93

    Re: Copy & Paste Array Formula

    I'm sorry, I followed your directions and when I try and paste the array formula into the April 2013 workbook, it places a "0" into the B2 cell in the March 2013 workbook, Products tab and then the formula bar is: ='[April 2013.xls]Products'!$B$2.
    What am I doing wrong?
    Thank you for your help!
    Karen

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Copy & Paste Array Formula

    don't copy the cell...
    Rather, copy the CONTENTS of the cell.

    So enter the cell as if you were going to change the formula, and copy the actual formula from the formula bar.

    then go to the other book and go to the cell you want to put the formula
    Press F2, then paste the formula into the formula bar.
    Then press CTRL + SHIFT + ENTER

  8. #8
    Registered User
    Join Date
    10-30-2012
    Location
    Chicago
    MS-Off Ver
    Excel 365
    Posts
    93

    Re: Copy & Paste Array Formula

    I'm sorry, this is not working for me. It's clearly something I'm doing wrong.

    Below are the steps I'm taking:
    1. In the March book, go to B2 and press F2
    2. Highlight the formula from the formula bar, press Ctrl + C
    3. Go to the B2 cell in the April book (it places a marquee around B2 and the formula ='[April 2013.xls]Products'!$B$2 in the April book)
    4. Then when I press F2, the cursor flashes at the end of the formula in the formula bar.
    So far, is this wrong?

  9. #9
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Copy & Paste Array Formula

    I think I may have skipped a step, you have to exit out of Edit mode from the original sheet...
    And you also need to clear the contents of the destination sheet.

    1. In the March book, go to B2 and press F2
    2. Highlight the formula from the formula bar, press Ctrl + C
    3. Press ESC to exit Edit Mode
    4. Go to the B2 cell in the April book
    5. Press F2
    6. Clear the contents that is already in the formula bar
    7. Press Ctrl + V
    8. Press CTRL + SHIFT + ENTER

  10. #10
    Registered User
    Join Date
    10-30-2012
    Location
    Chicago
    MS-Off Ver
    Excel 365
    Posts
    93

    Re: Copy & Paste Array Formula

    I'm so sorry for all this and I appreciate your time, but I followed the steps and below are the results
    1. In the March book, go to B2 and press F2
    2. Highlight the formula from the formula bar, press Ctrl + C
    3. Press ESC to exit Edit Mode
    4. Go to the B2 cell in the April book
    5. Press F2
    6. Clear the contents that is already in the formula bar (There wasn't a formula in the formula bar)
    7. Press Ctrl + V
    8. Press CTRL + SHIFT + ENTER (the entire formula displays as the content of cell b2 in the April book)

    Again, I'm sorry, but it's not working for me

  11. #11
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Copy & Paste Array Formula

    Format cell B2 in the April book as General between steps 4 and 5

  12. #12
    Registered User
    Join Date
    10-30-2012
    Location
    Chicago
    MS-Off Ver
    Excel 365
    Posts
    93

    Re: Copy & Paste Array Formula

    EXCELLENT! It works! Thank you SO much for all your time & patience.
    Have a great day!
    Karen

  13. #13
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Copy & Paste Array Formula

    Glad to help, thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Similar Threads

  1. Copy from Array in ActiveWorkbook to ThisWorkbook; Transpose copy, Offset Paste
    By sbradley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2013, 05:17 PM
  2. Copy and paste the value of an array formula
    By danfullwood in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2013, 06:01 AM
  3. Array - Copy Formula, Paste as Array
    By lilanngel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2010, 08:20 AM
  4. Copy and Paste Array value
    By Rashed.R in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-10-2010, 04:26 AM
  5. select variables ranges, copy to array, paste the array in new workbook
    By Mathew in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-01-2005, 05: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