Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Code for dividing amount amounts

Great

Thank you Jim

"Jim Thomlinson" wrote:

You need to use just 2 functions. Mod and Trunc. Here is houw you figure out
your 100s

=trunc(a1, -2)/100

noiw to find out what is left over after that

=mod(a1, 100)

Now you just need a bunch more of these to get to the 20s, 10s, 5s, ...

HTH

"Hill" wrote:

Greetings:
I am trying to design a sheet where the user will enter an amout; excel will
then divide that amount into 100s, 50s, 20s, 10s, 5s, 1s, and coins.

Does any know of a way (code or formulas) to achive this.

Thanks

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
Comparing Row by Row - A-D dollar amounts to E dollar amount Mel Excel Worksheet Functions 9 November 20th 08 09:50 PM
Need VBA Code/Marcos To Hide Less than zero amounts. Not a filter ABA Excel Worksheet Functions 1 May 14th 08 07:32 PM
Count amount of different dates & amounts of them. egibberate New Users to Excel 3 December 10th 06 08:22 PM
Formatting monetary amounts with currency indicator on extreme left and amount right ? Isis Excel Discussion (Misc queries) 2 October 26th 06 09:08 AM
split a cash amount into two separate cash amounts tegger Excel Programming 2 November 9th 03 03:05 PM


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