+ Reply to Thread
Results 1 to 3 of 3

Array formula to copy cells

  1. #1
    Forum Contributor
    Join Date
    03-08-2011
    Location
    London
    MS-Off Ver
    Work Office 365 Home 2019
    Posts
    427

    Array formula to copy cells

    Hi Guys,

    I'm trying to achieve a process whereby if a cell in Sheet1 column P (from cell P3) downwards is not blank it will be copied into sheet 3 cell a2 downwards. If it is blank it won't.

    I have come across an array formula
    Please Login or Register  to view this content.
    But I don't know to change it to make it relevant.

    An alternative solution I've found was this:

    Let's input the desired item into A1, eg: Chain
    Put this in A2:
    Please Login or Register  to view this content.
    Copy A2 down to cover the max expected extent of source data in Sheet1, say down to row 500?
    Then place this in B2:
    Please Login or Register  to view this content.
    Copy B2 to C2, fill down. Cols B & C will return the required results depending on the item input in A1, all neatly packed

    But this assumes I want to match Cell A1 with a specific value as opposed to 'not blank'.

    I know I can do it with a macro, but if anyone can help achieve it with a formula, I'd be very grateful.

    many thanks

    Terry

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Array formula to copy cells

    hi
    assuming your data are in cells P3:P20, try this (not an array formula)

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    03-08-2011
    Location
    London
    MS-Off Ver
    Work Office 365 Home 2019
    Posts
    427

    Re: Array formula to copy cells

    Brilliant Nicky! That was perfect - Reputation added

+ 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. [SOLVED] Array-copy cells
    By Rasmusvwn in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 05-30-2016, 04:11 PM
  2. Replies: 0
    Last Post: 06-28-2014, 02:26 PM
  3. Typing an array into a formula rather than referring to an array of cells
    By Cookstein2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-03-2013, 12:59 PM
  4. Macro to copy array of cells
    By Boston in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2010, 12:28 PM
  5. Array - Copy Formula, Paste as Array
    By lilanngel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2010, 08:20 AM
  6. Copy Cells to variant array
    By Jean-Pierre Bidon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-13-2006, 08:10 AM
  7. [SOLVED] Copy Data From Cells To Array
    By MarcL via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-08-2006, 10:30 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