+ Reply to Thread
Results 1 to 3 of 3

=vlookup in formatted text

  1. #1
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    =vlookup in formatted text

    I am trying to return a value from a =vlookup where the array has some lines with spaces. It is easy the other way using trim. I've attached a sample.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: =vlookup in formatted text

    Please try at F4
    =VLOOKUP("*"&E4,$B$4:$C$9,2,FALSE)

    But better approach is to clean data from Column B.

  3. #3
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: =vlookup in formatted text

    I usually would clean up the data but it is an automated dump from MSP with numerous different indents.

    You solution is exactly what I needed. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Vlookup if text is formatted in a certain way
    By alesha711 in forum Excel General
    Replies: 8
    Last Post: 04-16-2019, 12:16 PM
  2. Convert formatted text to fixed text value (time)
    By steez in forum Excel General
    Replies: 2
    Last Post: 04-10-2015, 03:12 PM
  3. Vlookup and RGB Formatted cell acorrdingly.....
    By Extrude72 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-27-2014, 09:03 AM
  4. Extracting numbers and text from inconsistent text/number formatted string
    By Brandivil in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-25-2013, 01:46 PM
  5. Replies: 7
    Last Post: 07-31-2009, 10:49 AM
  6. Pasting HTML formatted text as plain text in Excel
    By JeffCutter in forum Excel General
    Replies: 1
    Last Post: 09-21-2007, 07:43 AM
  7. Converting 'General' formatted cells to Text formatted cell using.
    By Zahid Khan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2005, 04:06 PM

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