Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Martina
 
Posts: n/a
Default WHATS AN EASY FUNCTION TO USE TO ROUND TO THE NEAREST THOUSAND?

How do I round to the nearest thousand without individually having to do it
for every cell?
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
if you want to do this for many cells you'll have to use VBA. Another
option: In a helper cell enter
=ROUND(A1,-3)
and copy for all rows

--
Regards
Frank Kabel
Frankfurt, Germany

Martina wrote:
How do I round to the nearest thousand without individually having to
do it for every cell?



  #3   Report Post  
Don Guillett
 
Posts: n/a
Default

Pls don't type in all caps.

Sub roundto1000()
For Each c In Selection
c.Value = Round(c / 1000, 0) * 1000
Next c
End Sub

--
Don Guillett
SalesAid Software

"Martina" wrote in message
...
How do I round to the nearest thousand without individually having to do

it
for every cell?



  #4   Report Post  
Martina
 
Posts: n/a
Default

What is a VBA? Doing it in a helper cell means you have to do it for every
cell in the range. I als need to decrease the cell value more i.e. instead
of having 47,000 I need 47.

"Frank Kabel" wrote:

Hi
if you want to do this for many cells you'll have to use VBA. Another
option: In a helper cell enter
=ROUND(A1,-3)
and copy for all rows

--
Regards
Frank Kabel
Frankfurt, Germany

Martina wrote:
How do I round to the nearest thousand without individually having to
do it for every cell?




  #5   Report Post  
Don Guillett
 
Posts: n/a
Default

Give us your range (a2:c400)??? and then my macro can be modified to work
for you. You would then copy into a module and execute to change all. The
easiest, for you, would be to:

highlight the cells to changeright click sheet tabview codecopy\paste my
macroput cursor somewhere in the macro textF5if all is well,SAVE

--
Don Guillett
SalesAid Software

"Martina" wrote in message
...
What is a VBA? Doing it in a helper cell means you have to do it for

every
cell in the range. I als need to decrease the cell value more i.e.

instead
of having 47,000 I need 47.

"Frank Kabel" wrote:

Hi
if you want to do this for many cells you'll have to use VBA. Another
option: In a helper cell enter
=ROUND(A1,-3)
and copy for all rows

--
Regards
Frank Kabel
Frankfurt, Germany

Martina wrote:
How do I round to the nearest thousand without individually having to
do it for every cell?






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
Amount or Numbers in Words ron New Users to Excel 6 December 24th 04 07:32 PM
How can I round an hour to the nearest 1/4 hour? Ms Chewie Excel Worksheet Functions 5 December 21st 04 05:05 AM
Spellnumber Norman Jones Excel Worksheet Functions 6 December 13th 04 07:21 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Round Time cpme Excel Worksheet Functions 2 November 18th 04 07:09 PM


All times are GMT +1. The time now is 11:32 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"