Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to take only the whole number portion of a result and use it to get
another answer, but my formula seems to use the whole answer. Example C3=15, f9=40. I divide f9 by c3 and get 2.666666 in g9. Now I need to display the remaining part of my answer as a whole number in cell h9. So my formula I come up with is this =(f9-(g9*c3)). This alway gives me 0 as the answer. I need my worksheek to show 2 full baskets (heading of column g) and 10 each (heading of col h) |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
For your example row, put this in G9...
=INT(F9/C3) and this in H9... =MOD(F9,C3) -- Rick (MVP - Excel) "dbarc" wrote in message ... I need to take only the whole number portion of a result and use it to get another answer, but my formula seems to use the whole answer. Example C3=15, f9=40. I divide f9 by c3 and get 2.666666 in g9. Now I need to display the remaining part of my answer as a whole number in cell h9. So my formula I come up with is this =(f9-(g9*c3)). This alway gives me 0 as the answer. I need my worksheek to show 2 full baskets (heading of column g) and 10 each (heading of col h) |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this as the formula in G9:
=INT(F9/C3) -- Biff Microsoft Excel MVP "dbarc" wrote in message ... I need to take only the whole number portion of a result and use it to get another answer, but my formula seems to use the whole answer. Example C3=15, f9=40. I divide f9 by c3 and get 2.666666 in g9. Now I need to display the remaining part of my answer as a whole number in cell h9. So my formula I come up with is this =(f9-(g9*c3)). This alway gives me 0 as the answer. I need my worksheek to show 2 full baskets (heading of column g) and 10 each (heading of col h) |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
try this in G9
=ROUND(F9/C3,0) this will either round up or down to the nearest whole number -- Hope this is helpful Pls click the Yes button below if this post provide answer you have asked Thank You cheers, francis Am not a greek but an ordinary user trying to assist another "dbarc" wrote: I need to take only the whole number portion of a result and use it to get another answer, but my formula seems to use the whole answer. Example C3=15, f9=40. I divide f9 by c3 and get 2.666666 in g9. Now I need to display the remaining part of my answer as a whole number in cell h9. So my formula I come up with is this =(f9-(g9*c3)). This alway gives me 0 as the answer. I need my worksheek to show 2 full baskets (heading of column g) and 10 each (heading of col h) |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
But the OP didn't want that, hence ROUNDDOWN or INT is required.
-- David Biddulph "Francis" wrote in message ... try this in G9 =ROUND(F9/C3,0) this will either round up or down to the nearest whole number -- Hope this is helpful Pls click the Yes button below if this post provide answer you have asked Thank You cheers, francis Am not a greek but an ordinary user trying to assist another "dbarc" wrote: I need to take only the whole number portion of a result and use it to get another answer, but my formula seems to use the whole answer. Example C3=15, f9=40. I divide f9 by c3 and get 2.666666 in g9. Now I need to display the remaining part of my answer as a whole number in cell h9. So my formula I come up with is this =(f9-(g9*c3)). This alway gives me 0 as the answer. I need my worksheek to show 2 full baskets (heading of column g) and 10 each (heading of col h) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dividing by fixed number | Excel Discussion (Misc queries) | |||
Dividing by unknown to get a number | Excel Worksheet Functions | |||
New installed Excel2003 keeps dividing any number entered in any . | Excel Discussion (Misc queries) | |||
What is the formula for dividing a number by 4 in excel | Excel Worksheet Functions | |||
number format keeps dividing by 100 | New Users to Excel |