+ Reply to Thread
Results 1 to 6 of 6

Pairing up names based on their assigned number

  1. #1
    Registered User
    Join Date
    01-20-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    5

    Question Pairing up names based on their assigned number

    secretvalentine.jpg

    So my goal is to come up with a formula to pair up the 26th person with the first person, the 2nd with the 25th, the 3rd with the 24th, etc. I also must do this by putting the full name of their match into the "Secret Valentine" column. I have absolutely no idea how I can do this, any suggestions? Would the INDIRECT function be in any way useful here?
    Last edited by hexr; 02-06-2013 at 06:57 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: Pairing up names based on their assigned number

    Hi hexr,

    The way you have it set, this should be pretty easy...

    Try this... =MATCH($B$3:$B$28,A3,0)

  3. #3
    Registered User
    Join Date
    01-20-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Pairing up names based on their assigned number

    I tried it and it came up as #NA. From reading about the MATCH function it looks like it could work, but I can't figure out how.

  4. #4
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: Pairing up names based on their assigned number

    Is Col A actual numbers? If so, then the formula should work... if not, try this instead...
    =MATCH($B$3:$B$28,VALUE(A3),0)

  5. #5
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: Pairing up names based on their assigned number

    Oops, my mistake...

    It should be INDEX, not MATCH...

    Try this... =INDEX($B$3:$B$28,A3)

  6. #6
    Registered User
    Join Date
    01-20-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Pairing up names based on their assigned number

    It worked, thank you!

+ 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