#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Rounding

Hey Guys and Galls,

Problem: I have got number from 1 to 99999999. I want Every result to
be check and when the number is between 1 to 999 it needs to be rounded
to 1000, 1001 to 1999 needs to become 2000 etc.

Sollution: I don't havre any that's why I asked.

Tnxs in advance


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Rounding

You can use a formula like

=ROUNDUP(A1,-3)

where A1 is the value to be rounded.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Syrus the Virus "
wrote in message
...
Hey Guys and Galls,

Problem: I have got number from 1 to 99999999. I want Every

result to
be check and when the number is between 1 to 999 it needs to be

rounded
to 1000, 1001 to 1999 needs to become 2000 etc.

Sollution: I don't havre any that's why I asked.

Tnxs in advance


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Rounding

Use this formula and copy down

=ROUNDUP(A1,-3)

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Syrus the Virus " wrote in
message ...
Hey Guys and Galls,

Problem: I have got number from 1 to 99999999. I want Every result to
be check and when the number is between 1 to 999 it needs to be rounded
to 1000, 1001 to 1999 needs to become 2000 etc.

Sollution: I don't havre any that's why I asked.

Tnxs in advance


---
Message posted from http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Rounding

Like this????? it doesn't work

Sheets("Materialview").Cells(L, k) = "RoundUp(A1, -3)

--
Message posted from http://www.ExcelForum.com

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Rounding

No, like this

Sheets("Materialview").Cells(L, k) =
WorksheetFunction.RoundUp(Range("A1"), -3)


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Syrus the Virus " wrote in
message ...
Like this????? it doesn't work

Sheets("Materialview").Cells(L, k) = "RoundUp(A1, -3)"


---
Message posted from http://www.ExcelForum.com/





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Rounding

One way:

=CEILING(A1,1000)

In article ,
Syrus the Virus
wrote:

Hey Guys and Galls,

Problem: I have got number from 1 to 99999999. I want Every result to
be check and when the number is between 1 to 999 it needs to be rounded
to 1000, 1001 to 1999 needs to become 2000 etc.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Rounding

For some of you it ain't easy to see................................
If I knew how to work excel like you do awnsers like =CEILING(A1,1000
and functions that don't work would be clear t
me................................................ .............

My situation:

A variable cell need to be rounded
A cell with the Row L and Column k from sheet MaterialView
It already contains the data put in variable E this data needs t
rounded and be put away in cell Row L + 1 and Column k + 1

Now does anyone can help me with an awnser for stupi
people!!!!!?!?!?!?!?!?!?!??!?!?!?!??!??!?!!?!?!?!? ?!?!?

--
Message posted from http://www.ExcelForum.com

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
Rounding Maxine Excel Worksheet Functions 2 July 27th 09 09:18 AM
ROUNDING DOWN Paul Webster Excel Discussion (Misc queries) 4 July 21st 09 01:39 AM
ROUNDING FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH SunshineinFt.Myers[_2_] Excel Worksheet Functions 7 March 5th 09 06:41 PM
I need a formula with rounding up & rounding down to the nearest . Tony Kay Excel Worksheet Functions 3 May 29th 07 11:13 PM
rounding ynissel Excel Discussion (Misc queries) 8 June 3rd 05 07:41 PM


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