Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
gaftalik
 
Posts: n/a
Default Using macro for decimal decrease or a utility ?


Hi All ,

In a big range of cells i need to adjust cells as following :
cells with the first decimal after comma greater than 0 to be kept with
decimal while cells with first decimal after comma is equal to 0 should
has no decimal .

Could that be done by the ASAP utilities and how , if not any way for a
macro to do that ?

Thank you very much.


--
gaftalik
------------------------------------------------------------------------
gaftalik's Profile: http://www.excelforum.com/member.php...fo&userid=6450
View this thread: http://www.excelforum.com/showthread...hreadid=484949

  #2   Report Post  
Dave O
 
Posts: n/a
Default Using macro for decimal decrease or a utility ?

Sounds like you want to round to thousands. Can you give examples of
your data, and how you'd like it to appear?

  #3   Report Post  
gaftalik
 
Posts: n/a
Default Using macro for decimal decrease or a utility ?


Supposing i have the following :

A1= 10,50
A2= 7,00
A3= 2,03
A4= 8,00

In a way by selecting the range A1: A4 i need to turn like this :
A1= 10,5
A2= 7
A3= 2
A4=8

Which keeps the first decimal after the comma of each value if it is
greater than 0 and delete what is 0 after the comma.
I would like to mention that by clicking the increasing and decreasing
decimals buttons could not solve it that way , it either keeps them
with 1 or 2 decimals. A rounding formula is not needed neither, it
should be a macro or a utility such ASAP but i dont know if it does
such thing and how ?

Many thanks .


--
gaftalik
------------------------------------------------------------------------
gaftalik's Profile: http://www.excelforum.com/member.php...fo&userid=6450
View this thread: http://www.excelforum.com/showthread...hreadid=484949

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
Can T Get Macro To Run! Nipper New Users to Excel 2 November 4th 05 04:48 AM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
Help with macro looping and color query function kevinm Excel Discussion (Misc queries) 10 May 26th 05 01:25 AM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM


All times are GMT +1. The time now is 04:02 PM.

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"