A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how do you divide the average of a number into 3 different cells.



 
 
Thread Tools Display Modes
  #1  
Old July 25th, 2006, 09:44 PM posted to microsoft.public.excel.newusers
Shaun
external usenet poster
 
Posts: 115
Default how do you divide the average of a number into 3 different cells.

i am trying to do a stock and order for work. i have to divide the amount of
sales by the quantity of units in a case to come up with ( cases required to
order). i have done that but i need to average that total into to three
cells. e.g 12 = 4 4 4, 11 = 4 4 3
  #2  
Old July 25th, 2006, 10:07 PM posted to microsoft.public.excel.newusers
Excelenator
external usenet poster
 
Posts: 1
Default how do you divide the average of a number into 3 different cells.


Assuming you want the last column to be the "catch" column, that is it
will either be higher or lower than the other two columns by one if the
number is not divisible by three evenly you can try the following:


Code:
--------------------
Row Col A Col B Col C Col D
11 11 =MROUND(A11,3)/3 =MROUND(A11,3)/3 =MROUND(A11,3)/3-(MROUND(A11,3)-A11)
12 12 =MROUND(A12,3)/3 =MROUND(A12,3)/3 =MROUND(A12,3)/3-(MROUND(A12,3)-A12)
13 13 =MROUND(A13,3)/3 =MROUND(A13,3)/3 =MROUND(A13,3)/3-(MROUND(A13,3)-A13)
--------------------


--
Excelenator


------------------------------------------------------------------------
Excelenator's Profile: http://www.excelforum.com/member.php...o&userid=36768
View this thread: http://www.excelforum.com/showthread...hreadid=564899

  #3  
Old July 25th, 2006, 10:08 PM posted to microsoft.public.excel.newusers
SteveW
external usenet poster
 
Posts: 399
Default how do you divide the average of a number into 3 different cells.

On Tue, 25 Jul 2006 21:44:02 +0100, Shaun
wrote:

i am trying to do a stock and order for work. i have to divide the
amount of
sales by the quantity of units in a case to come up with ( cases
required to
order). i have done that but i need to average that total into to three
cells. e.g 12 = 4 4 4, 11 = 4 4 3


don't use the word average - confusing.

You want to split or spread

if A5 = 12
then B5 = roundup(a5/3,0)
c5 = roundup(a5/3,0)
d5 = a5-b5-c5

This gives odd result for 10, ie 4,4,2
and for 9 result is 3,3,3

If this is acceptable
otherwise
change c5 = roundup((a5-b5)/2,0)
not 10 produces 4,3,3



--
Steve (3)
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Divide a number into multiple cells rhon101 General Discussion 2 May 21st, 2006 06:43 AM
Sequential number Scott Running & Setting Up Queries 16 April 22nd, 2006 12:53 AM
Average only cells that contain numbers April Worksheet Functions 2 April 11th, 2006 05:29 AM
page number positioning and format tinaa Page Layout 3 February 4th, 2006 12:38 AM
Need Subforms? AccessRookie Using Forms 7 April 8th, 2005 09:30 AM


All times are GMT +1. The time now is 10:03 PM.


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