#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Round up function

If i have a set of number in a column is is pobbible to somehow use the
rondup function on that column with out having to put the answers into
another column?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Round up function

Select the cells you would like to modify and run this one-line macro:

Sub shifty()
For Each r In Selection
r.Value = Application.WorksheetFunction.RoundUp(r.Value, 0)
Next
End Sub

--
Gary''s Student - gsnu200762


"shifty" wrote:

If i have a set of number in a column is is pobbible to somehow use the
rondup function on that column with out having to put the answers into
another column?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Round up function

How are the numbers derived?

If they are simply values then a macro will do it but if they are formula
derived numbers then this approach could cause formulas to be lost.

Mike

"shifty" wrote:

If i have a set of number in a column is is pobbible to somehow use the
rondup function on that column with out having to put the answers into
another column?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Round up function

=SUMPRODUCT(ROUNDUP(A1:A5,0))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"shifty" wrote in message
...
If i have a set of number in a column is is pobbible to somehow use the
rondup function on that column with out having to put the answers into
another column?



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
Round Len Function Help [email protected] Excel Worksheet Functions 16 August 25th 06 04:27 AM
how do i set up round function run superman Excel Worksheet Functions 1 October 6th 05 08:13 PM
The ROUND function Louise Excel Worksheet Functions 3 June 23rd 05 02:45 PM
help with round function Scott Excel Worksheet Functions 7 February 9th 05 07:23 PM
Round Function Pedro Serra Excel Discussion (Misc queries) 4 January 27th 05 06:13 PM


All times are GMT +1. The time now is 08:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"