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 » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

INT, MOD or ROUNDDOWN function help needed



 
 
Thread Tools Display Modes
  #1  
Old October 6th, 2003, 09:53 PM
Dan E
external usenet poster
 
Posts: n/a
Default INT, MOD or ROUNDDOWN function help needed

Rpb,

I would suggest changing your column G formula to:

=ROUND(H2/A3,2) and drag down for all rows

Dan E

"rpb" wrote in message ...
Hi, Am trying to write an Excel sheet to take an amount of cash
(Allocated amount) and work out how many of each denomination of bank
note/coins are required to make it up.

I've used Rounddown, Int and Mod and all give the same problem that
towards the bottom of the table the function should give a value 1, but
actually gives value 0 e.g. 0.01 divided by 0.01 gives 1, but INT of
the result gives 0 instead of the expected 1.

It seems that after repeating the INT function 12 odd times the result
of 0.01 divided by 0.01 is actually less than 1 (because INT and
Rounddown both return 0), but is displayed as 1.

See attached. Change the figure in the grey cell. Sometimes it works,
sometimes not!?

Any help appreciated.

File Attached: http://www.exceltip.com/forum/attach...?postid=297207 (int example.xls)

------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



  #2  
Old October 6th, 2003, 10:43 PM
edmac2
external usenet poster
 
Posts: n/a
Default INT, MOD or ROUNDDOWN function help needed

Try this in column G =ROUND(H2/A3,3) and drag down.



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #3  
Old October 7th, 2003, 07:58 PM
rpb
external usenet poster
 
Posts: n/a
Default INT, MOD or ROUNDDOWN function help needed

Many thanks.

The Round function worked when Rounddown didn't. Cheers



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

 




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


All times are GMT +1. The time now is 06:14 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.