Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how can i use a whole number after dividing?

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default how can i use a whole number after dividing?

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default how can i use a whole number after dividing?

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 175
Default how can i use a whole number after dividing?

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default how can i use a whole number after dividing?

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
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
Dividing by fixed number Colin Macleod Excel Discussion (Misc queries) 4 February 12th 07 04:00 PM
Dividing by unknown to get a number bundyloco Excel Worksheet Functions 5 August 14th 05 03:44 PM
New installed Excel2003 keeps dividing any number entered in any . Jan E. Sørensen Excel Discussion (Misc queries) 3 February 16th 05 02:29 PM
What is the formula for dividing a number by 4 in excel Blessingspoint Excel Worksheet Functions 1 January 13th 05 05:58 PM
number format keeps dividing by 100 Frank Kabel New Users to Excel 0 December 29th 04 09:48 PM


All times are GMT +1. The time now is 01:14 PM.

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

About Us

"It's about Microsoft Excel"