+ Reply to Thread
Results 1 to 3 of 3

format formula to read as text only

  1. #1
    Registered User
    Join Date
    01-20-2011
    Location
    Rochester, New York
    MS-Off Ver
    Excel 2007
    Posts
    3

    format formula to read as text only

    Hello,
    I am using a CONCATENATE formula to designate an ID number taken from multiple cells.
    =CONCATENATE(LEFTB(F2,2), LEFTB(E2,1), LEFTB(B2,3))
    Based on the result of that formula i have another sheet where i am using a LOOKUP formula so that when i type in the result of my concatenate formula on the previous page it will fill in information on the current sheet.
    =LOOKUP(F5,[NYSTAPWATCH.xlsx]Sheet1!$C$2:$C$33,[NYSTAPWATCH.xlsx]Sheet1!$B$2:$B$33)
    my formulas work for some of the ID numbers but others put in incorrect information. I am thinking its because excel isn't designating the results of the first formula as a text, rather a formula. I tried hiding and locking the formula but had the same results. Is there something i can add to my formula to designate to read as text?
    Last edited by NBVC; 01-20-2011 at 03:12 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: format formula to read as text only

    Try instead:

    =INDEX([NYSTAPWATCH.xlsx]Sheet1!$B$2:$B$33,MATCH(F5,[NYSTAPWATCH.xlsx]Sheet1!$C$2:$C$33,0))

    Lookup needs the column C values to be in ascending sorted order.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-20-2011
    Location
    Rochester, New York
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: format formula to read as text only

    Thank you for understanding my question so easily and responding with the solution. Huge help!

+ 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