Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Vlookup Error, how to convert Text to Number

Hi,

You can also use a formula without changing the cells format, something like
this:

=VLOOKUP(TEXT(A1,"#"),table,2,0)

Cheers!
Jean-Guy

"claude jerry" wrote:

I have a Table with foll Detail Which is used for Vlookup (This is created
by spooling data from a software package)

Id Name Date Fee
129 Tom 15/12/07 500
158 Kat 14/11/01 450

The above id's (129 and 158 etc ) are Text values
I.e if I use a test, =Istext(Id Cell) it gives me "True"

Our head office sends me an excel File

Id Name Date Fee
129 Blank Blank Blank

The Id's they sent are in Number format
I used a Test =Isnumber(Id cell) it gives me "True"

I am using a VlookupFormula to fill the Blank information sent by Headoffice
by refering to by data stored in the first table. but since in the Original
table the Id's are in Text format and the Id's in the second table are
Number. Vlookup gives an error.

How can I convert these Numbers to text, or Text to Numbers.

Format Cells Numbers . . .. does not help

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Vlookup Error, how to convert Text to Number

Yes ! that was something new I was looking for.

Just for my extra information. . How will I change a Text 1234 to Number 1234

I guess for this Max's trick works well

Thanks both you guys

"pinmaster" wrote:

Hi,

You can also use a formula without changing the cells format, something like
this:

=VLOOKUP(TEXT(A1,"#"),table,2,0)

Cheers!
Jean-Guy

"claude jerry" wrote:

I have a Table with foll Detail Which is used for Vlookup (This is created
by spooling data from a software package)

Id Name Date Fee
129 Tom 15/12/07 500
158 Kat 14/11/01 450

The above id's (129 and 158 etc ) are Text values
I.e if I use a test, =Istext(Id Cell) it gives me "True"

Our head office sends me an excel File

Id Name Date Fee
129 Blank Blank Blank

The Id's they sent are in Number format
I used a Test =Isnumber(Id cell) it gives me "True"

I am using a VlookupFormula to fill the Blank information sent by Headoffice
by refering to by data stored in the first table. but since in the Original
table the Id's are in Text format and the Id's in the second table are
Number. Vlookup gives an error.

How can I convert these Numbers to text, or Text to Numbers.

Format Cells Numbers . . .. does not help

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Vlookup Error, how to convert Text to Number

Hi,

To change numbers formatted as text to real numbers you can use the ABS
function:

=ABS(A1)

Regards!
Jean-Guy

"claude jerry" wrote:

Yes ! that was something new I was looking for.

Just for my extra information. . How will I change a Text 1234 to Number 1234

I guess for this Max's trick works well

Thanks both you guys

"pinmaster" wrote:

Hi,

You can also use a formula without changing the cells format, something like
this:

=VLOOKUP(TEXT(A1,"#"),table,2,0)

Cheers!
Jean-Guy

"claude jerry" wrote:

I have a Table with foll Detail Which is used for Vlookup (This is created
by spooling data from a software package)

Id Name Date Fee
129 Tom 15/12/07 500
158 Kat 14/11/01 450

The above id's (129 and 158 etc ) are Text values
I.e if I use a test, =Istext(Id Cell) it gives me "True"

Our head office sends me an excel File

Id Name Date Fee
129 Blank Blank Blank

The Id's they sent are in Number format
I used a Test =Isnumber(Id cell) it gives me "True"

I am using a VlookupFormula to fill the Blank information sent by Headoffice
by refering to by data stored in the first table. but since in the Original
table the Id's are in Text format and the Id's in the second table are
Number. Vlookup gives an error.

How can I convert these Numbers to text, or Text to Numbers.

Format Cells Numbers . . .. does not help

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Vlookup Error, how to convert Text to Number

but
refering to some other context, If I have a Text value say '-235 and I want
to convert this Text into Number -235 . . . =Abs() will , show convert the
number as positive 235,

"pinmaster" wrote:

Hi,

To change numbers formatted as text to real numbers you can use the ABS
function:

=ABS(A1)

Regards!
Jean-Guy

"claude jerry" wrote:

Yes ! that was something new I was looking for.

Just for my extra information. . How will I change a Text 1234 to Number 1234

I guess for this Max's trick works well

Thanks both you guys

"pinmaster" wrote:

Hi,

You can also use a formula without changing the cells format, something like
this:

=VLOOKUP(TEXT(A1,"#"),table,2,0)

Cheers!
Jean-Guy

"claude jerry" wrote:

I have a Table with foll Detail Which is used for Vlookup (This is created
by spooling data from a software package)

Id Name Date Fee
129 Tom 15/12/07 500
158 Kat 14/11/01 450

The above id's (129 and 158 etc ) are Text values
I.e if I use a test, =Istext(Id Cell) it gives me "True"

Our head office sends me an excel File

Id Name Date Fee
129 Blank Blank Blank

The Id's they sent are in Number format
I used a Test =Isnumber(Id cell) it gives me "True"

I am using a VlookupFormula to fill the Blank information sent by Headoffice
by refering to by data stored in the first table. but since in the Original
table the Id's are in Text format and the Id's in the second table are
Number. Vlookup gives an error.

How can I convert these Numbers to text, or Text to Numbers.

Format Cells Numbers . . .. does not help

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Vlookup Error, how to convert Text to Number

you are absolutely correct, the abs function will return a positive
number...maybe someone else has a solution for that.

Regards!
Jean-Giu

"claude jerry" wrote:

but
refering to some other context, If I have a Text value say '-235 and I want
to convert this Text into Number -235 . . . =Abs() will , show convert the
number as positive 235,

"pinmaster" wrote:

Hi,

