+ Reply to Thread
Results 1 to 3 of 3

How to Return a row based on Values in a given Column?

  1. #1
    Registered User
    Join Date
    10-10-2006
    Posts
    68

    How to Return a row based on Values in a given Column?

    I've just learned how to use the SUMIF function, and this question is similar but a little more complex..

    I want to scan through a column for particular values, and return the entire row that those values belong to (return it to another sheet ideally).

    Is there a function that does this, or is this macro material?

  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: How to Return a row based on Values in a given Column?

    The answer depends on how your data are structured, but you will need to use one of the Look UP functions, such as VLOOKUP or possibly a combination of Index/Match functions.

    See here for ehlp on thise functions: Contextures

    You might want to upload a sample workbook with a bit representative date and manually show the desired results so we have a better idea of how to answer.
    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-10-2006
    Posts
    68

    Re: How to Return a row based on Values in a given Column?

    Here's a sample..

    I want to be able, ideally, to have a little 'search' box set up so i can specify
    1) Whether i'm looking for Away or Home or BOTH (Column C or G or, C AND G)
    2) The specific team i'm looking for.. (teams from either column C or G, depending on home or away)

    So, for instance, i want to find "MTL Away" games... i'd like to be able to input this somewhere and have Rows 1, 16 and 34 copied from "Schedule" to Row 1 on the sheet, "Teams"

    does that help?
    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