ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   number rounding (https://www.excelbanter.com/excel-worksheet-functions/84275-number-rounding.html)

tamiluchi

number rounding
 
can i set rounding conditionally? up from .5, down if below?

Gary''s Student

number rounding
 
Use the ROUND() function:

=ROUND(A1,0)

will yield 1 if A1 contains 1.1
will yield 2 if A1 contains 1.9
--
Gary's Student


"tamiluchi" wrote:

can i set rounding conditionally? up from .5, down if below?


tamiluchi

number rounding
 
I'm doing this for a whole column. Each cell in this column contains an
average for the sum of 2 rows. I want to round the average up if .5 or
greater, down if less than .5. I can't make it work. I have ROUND(.5,1), but
it rounds all the decimals up, even those less than .5

"Gary''s Student" wrote:

Use the ROUND() function:

=ROUND(A1,0)

will yield 1 if A1 contains 1.1
will yield 2 if A1 contains 1.9
--
Gary's Student


"tamiluchi" wrote:

can i set rounding conditionally? up from .5, down if below?


Bob Phillips

number rounding
 
Use

=ROUND(A2,0)

assuming A2 has the average formula.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"tamiluchi" wrote in message
...
I'm doing this for a whole column. Each cell in this column contains an
average for the sum of 2 rows. I want to round the average up if .5 or
greater, down if less than .5. I can't make it work. I have ROUND(.5,1),

but
it rounds all the decimals up, even those less than .5

"Gary''s Student" wrote:

Use the ROUND() function:

=ROUND(A1,0)

will yield 1 if A1 contains 1.1
will yield 2 if A1 contains 1.9
--
Gary's Student


"tamiluchi" wrote:

can i set rounding conditionally? up from .5, down if below?




tamiluchi

number rounding
 
that seems to work. thank you so very much!!

"Bob Phillips" wrote:

Use

=ROUND(A2,0)

assuming A2 has the average formula.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"tamiluchi" wrote in message
...
I'm doing this for a whole column. Each cell in this column contains an
average for the sum of 2 rows. I want to round the average up if .5 or
greater, down if less than .5. I can't make it work. I have ROUND(.5,1),

but
it rounds all the decimals up, even those less than .5

"Gary''s Student" wrote:

Use the ROUND() function:

=ROUND(A1,0)

will yield 1 if A1 contains 1.1
will yield 2 if A1 contains 1.9
--
Gary's Student


"tamiluchi" wrote:

can i set rounding conditionally? up from .5, down if below?





tamiluchi

number rounding
 
Oh, darn! That works wonderfully except that it rounds up greater than .5 ...
I need it to round up at .5

"tamiluchi" wrote:

that seems to work. thank you so very much!!

"Bob Phillips" wrote:

Use

=ROUND(A2,0)

assuming A2 has the average formula.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"tamiluchi" wrote in message
...
I'm doing this for a whole column. Each cell in this column contains an
average for the sum of 2 rows. I want to round the average up if .5 or
greater, down if less than .5. I can't make it work. I have ROUND(.5,1),

but
it rounds all the decimals up, even those less than .5

"Gary''s Student" wrote:

Use the ROUND() function:

=ROUND(A1,0)

will yield 1 if A1 contains 1.1
will yield 2 if A1 contains 1.9
--
Gary's Student


"tamiluchi" wrote:

can i set rounding conditionally? up from .5, down if below?





Bob Phillips

number rounding
 
No it rounds .5 up. Your value is probably less than .5 but formatted to 1
decimal place so it looks like .5

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"tamiluchi" wrote in message
...
Oh, darn! That works wonderfully except that it rounds up greater than .5

....
I need it to round up at .5

"tamiluchi" wrote:

that seems to work. thank you so very much!!

"Bob Phillips" wrote:

Use

=ROUND(A2,0)

assuming A2 has the average formula.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"tamiluchi" wrote in message
...
I'm doing this for a whole column. Each cell in this column contains

an
average for the sum of 2 rows. I want to round the average up if .5

or
greater, down if less than .5. I can't make it work. I have

ROUND(.5,1),
but
it rounds all the decimals up, even those less than .5

"Gary''s Student" wrote:

Use the ROUND() function:

=ROUND(A1,0)

will yield 1 if A1 contains 1.1
will yield 2 if A1 contains 1.9
--
Gary's Student


"tamiluchi" wrote:

can i set rounding conditionally? up from .5, down if below?






tamiluchi

number rounding
 
You are so right! Thank you very much... again!

"Bob Phillips" wrote:

No it rounds .5 up. Your value is probably less than .5 but formatted to 1
decimal place so it looks like .5

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"tamiluchi" wrote in message
...
Oh, darn! That works wonderfully except that it rounds up greater than .5

....
I need it to round up at .5

"tamiluchi" wrote:

that seems to work. thank you so very much!!

"Bob Phillips" wrote:

Use

=ROUND(A2,0)

assuming A2 has the average formula.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"tamiluchi" wrote in message
...
I'm doing this for a whole column. Each cell in this column contains

an
average for the sum of 2 rows. I want to round the average up if .5

or
greater, down if less than .5. I can't make it work. I have

ROUND(.5,1),
but
it rounds all the decimals up, even those less than .5

"Gary''s Student" wrote:

Use the ROUND() function:

=ROUND(A1,0)

will yield 1 if A1 contains 1.1
will yield 2 if A1 contains 1.9
--
Gary's Student


"tamiluchi" wrote:

can i set rounding conditionally? up from .5, down if below?







Ron Rosenfeld

number rounding
 
On Thu, 20 Apr 2006 08:20:02 -0700, tamiluchi
wrote:

can i set rounding conditionally? up from .5, down if below?


=ROUND(A1,0)


--ron


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com