Number to text

MN_Excel

Board Regular
Joined
Nov 8, 2010
Messages
153
For v-lookup purposes I need a number field to display as a text. Simply choosing the text option doesn't seem to work. Any ideas on how to convert without having to add "+0" to the end?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
For v-lookup purposes I need a number field to display as a text. Simply choosing the text option doesn't seem to work. Any ideas on how to convert without having to add "+0" to the end?
Not real clear what you're asking.

Maybe this...

A1 = some NUMERIC number

To convert that to a TEXT number:

A1&""
 
Upvote 0
Sleect the column and do Data > Text to columns, Next, Next, select Text, Finish.
 
Upvote 0
Basically, I'm doing a v-lookup and the return value is a blank cell, but rather than display a blank cell is it returning a zero.
 
Upvote 0
That was my thought too. The vlookup is already nestled in an "IF(ISNA(" formula. I think it was something to do with the format of the cells in the lookup range, but I can't quite figure it out.

Thanks for your input.
 
Upvote 0
=IF(ISNA(VLOOKUP(I381,'Sales!$C$1:$J$17000,8,FALSE)),"",(VLOOKUP(I381,'Sales Returns!$C$1:$J$17000,8,FALSE))).

The reason I think it is formatting is because I added new data to the range today and it is only that data coming back as zero. Data from previous months is properly coming back as blank.
 
Upvote 0
Try this

=IF(OR(ISNA(VLOOKUP(I381,'Sales!$C$1:$J$17000,8,FALSE)),VLOOKUP(I381,'Sales!$C$1:$J$17000,8,FALSE)=0),"",VLOOKUP(I381,'Sales Returns!$C$1:$J$17000,8,FALSE))
 
Upvote 0
Try this

=IF(OR(ISNA(VLOOKUP(I381,'Sales!$C$1:$J$17000,8,FALSE)),VLOOKUP(I381,'Sales!$C$1:$J$17000,8,FALSE)=0),"",VLOOKUP(I381,'Sales Returns!$C$1:$J$17000,8,FALSE))
There's a problem with the sheet name(s) ?

You have to use nested IFs. Otherwise, if the lookup throws an #N/A error the 2nd OR argument will also throw an #N/A error.

ISNA will be TRUE and the 2nd lookup will = #N/A so OR will = #N/A.

=IF(OR(TRUE,#N/A), ... = #N/A
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,713
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top