To change numbers formatted as text to real numbers you can use the ABS
function:

=ABS(A1)

Regards!
Jean-Guy

"claude jerry" wrote:

Yes ! that was something new I was looking for.

Just for my extra information. . How will I change a Text 1234 to Number 1234

I guess for this Max's trick works well

Thanks both you guys

"pinmaster" wrote:

Hi,

You can also use a formula without changing the cells format, something like
this:

=VLOOKUP(TEXT(A1,"#"),table,2,0)

Cheers!
Jean-Guy

"claude jerry" wrote:

I have a Table with foll Detail Which is used for Vlookup (This is created
by spooling data from a software package)

Id Name Date Fee
129 Tom 15/12/07 500
158 Kat 14/11/01 450

The above id's (129 and 158 etc ) are Text values
I.e if I use a test, =Istext(Id Cell) it gives me "True"

Our head office sends me an excel File

Id Name Date Fee
129 Blank Blank Blank

The Id's they sent are in Number format
I used a Test =Isnumber(Id cell) it gives me "True"

I am using a VlookupFormula to fill the Blank information sent by Headoffice
by refering to by data stored in the first table. but since in the Original
table the Id's are in Text format and the Id's in the second table are
Number. Vlookup gives an error.

How can I convert these Numbers to text, or Text to Numbers.

Format Cells Numbers . . .. does not help



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Vlookup Error, how to convert Text to Number

How about:

=SIGN(A1)*ABS(A1)

?
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"pinmaster" wrote in message
...
you are absolutely correct, the abs function will return a positive
number...maybe someone else has a solution for that.

Regards!
Jean-Giu

"claude jerry" wrote:

but
refering to some other context, If I have a Text value say '-235 and I
want
to convert this Text into Number -235 . . . =Abs() will , show convert
the
number as positive 235,

"pinmaster" wrote:

Hi,

To change numbers formatted as text to real numbers you can use the ABS
function:

=ABS(A1)

Regards!
Jean-Guy

"claude jerry" wrote:

Yes ! that was something new I was looking for.

Just for my extra information. . How will I change a Text 1234 to
Number 1234

I guess for this Max's trick works well

Thanks both you guys

"pinmaster" wrote:

Hi,

You can also use a formula without changing the cells format,
something like
this:

=VLOOKUP(TEXT(A1,"#"),table,2,0)

Cheers!
Jean-Guy

"claude jerry" wrote:

I have a Table with foll Detail Which is used for Vlookup (This
is created
by spooling data from a software package)

Id Name Date Fee
129 Tom 15/12/07 500
158 Kat 14/11/01 450

The above id's (129 and 158 etc ) are Text values
I.e if I use a test, =Istext(Id Cell) it gives me "True"

Our head office sends me an excel File

Id Name Date Fee
129 Blank Blank Blank

The Id's they sent are in Number format
I used a Test =Isnumber(Id cell) it gives me "True"

I am using a VlookupFormula to fill the Blank information sent by
Headoffice
by refering to by data stored in the first table. but since in the
Original
table the Id's are in Text format and the Id's in the second table
are
Number. Vlookup gives an error.

How can I convert these Numbers to text, or Text to Numbers.

Format Cells Numbers . . .. does not help



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Vlookup Error, how to convert Text to Number

Yes...also found this to work as well:

=IMREAL(A1)

Regards!
Jean-Guy

"RagDyeR" wrote:

How about:

=SIGN(A1)*ABS(A1)

?
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"pinmaster" wrote in message
...
you are absolutely correct, the abs function will return a positive
number...maybe someone else has a solution for that.

Regards!
Jean-Giu

"claude jerry" wrote:

but
refering to some other context, If I have a Text value say '-235 and I
want
to convert this Text into Number -235 . . . =Abs() will , show convert
the
number as positive 235,

"pinmaster" wrote:

Hi,

To change numbers formatted as text to real numbers you can use the ABS
function:

=ABS(A1)

Regards!
Jean-Guy

"claude jerry" wrote:

Yes ! that was something new I was looking for.

Just for my extra information. . How will I change a Text 1234 to
Number 1234

I guess for this Max's trick works well

Thanks both you guys

"pinmaster" wrote:

Hi,

You can also use a formula without changing the cells format,
something like
this:

=VLOOKUP(TEXT(A1,"#"),table,2,0)

Cheers!
Jean-Guy

"claude jerry" wrote:

I have a Table with foll Detail Which is used for Vlookup (This
is created
by spooling data from a software package)

Id Name Date Fee
129 Tom 15/12/07 500
158 Kat 14/11/01 450

The above id's (129 and 158 etc ) are Text values
I.e if I use a test, =Istext(Id Cell) it gives me "True"

Our head office sends me an excel File

Id Name Date Fee
129 Blank Blank Blank

The Id's they sent are in Number format
I used a Test =Isnumber(Id cell) it gives me "True"

I am using a VlookupFormula to fill the Blank information sent by
Headoffice
by refering to by data stored in the first table. but since in the
Original
table the Id's are in Text format and the Id's in the second table
are
Number. Vlookup gives an error.

How can I convert these Numbers to text, or Text to Numbers.

Format Cells Numbers . . .. does not help




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert text to number GrantW Excel Discussion (Misc queries) 2 October 26th 07 05:37 AM
convert number to text w/ error checking sign lynn Excel Worksheet Functions 1 June 6th 07 04:38 PM
Convert text number to number formate [email protected] Excel Discussion (Misc queries) 2 April 9th 07 10:48 AM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
not able to convert text, or graphic number to regular number in e knutsenk Excel Worksheet Functions 1 April 2nd 05 08:41 AM


All times are GMT +1. The time now is 08:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"