Need to remove space from a column & Cell should be formated to Number Format..
I was trying to do some reports by pulling data from the server..
Where i get the time worked on each project
like 45.00 with space in the end.. I tried Substitute(A2, " ",""), it worked but A2 which contains 45.00 is an Text column.
So what i want is when i remove the space the data should be converted to Number format & it should also retain the decimal point (i.e., .00)..
Can anyone please help on this??
Re: Need to remove space from a column & Cell should be formated to Number Format..
hi Arjoos, welcome to the forum. try:
or using your formula:
=VALUE(Substitute(A2, " ",""))
whatever decimals you see is simply formatting. if you don't see it, you can simply format cells. to forcefully place 2 decimals by formulas would make it a text
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled
| How to Get Quick & Good Answers
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By BowHunter09 in forum Excel Programming / VBA / Macros
Last Post: 07-31-2013, 09:06 PM
By Ocean Zhang in forum Excel General
Last Post: 09-29-2012, 01:52 PM
By NineIron in forum Excel Charting & Pivots
Last Post: 02-09-2012, 01:03 PM
By lil_ern63 in forum Excel Programming / VBA / Macros
Last Post: 08-20-2010, 12:19 PM
By japorms in forum Excel General
Last Post: 06-29-2006, 01:20 PM
Tags for this Thread
Search Engine Friendly URLs by vBSEO 3.6.0 RC 1