+ Reply to Thread
Results 1 to 9 of 9

Excel 2007 : Find & Select Help

  1. #1
    Registered User
    Join Date
    10-21-2011
    Location
    Laramie, Wyoming
    MS-Off Ver
    Excel 2007
    Posts
    4

    Find & Select Help

    Greetings,

    I have a list of subject I.D.s in Column L. Each subject I.D. as an individual score ranging from 1-5. I am attempting to use the Find and Select feature to locate specific I.D.s in column L, and when it does, to place the corresponding score in the adjacent column (M) in order to avoid inputting the scores manually. I have 41,000 rows of data to go through so I'm trying to be as efficient as possible.

    Any suggestions?

    jwalker
    Last edited by jwalker52; 10-24-2011 at 11:42 PM.

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Find & Select Help

    Take a look at the VLOOKUP function.
    Please Login or Register  to view this content.
    Replace the ID with the reference to the cell you want to evaluate. Put a 2 column table of ID's and scores somewhere in your book, and name it ScoreTable. IDs go in the first column, corresponding scores go in the second column.

    Have I understood what you're trying to do correctly?
    Last edited by tlafferty; 10-21-2011 at 06:57 PM. Reason: corrected typo... :)
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Find & Select Help

    jwalker52,

    Where is the "corresponding" score coming from or how is it assigned/determined? Do you have a table that looks like:

    SubID....Score
    sID-1.....4
    sID-2.....3
    sID-3.....5
    sID-4.....1
    sID-5.....3
    .
    .
    .

    ?
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    10-21-2011
    Location
    Laramie, Wyoming
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Find & Select Help

    Hello tigeravator,

    Yes. I have a separate Excel worksheet that simple lists the I.D.s (of teachers in this case), each with a corresponding value. I've tried using the Find & Select button, select REPLACE from the drop down menu, onto the dialogue box. I typed in the I.D. number in the FIND box. Then typed in the corresponding value (1-5) in the REPLACE box. although, I don't want to replace the I.D. with the value. I want the value to appear in the next colomn (which is currently blank) next to all the respective I.Ds. For example, I.D. number 111396 has a corresponding value of [1]. The I.D. might be listed 81 times in all the data. For each time it is listed in Colume L, I want [1] to appear in the next cell over in Column M.

    Muddled!

  5. #5
    Registered User
    Join Date
    10-21-2011
    Location
    Laramie, Wyoming
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Find & Select Help

    Hi Tom.

    I think you may be on to the problem. I have a separate Excel worksheet that simply lists the I.D.s (of teachers in this case), each with a corresponding value. I've tried using the Find & Select button, select REPLACE from the drop down menu, onto the dialogue box where I type in the I.D. number in the FIND box. Then typed in the corresponding value (1-5) in the REPLACE box. I know this is not the correct approach as I do not want to replace the I.D. with the value. I want the value to appear in the next colomn (which is currently blank) next to all the respective I.Ds. For example, I.D. number 111396 has a corresponding value of [1]. The I.D. might be listed 81 times throughout the data base. For each time it is listed in Colume L, I want [1] to appear in the next cell over in Column M.

    I hope this helps.
    jwalker

  6. #6
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Find & Select Help

    VLOOKUP will definitely do this for you. If you attach a sample workbook, I'll show you. Click Go Advanced, then click the paperclip icon and browse to upload your file.

  7. #7
    Registered User
    Join Date
    05-13-2011
    Location
    Birmingham
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: Find & Select Help

    jwalker52,

    It is highly recommended to upload the file for clarity purpose. What I perceive from your writing is : you want to add number adjacent to each IDS. I have no idea how different IDS you have in your 41k+ data. If they are small then:

    copy column L into M, then select column M and run find replace dialogue.

    ELSE
    add IFs into this code to get output

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    10-21-2011
    Location
    Laramie, Wyoming
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Find & Select Help

    A brilliant simple solution. Thankyou. I'll give it a go.

  9. #9
    Registered User
    Join Date
    05-13-2011
    Location
    Birmingham
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: Find & Select Help

    Please mark it solved when done and may add to the user's reputation by clicking the scales icon..

+ 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