|
| ||||||||||
| Tags: array, excel, number, office, stored, text, vlookup |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Number stored as text in vlookup
|
|
#2
| ||||
| ||||
| Re: Number stored as text in vlookup
What you had mentioned by this I can figure out that the customer column of worksheet is formatted as General and not as Text. So your data has mixed up with numbers and text. Excel consider numbers and text differently. I will recommend you to first use my solution in a sample worksheet. Make different copy of you sheet and insert =IF(T(cell ref.)="",TEXT(cell ref.,"#"), cell ref.). Cell ref means the address of your cell like F12 or D10. By this values will be displayed in text. Just copying and pasting the text only values over the original data it will be converted automatically. |
|
#3
| ||||
| ||||
| Re: Number stored as text in vlookup
The main reason behind your problem is that when your import or insert an external data they are left aligned. You can see numbers in the cell but excel see it as a text. The simple way to convert cell to a proper number quickly by highlighting your non functioning number click on the exclamation marks on the green box and select " Convert to Numbers". If you have an older version of excel then copy a empty cell. Select the list of text numbers. Use paste special from the edit menu. Perform Paste=values, operation=add. Then after that by applying a math operation on the text numbers the result will change to number. |
|
#4
| ||||
| ||||
| Re: Number stored as text in vlookup
As per I believe your main problem is that in the one part your are having both numbers and text. While in the other or result you don't want. I got rid of this issue by embedding a vlookup statement in a IF statement. For example lets take that in your worksheet the first column has an list of your customer's id and the second one is area. And in the second worksheet in the first column the same id's and the second has other information. Now try the formula : =IF(ISNA(VLOOKUP(A1,'Sheet1'!$A$1:$B$4,2,FALSE))=TRUE,VLOOKUP(VALUE(A1),'sheet1'!$A$1:$B$4,2,FALSE), VLOOKUP(A1,'sheet1'!$A$1:$B$4,2,FALSE)) It is based on numeric value. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Number stored as text in vlookup" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sum up a number of matches in Vlookup in Excel | Abélard | MS Office Support | 2 | 24-02-2012 05:58 PM |
| How to use VLOOKUP IF in cell that contains Text | RYAN$ | MS Office Support | 2 | 11-01-2012 03:06 PM |
| send text without number on mobile | abhi123tri | Portable Devices | 1 | 15-06-2010 11:31 PM |
| How to detect the number of files stored in Linux directory | Shanbaag | Operating Systems | 2 | 26-06-2009 12:49 PM |
| NOW WHAT? "The maximum number of secrets that may be stored in a single system has been exceeded" | aloha | Vista Help | 6 | 13-09-2008 02:15 AM |