+ Reply to Thread
Results 1 to 5 of 5

IF formula to replace initials with numbers

  1. #1
    Forum Contributor
    Join Date
    06-28-2009
    Location
    newcastle, uk
    MS-Off Ver
    Excel 2010
    Posts
    187

    IF formula to replace initials with numbers

    Hi guys

    Firstly I have attached my spreadsheet so it is a bit more clearer as no doubt my query will sound a lot more complicated then it actually is!

    I have a spreadsheet and within this is a table containing rankings from 1 to 34, with an initial beside each of them on the next cell column.

    I also have on cells D4 to D7 initials which are taken from the table. What I am wanting to achieve is in column V be able to convert the initials from D4 to D7 into numbers corresponding with what the initials are ranked in the original table. Im sure this is possible, just not sure how to go about it.

    Any tips would be greatly appreciated.

    Thanks
    Julie
    Attached Files Attached Files
    Last edited by batjl9; 12-29-2010 at 10:25 AM.

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: IF formula to replace initials with numbers

    Hi Julie,

    Your description doesn't quite agree with the sample you provided; however, if I assume you're referring to the jockey initials in column "T" (vice "D") then perhaps this formula in cell V4 (autofill down) might help:

    Please Login or Register  to view this content.
    As a side note, if you switched your columns "A" and "B" around, you'd be able to accomplish the same result using a VLOOKUP function instead of the INDEX ~ MATCH functions.

    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: IF formula to replace initials with numbers

    Another approach in V4 with VLOOKUP

    =VLOOKUP(T4,CHOOSE({1,2},$B$2:$B$35,$A$2:$A$35),2,FALSE)
    Last edited by arthurbr; 12-29-2010 at 05:36 AM.

  4. #4
    Forum Contributor
    Join Date
    06-28-2009
    Location
    newcastle, uk
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: IF formula to replace initials with numbers

    Thanks for the advice, i've got it to work soundly.

    Thanks again
    Julie

  5. #5
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: IF formula to replace initials with numbers

    Quote Originally Posted by arthurbr View Post
    Another approach in V4 with VLOOKUP

    =VLOOKUP(T4,CHOOSE({1,2},$B$2:$B$35,$A$2:$A$35),2,FALSE)

    Dear Arthur,

    I have nothing to offer to this query Honestly, but just felt like making a mention of the different VLOOKUP ..This is really very informative and good to know about this approach..

    This is to avoid the traditional INDEX-MATCH approach..

    Please Login or Register  to view this content.
    If not mistaken these are Array Ranges 1-> $B$2:$B$35 & 2-> $A$2:$A$35

    VEry good..

+ 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