+ Reply to Thread
Results 1 to 2 of 2

Vlookup formula to convert text to values

  1. #1
    Registered User
    Join Date
    03-12-2022
    Location
    Atlanta, Georgia
    MS-Off Ver
    365
    Posts
    94

    Vlookup formula to convert text to values

    I have a SourceData that displays values as text and a subsequent table that pulls from it. How can I modify my Vlookup formula in Table1 so data is pulled as values and my Total row works correctly?
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Vlookup formula to convert text to values

    You can put a double-minus in front of your VLOOKUP function like this in C8:

    =IFERROR(--VLOOKUP($B8,SourceData,2,FALSE),"")

    then copy down. This will convert the text value to a numeric value. Do the same for D8.

    Hope this helps.

    Pete

+ 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] Convert text with numbers to values while keepingthe text
    By valanton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2019, 10:01 AM
  2. Convert formula to values and wrap text automatically
    By suchetherrah in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-09-2016, 11:42 PM
  3. Convert text to time and vlookup getting error.
    By JuauM in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-24-2015, 12:38 AM
  4. Convert Text Values to Specific Numeric Values
    By lmp101010 in forum Excel General
    Replies: 5
    Last Post: 09-06-2014, 04:00 PM
  5. Convert Cell Formula to Convert Text to VBA Code
    By PY_ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-08-2014, 05:51 PM
  6. [SOLVED] Convert Number to Text (to enable vlookup)
    By kenny.fsw in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-26-2013, 08:03 AM
  7. [SOLVED] How to convert values in to text
    By Vineet in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-15-2006, 05:55 AM

Tags for this Thread

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