+ Reply to Thread
Results 1 to 3 of 3

Assign Letter from list based on two conditions.

  1. #1
    Forum Contributor stockgoblin42's Avatar
    Join Date
    05-26-2011
    Location
    vancouver, canada
    MS-Off Ver
    Excel 2010
    Posts
    222

    Assign Letter from list based on two conditions.

    Hi, I have a non-uniform list of letters that I'd like to pick one from based on the values of two cells, L26 and P28. To put this into a formula do I really need to do a 25 deep nested IF statement or can I do it another way?

    Thanks for any help.
    Attached Files Attached Files
    Last edited by stockgoblin42; 05-22-2013 at 03:58 PM.
    live logic & long prosper

  2. #2
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: Assign Letter from list based on two conditions.

    You can use vlookup. But you'll need a helper column.

    i.e. on column A, make it as 1;1 (cell A2), 1;2 (cell A3), ... ... , 5;5 (cell A6) etc

    and then on E1, the vlookup will be

    Please Login or Register  to view this content.

    If you don't want a helper column, you can do an array Vlookup with IF inside it.

    Please Login or Register  to view this content.
    Note that an array formula is put have Ctrl + Alt + Enter to make "curly" ({}) brackets
    Last edited by dluhut; 05-22-2013 at 04:11 PM.

  3. #3
    Forum Contributor stockgoblin42's Avatar
    Join Date
    05-26-2011
    Location
    vancouver, canada
    MS-Off Ver
    Excel 2010
    Posts
    222

    Re: Assign Letter from list based on two conditions.

    I figured out the relationship:

    Please Login or Register  to view this content.
    only 5 IFS! and no table needed!

+ 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