If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Convertering cell values

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-01-11, 08:40
Trinsan Trinsan is offline
Registered User
 
Join Date: Oct 2005
Posts: 168
Convertering cell values

Formatting a cell's value is often easy enough.

Right now I have a somewhat trickier assignment. Next to a column with decimal separated values (i.e0,87 3,21 12,03) I need to convert the values to 00:87 03:21 12:03.

Been trying my way around formatting the cells, and doing isnert specials, but sitll have't worked it out. Any suggestions while I keep trying different ways are much appreciated.

Cheers, T
__________________
IT squid: networks, servers, firewalls, routers and I dabble a little with SQL-server and Access as well....
Reply With Quote
  #2 (permalink)  
Old 08-02-11, 10:45
apr pillai apr pillai is offline
Registered User
 
Join Date: Jan 2009
Location: Kerala, India
Posts: 107
Try the SUBSTITUTE() Function.

=(A1,",",":") where A1 is the cell where you have the value 0,87 3,21 12,03
the result will be 0:87 3:21 12:03 (how you got the value 0,87).

The result will appear in the Cell where you enter the SUBSTITUTE() Function. The original value will remain where it is.

You can copy paste the expression down all the rows to covert all values.
__________________
http://www.msaccesstips.com (Learn MS-Access Tips & Tricks)
Learn Advanced MS-Access Programming with sample VBA Code.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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