+ Reply to Thread
Results 1 to 3 of 3

Importing specific cells from a separate worksheet based on cell data

Hybrid View

  1. #1
    Registered User
    Join Date
    09-26-2009
    Location
    ontario canada
    MS-Off Ver
    Excel 2003
    Posts
    64

    Importing specific cells from a separate worksheet based on cell data

    I currently copy and paste cell information contained in specific rows from one worksheet to another based on whether or not a specific cell in the row contains any data. For example; I will copy cells A10,B10,C10,D10,H10,Q10, and R10 only if Q10 has data entered. Any formulas to automate this process??

  2. #2
    Forum Contributor
    Join Date
    09-23-2008
    Location
    UK
    Posts
    137

    Re: Importing specific cells from a separate worksheet based on cell data

    If the source data is in Sheet2, the formulae in Sheet1 could read:

    =if(not(Sheet2!Q10=""),M10,"")
    =if(not(Sheet2!Q10=""),N10,"")

    etc.

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Importing specific cells from a separate worksheet based on cell data

    For example; I will copy cells A10,B10,C10,D10,H10,Q10, and R10 only if Q10 has data entered. Any formulas to automate this process??
    There are a number of ways to "automate" the process, depending on how you define the term.

    You could use a VBA macro (if that is an option for you), or you could simply link the cells on sheet2 to cells on sheet1.

    Example: on sheet2, cell A10 might use this: =Sheet1!A10

    You could also use Advanced Filter with criteria and use the option to copy matching records to a new location. This, too, can be automated to be run when criteria changes.

    It is always helpful to post a sample workbook that accurately reflects your real WB and contains non-sensitive data of the same type your real WB uses.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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