+ Reply to Thread
Results 1 to 5 of 5

Help with formula that looks up numbers

  1. #1
    Forum Contributor
    Join Date
    02-09-2007
    Location
    UK
    MS-Off Ver
    2019 & 365
    Posts
    304

    Help with formula that looks up numbers

    I need a way of searching / matching sheet 1 column D for a invoice number, then searching sheet 2, column I for the same invoice number.
    Once all the matches are found I need the values that correspond that invoice number drawn together onto one spread sheet.
    The values I need shown in red text
    This needs to happen for all invoice numbers that are matched automatically.

    See that attached filr for more info.


    Any ideas on how to go about it?

    Regards BVG
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Badvgood
    I need a way of searching / matching sheet 1 column D for a invoice number, then searching sheet 2, column I for the same invoice number.
    Once all the matches are found I need the values that correspond that invoice number drawn together onto one spread sheet.
    The values I need shown in red text
    This needs to happen for all invoice numbers that are matched automatically.

    See that attached filr for more info.


    Any ideas on how to go about it?

    Regards BVG
    Hi,

    I hope that you know a little VBA.

    As a start, Record a macro, apply AutoFilter to the first sheet, column D, and copy the displayed rows to the new worksheet, then apply autofilter to the second sheet, column I, and copy all displayed rows to the worksheet as required.

    If you do not want to use VB code then follow the same Filter & Copy-Paste procedure manually.

    hth
    ---
    Si fractum non sit, noli id reficere.

  3. #3
    Forum Contributor
    Join Date
    02-09-2007
    Location
    UK
    MS-Off Ver
    2019 & 365
    Posts
    304
    Sorry I know nothing of VBA, but if thats what I need to learn it can be done.

    Thanks for the help,

    Regards BVG

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Badvgood
    Sorry I know nothing of VBA, but if thats what I need to learn it can be done.

    Thanks for the help,

    Regards BVG
    Hi,

    the recorded macro is always a good place to start for most tasks required, then you can read and modify (or have modified) that code as required.

    http://www.excelforum.com/showthread.php?t=584092
    lists many good references, especially for VB tutorials etc, and when you get stuck there's always the Programming forum.

    ---

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523
    Look at the examples from these two sites

    http://support.microsoft.com/kb/141770

    http://www.contextures.com/xlautofilter03.html

    Take a look at the new example
    Attached Files Attached Files

+ 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