+ Reply to Thread
Results 1 to 11 of 11

counting in 32 nds

  1. #1
    Registered User
    Join Date
    10-26-2010
    Location
    N. Ireland
    MS-Off Ver
    excel 2011
    Posts
    4

    counting in 32 nds

    Hi how would I program a spread sheet to count bond prices

    bonds are in 32 nds

    say bond price is 131.00 ,131.01 131.02 until 131.31 then it goes to 132.00 132.01 132.02 etc

    I want to add 6 to 131.31 and get 132.05 not 131.36 in decimal

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: counting in 32 nds

    Given use of XL2011 one possibility

    Please Login or Register  to view this content.
    where A1 holds 131.31 and B1 holds 0.06

  3. #3
    Registered User
    Join Date
    10-26-2010
    Location
    N. Ireland
    MS-Off Ver
    excel 2011
    Posts
    4

    Re: counting in 32 nds

    HI That worked great!

    Thanks

    I was wondering how to subtract B cell form A as well in a seperate calculation?

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: counting in 32 nds

    One possibility:

    Please Login or Register  to view this content.
    I'm sure with more thought it could be improved upon.

    edit: alternative

    Please Login or Register  to view this content.
    Last edited by DonkeyOte; 10-26-2010 at 02:29 PM.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: counting in 32 nds

    Late to the party, but not just ...

    =DOLLARFR(DOLLARDE(A1, 32) - DOLLARDE(B1, 32), 32)

    ?

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: counting in 32 nds

    yeah I guess you could use that.... ... time for me to sign off now I think !

    edit: if nothing else at least the extended subtraction version is non ATP reliant ... where did I put those straws...

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: counting in 32 nds

    I'm surprised those functions were not made array-compatible when they made the ATP go away in Excel 2007+.

  8. #8
    Registered User
    Join Date
    10-26-2010
    Location
    N. Ireland
    MS-Off Ver
    excel 2011
    Posts
    4

    Re: counting in 32 nds

    hi got wrong numbers in this formula

    =DOLLARFR(ROUND(DOLLARDE(SUM(A6;B6);32);15);32)
    130.16 + 0.16 130.32 wrong should be 131.00

    =DOLLARFR(DOLLARDE(A11;32)-DOLLARDE(B11;32);32)
    130.14 - 0.16 129.3 should be 129.29

    see pic
    Attached Images Attached Images

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: counting in 32 nds

    If you want help with pictures, post pictures,

    If you want help with Excel, ...

  10. #10
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: counting in 32 nds

    Quote Originally Posted by jpdamigaman
    =DOLLARFR(ROUND(DOLLARDE(SUM(A6;B6);32);15);32)
    130.16 + 0.16 130.32 wrong should be 131.00
    The same generates 1301.00 for me - are the values in A6:B6 the result of formulae - if so are each rounded to 2 decimals ?

    Quote Originally Posted by jpdamigaman
    =DOLLARFR(DOLLARDE(A11;32)-DOLLARDE(B11;32);32)
    130.14 - 0.16 129.3 should be 129.29
    By my reckoning 129.30 is the correct result... 130.13 -> 129.30 is 16 data points inclusive [130.00 being a data point in it's own right]

    As shg says - if you want to post examples do so with a file.

  11. #11
    Registered User
    Join Date
    10-26-2010
    Location
    N. Ireland
    MS-Off Ver
    excel 2011
    Posts
    4

    Re: counting in 32 nds

    Hi I'm running this open office and it wrong but excel is correct!

    can't see whats wrong with open office

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1