+ Reply to Thread
Results 1 to 5 of 5

Problem with LOOKUP function - impossible?

  1. #1
    Registered User
    Join Date
    10-27-2012
    Location
    Durham
    MS-Off Ver
    Excel 2010
    Posts
    10

    Angry Problem with LOOKUP function - impossible?

    Hello again,

    I am in need of some more help.

    My data at the moment looks like this:

    4B
    4C
    4A
    2B
    2C
    2A
    1B
    1A
    ETC

    Each level above has a number associated with it, e.g. 1c = 9, 1b = 10, 1a = 11, 2c = 12, 2b = 13, 2a = 14, 3c = 15, 3b = 16, 3a = 17, 4c = 18 and so on...

    As far as I am aware there isn't a way of getting a cell to display text (e.g. 4B) as well as having a hidden 'number' or 'value' of 18. So what I am trying to do is to create a column to the right of this column which displays the cell to the left of its numerical value so that I can work with the numbers.

    So in order to convert text to numbers, I have used this formula =LOOKUP(P84,{"4C","4B","4A"},{"17","18","19"}) Just as a test to see if it would work. However, it doesn't as it gives the value of 4C - 19, which is incorrect.

    Can you correct my formula or help me with a multiple IF, THEN function?

    Thanks in advance

    Joanne

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Problem with LOOKUP function - impossible?

    Use
    Please Login or Register  to view this content.
    instead where A1:A100 contains your lookup text and col B your numbers

  3. #3
    Registered User
    Join Date
    10-27-2012
    Location
    Durham
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Problem with LOOKUP function - impossible?

    Thanks so much for your reply!!

    indexhelp.xlsx

    I have attached the file that I am working with as I am having trouble getting this to work. What am I doing wrong?

    Joanne

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Problem with LOOKUP function - impossible?

    Sorry my mistake try
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-27-2012
    Location
    Durham
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Problem with LOOKUP function - impossible?

    Brilliant thanks!!!

+ 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