+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Returning the whole row in new sheet if value in one column match

  1. #1
    Registered User
    Join Date
    10-13-2009
    Location
    Denmark
    MS-Off Ver
    Excel 2007
    Posts
    6

    Returning the whole row in new sheet if value in one column match

    All,


    Which function do I use in order to return the content of a whole row, in a new sheet, in case the value in column A match a certain value (in this case "EU1")?

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

    Re: Returning the whole row in new sheet if value in one column match

    There are a number of ways to go about this, but here is a very basic VLOOKUP example.

    Other options include using an combination of INDEX and MATCH, DGET.

    If the attached example is not what you meant then post an example workbook with your structure, which shows the desired results.
    Attached Files Attached Files
    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.

  3. #3
    Registered User
    Join Date
    10-13-2009
    Location
    Denmark
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Returning the whole row in new sheet if value in one column match

    I am not sure about it..

    Enclosed you have a short example.

    What I want here is that all data (all columns) in Row 3 is returned in Sheet 2 because we have a "region" in column C that equals "EU2".

    I basically want all EU2 customers (out of a very long list of different customers/regions) sorted out and placed in a new sheet.
    Attached Files Attached Files

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

    Re: Returning the whole row in new sheet if value in one column match

    I basically want all EU2 customers (out of a very long list of different customers/regions) sorted out and placed in a new sheet.
    Use Advanced Filter with criteria and use the option to copy to a new location.

    See this link on using Advanced Filter

    You could also use a Pivot Table based on a dynamic named range and set up the region as a page field. Search on Pivot Tables if you are unfamiliar.

  5. #5
    Registered User
    Join Date
    10-13-2009
    Location
    Denmark
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Returning the whole row in new sheet if value in one column match

    thanks..

    I use the advance filter option now, but since data in updated every third day, I was looking for a more dynamic solution...
    I initially thought of Pivot tables, but wanted to know if there was any other solution since the data extracted needs further work and I didn't find that Pivots fittet so easily in.
    Based on your suggestions I will however take a look at Pivots once again..

    Thank you for your help!

+ 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