Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pat
 
Posts: n/a
Default Return quantity outstanding

In the following calculation the result returned is correct, only I want the
quantity required to round off the result to the nearest whole number, which
in this case is 9, this would then return 205

M2 = 3791
O2 = 300

=(M2+O2)/20
returns 204.55

So, instead of 204.55 being returned 9 should be displayed.

Anyone know what change I can make to the formula to return this result.

Thanks if you can be off help.
Pat


  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Pat

sorry don't follow you
if
=(M2+O2)/20 = 204.55
how can rounding the result to the nearest whole number equal 9

to round to 205 use
=ROUND((M2+O2)/20,0)

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Pat" wrote in message
...
In the following calculation the result returned is correct, only I want
the
quantity required to round off the result to the nearest whole number,
which
in this case is 9, this would then return 205

M2 = 3791
O2 = 300

=(M2+O2)/20
returns 204.55

So, instead of 204.55 being returned 9 should be displayed.

Anyone know what change I can make to the formula to return this result.

Thanks if you can be off help.
Pat




  #3   Report Post  
JulieD
 
Posts: n/a
Default

Hi Pat

sorry, figured out what you were after

does
=(CEILING((M2+O2)/20,1)-(M2+O2)/20)*20

give you what you want.

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"JulieD" wrote in message
...
Hi Pat

sorry don't follow you
if
=(M2+O2)/20 = 204.55
how can rounding the result to the nearest whole number equal 9

to round to 205 use
=ROUND((M2+O2)/20,0)

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
...well i'm working on it anyway
"Pat" wrote in message
...
In the following calculation the result returned is correct, only I want
the
quantity required to round off the result to the nearest whole number,
which
in this case is 9, this would then return 205

M2 = 3791
O2 = 300

=(M2+O2)/20
returns 204.55

So, instead of 204.55 being returned 9 should be displayed.

Anyone know what change I can make to the formula to return this result.

Thanks if you can be off help.
Pat






  #4   Report Post  
Pat
 
Posts: n/a
Default

JulieD,
That's exactly what I am looking for.
Many thanks


"JulieD" wrote in message
...
Hi Pat

sorry, figured out what you were after

does
=(CEILING((M2+O2)/20,1)-(M2+O2)/20)*20

give you what you want.

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
...well i'm working on it anyway
"JulieD" wrote in message
...
Hi Pat

sorry don't follow you
if
=(M2+O2)/20 = 204.55
how can rounding the result to the nearest whole number equal 9

to round to 205 use
=ROUND((M2+O2)/20,0)

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
...well i'm working on it anyway
"Pat" wrote in message
...
In the following calculation the result returned is correct, only I

want
the
quantity required to round off the result to the nearest whole number,
which
in this case is 9, this would then return 205

M2 = 3791
O2 = 300

=(M2+O2)/20
returns 204.55

So, instead of 204.55 being returned 9 should be displayed.

Anyone know what change I can make to the formula to return this

result.

Thanks if you can be off help.
Pat








  #5   Report Post  
JulieD
 
Posts: n/a
Default

you're welcome


"Pat" wrote in message
...
JulieD,
That's exactly what I am looking for.
Many thanks


"JulieD" wrote in message
...
Hi Pat

sorry, figured out what you were after

does
=(CEILING((M2+O2)/20,1)-(M2+O2)/20)*20

give you what you want.

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
...well i'm working on it anyway
"JulieD" wrote in message
...
Hi Pat

sorry don't follow you
if
=(M2+O2)/20 = 204.55
how can rounding the result to the nearest whole number equal 9

to round to 205 use
=ROUND((M2+O2)/20,0)

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
...well i'm working on it anyway
"Pat" wrote in message
...
In the following calculation the result returned is correct, only I

want
the
quantity required to round off the result to the nearest whole number,
which
in this case is 9, this would then return 205

M2 = 3791
O2 = 300

=(M2+O2)/20
returns 204.55

So, instead of 204.55 being returned 9 should be displayed.

Anyone know what change I can make to the formula to return this

result.

Thanks if you can be off help.
Pat










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
if the value of a cell in a range is not blank, then return the v. kvail Excel Worksheet Functions 2 April 8th 05 10:07 PM
Match Last Occurrence of two numbers and Return Date Sam via OfficeKB.com Excel Worksheet Functions 6 April 5th 05 12:40 PM
How do I return dynamic lists? liciakay Excel Worksheet Functions 1 March 30th 05 08:22 AM
If (either of these) return this taxmom Excel Worksheet Functions 6 March 29th 05 09:15 PM
Return lowest quantity Pat Excel Worksheet Functions 2 March 8th 05 09:59 PM


All times are GMT +1. The time now is 02:38 AM.

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"