Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 349
Default pounds shillings pence format in excel

I want to use pounds shillings and pence format in excel...is it possible and
if so how do I go about it?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default pounds shillings pence format in excel

Hi,

I remember when the UK was dragged kicking and screaming into the decimal
age and looking back we were mad to resist getting rid of such an
anachronistic system as LSD. Thank heavens you don't want halfpennys and
Farthings. You don't want halfpennies and farthings do you!!!

OK

1 pound =240 old pennies
1 shilling = 12 old pennies

I doubt you'll get a format for this but this UDF will convert a decimal
Pounds amount into and LSD amount

Call with

=Dec_LSD(A1)
where a1 contains a decimal currency amount

Function Dec_LSD(amt)
pounds = Int(amt)
amt = (amt - pounds) * 20
shillings = Int(amt)
amt = (amt - shillings) * 12
pence = Int(amt)
Dec_LSD = pounds & " L " & shillings & " s " & pence & "d"
End Function
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"peter" wrote:

I want to use pounds shillings and pence format in excel...is it possible and
if so how do I go about it?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default pounds shillings pence format in excel

Just for the sake of nostalgia I played with adding three LSD amounts.
Method 1
item £ s d
a 1 18 9
b 2 3 4
c 4 12 5
sum 8 14 6
D5 (pennies) =MOD(SUM(D2:D4),12)
C5 (shillings) =MOD((SUM(C2:C4)+INT(SUM(D2:D4)/12)),20)
B5 (pounds) =SUM(B2:B4)+INT((SUM(C2:C4)+INT(SUM(D2:D4)/12))/20)

Method 2
item £ s d = pence
a 1 18 9 = 465
b 2 3 4 = 520
c 4 12 5 = 1109
total 8 14 6 = 2094
In F2 (under 'pence' ) =B2*240+C2*12+D2
This is copied to F3 and F4
In F5 =SUM(F2:F5)
D5 (pennies) =MOD(F5,12)
C5 (shillings) =MOD((F5-D5)/12,20)
B5 (pounds) =INT(F5/240)
This method is useful if ,for example, you want 12% of the sum; just change
F5 to =SUM(F2:F5)*12%

hope some of this helps
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme




"peter" wrote in message
...
I want to use pounds shillings and pence format in excel...is it possible
and
if so how do I go about it?


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
Turn a four digit number into pounds & pence Kolsballs Excel Worksheet Functions 6 April 22nd 23 06:08 AM
Can I enter old-fashioned pounds, shillings and pence in Excel? Doverboat Excel Discussion (Misc queries) 3 February 17th 09 12:51 PM
How to enter pre-decimal pounds shillings pence in Excel workshee Richard Excel Worksheet Functions 5 April 2nd 06 03:31 AM
I wish to enter pounds shillings and pence in sterling Derek Jones Excel Discussion (Misc queries) 1 August 4th 05 06:33 PM
How do I add Pounds, Shillings and Pence? alanturner12 Excel Discussion (Misc queries) 1 July 24th 05 02:45 PM


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