+ Reply to Thread
Results 1 to 3 of 3

Only copy rows across IF matches criteria

  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    Qld, Australia
    MS-Off Ver
    Excel 2003
    Posts
    8

    Smile Only copy rows across IF matches criteria

    Hi there,

    I have a document with several tabs.
    Tab 1 is the main information holder 'General Public'.
    Tab 2 is just for a mail merge and only needs rows copied if Column A of Tab 1 = 'Letter'.
    The formula i came up with was:
    =IF('General Public'!A2="Letter",'General Public'!D2,"")
    However, this brings across everything. I cannot figure out how to only bring across cells with 'Letter' and leave the others out.

    After searching day and night of the net, I have realised it most likely will only be possible using a 'code' or macro. Only started playing with these today. so not much knowledge here.

    Thanks

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Only copy rows across IF matches criteria

    Could you share a sample workbook?

  3. #3
    Registered User
    Join Date
    01-17-2013
    Location
    Qld, Australia
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Only copy rows across IF matches criteria

    Please find the attached sample document.
    Normally, the columns go all the way to AD, but I have deleted the 'sensitive' information.
    Basically, I just don't want it brining over 'blank' cells/rows like it is set up now.
    When I do the mail merge, as the first item is blank it stops looking. Also, if I use the filter to sort them so they go to the top, it seems to muck up the formula or something?
    Current Record.XLS

+ 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