Extracting data

Ruzzo

Board Regular
Joined
Nov 22, 2004
Messages
83
If I have a cell that contains the following:

A.00052536

What is the formula to extract the first 5 characters, so I'm left with 52536.

thanks in advance

Ruzzo
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
the right function returns the numeric data as text to convert to number use either of the following

=right(a1,5)+0
or
=right(a1,5)*1
or
=--right(a1,5)
 
Upvote 0
the right function returns the numeric data as text to convert to number use either of the following
I returned it as text on purpose, just in case there were leading zeroes... you procedure would remove any leading zeroes. Of course, the OP didn't say exactly what he wanted, so we will have to wait for him to respond.
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,543
Members
452,924
Latest member
JackiG

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