#1   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 1
Default how to get denomination

please provide detail to get brake down of $104258 as denomination
  #2   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 11,058
Default how to get denomination

The following will break a value down into thousands, hundreds, fifties,
twenties, tens, fives, and ones:

In cell A1 enter:
104258

In cell B1 enter:
=ROUNDDOWN(A1/1000,0)

In cell A2 enter:
=A1-B1*1000

In cell B2 enter:
=IF(A2<100,0,ROUNDDOWN(A2/100,0))

In cell A3 enter:
=A2-B2*100

In cell B3 enter:
=IF(A3<50,0,ROUNDDOWN(A3/50,0))

In cell A4 enter:
=A3-50*B3

In cell B4 enter:
=IF(A4<20,0,ROUNDDOWN(A4/20,0))

In cell A5 enter:
=A4-20*B4

In cell B5 enter:
=IF(A5<10,0,ROUNDDOWN(A5/10,0))

In cell A6 enter:
=A4-10*B4

In cell B6 enter:
=IF(A6<5,0,ROUNDDOWN(A6/5,0))

In cell A7 enter:
=A6-5*B6

In cell B7 enter:
=A7

So if we examine B1 thru B7 we see:

104 thousands
2 hundreds
1 fifties
0 twenties
0 tens
1 fives
3 ones

--
Gary''s Student - gsnu200775


"anoshan" wrote:

please provide detail to get brake down of $104258 as denomination

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
Denomination of currency needed to be withdrawn for list of employees Juby Koshy via OfficeKB.com Charts and Charting in Excel 4 June 22nd 05 02:05 PM


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