We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Clueless about simple spreadsheet formula in Open Office

Options
2

Comments

  • GunJack
    GunJack Posts: 11,829 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    you also need to format columns B and C to currency.....
    ......Gettin' There, Wherever There is......

    I have a dodgy "i" key, so ignore spelling errors due to "i" issues, ...I blame Apple :D
  • GunJack
    GunJack Posts: 11,829 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    wealdroam wrote: »
    I would suggest you need something slightly more complicated in column D.

    I'll borrow a line from debitcardmayhem's post and adjust it:
    In D6 type
    =IF(SUM(B6,C6)=0," ",SUM(D5,B6,-C6))

    This is saying that if there are no credits or debits on this line then put a blank in D6, otherwise add together the credit and debit (usually only one or the other) to the previous balance and write that in D6.

    Then to avoid having to copy and paste that all the way down the column, just click on the tiny little box at the bottom right of the D6 cell (can be seen on cell B11 on your screen print), and drag the formula down through all cells in that column.

    putting a blank in D6 if there are equal credits/debits will blank the balance for the future calculations!!! Don't do this!!!
    ......Gettin' There, Wherever There is......

    I have a dodgy "i" key, so ignore spelling errors due to "i" issues, ...I blame Apple :D
  • wealdroam
    wealdroam Posts: 19,180 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Combo Breaker
    GunJack wrote: »
    putting a blank in D6 if there are equal credits/debits will blank the balance for the future calculations!!! Don't do this!!!
    But it will only put a blank in column D if there is no debit or credit. This is only going to occur on rows beyond the last one with data. As soon as data, either a debit or credit line is added, that blank will be overwritten.
  • Kernel_Sanders
    Kernel_Sanders Posts: 3,617 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    edited 6 September 2015 at 9:27AM
    GunJack wrote: »
    you also need to format columns B and C to currency.....
    I've done that but have no idea why only some of the balances have been converted!
    My mother has multiple savings accounts, mostly regular savers, and when she has a surplus of funds she transfers them to me to put in my accounts. I repay them when her accounts need funding again, but I'm paying her interest of 1.98% p.a. (monthly on the 14th). To calculate interest I only have to manually work out the number of days ending with the same balance and need a formula to multiply D by F to get the number of 'pound-days', the total of which would go in G14? It's then a simple matter of multiplying that by 0.0000541 which should give the interest due for the first month, which runs from 14th Aug to 13 Sep incl.
    I've typed in the bare bones of these formulae but have had to omit the equals sign as it adds black cell numbers.
    hzJtkzg.png4
  • HI,
    1. When I typed in 3300.00, it converted it to 3300 on calculation despite me setting the currency to show pence before I even started it.

    you can use the Decimal Place icon fvjvom.jpg to add remove decimal points, click on cell or highlight column, then click on add/remove icon once or twice.
  • System
    System Posts: 178,342 Community Admin
    10,000 Posts Photogenic Name Dropper
    Hi

    Dates can be used

    Simply take the older date from the newer date, and add 1 if wanted.

    This then displays the number of days, if you then divide this by 365 you get a fraction of a year.

    01/01/15
    15/01/15

    is either 14 or 15 days.
    14/365 is 0.0383561
    15/365 is 0.0410958

    So for £235.36 for 15 days it would be

    £235.36 for 1 year @2% is 235.36 * 0.02 = £4.7072

    Next divide 4.7072 by 365 and multiply by 15 days

    or multiply by the figure obtained earlier 0.0410958

    and get 19 pence.


    All automated.

    AND as stated earlier use an IF statement to only calculate the rows wanted.
    This is a system account and does not represent a real person. To contact the Forum Team email forumteam@moneysavingexpert.com
  • Kernel_Sanders
    Kernel_Sanders Posts: 3,617 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    edited 6 September 2015 at 10:42PM
    wealdroam wrote: »
    I'll borrow a line from debitcardmayhem's post and adjust it:
    In D6 type
    =IF(SUM(B6,C6)=0," ",SUM(D5,B6,-C6))
    That produces an Err:508 which is 'missing bracket eg closing brackets but no opening brackets'. IDU that because I pasted in all 3 pairs of brackets.
  • Neil49
    Neil49 Posts: 3,362 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    If all else fails then I suggest you download the free Money Plus Sunset Deluxe from Microsoft.

    It does everything you want from above and more but once set up is easy to use and see at a glance details of all your accounts.

    http://www.microsoft.com/en-GB/download/details.aspx?id=20738

    It also appears to work on Windows 10
  • rmg1
    rmg1 Posts: 3,159 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    wealdroam wrote: »
    I would suggest you need something slightly more complicated in column D.

    I'll borrow a line from debitcardmayhem's post and adjust it:
    In D6 type
    =IF(SUM(B6,C6)=0," ",SUM(D5,B6,-C6))

    This is saying that if there are no credits or debits on this line then put a blank in D6, otherwise add together the credit and debit (usually only one or the other) to the previous balance and write that in D6.

    Then to avoid having to copy and paste that all the way down the column, just click on the tiny little box at the bottom right of the D6 cell (can be seen on cell B11 on your screen print), and drag the formula down through all cells in that column.

    From a personal point of view, I'd change the above formula to this:-
    =if(and(b6="",c6=""),"",d5+b6-c6)

    Put this formula into d6 and drag down as necessary.
    :wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:

    Any posts are my opinion and only that. Please read at your own risk.
  • Kernel_Sanders
    Kernel_Sanders Posts: 3,617 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    edited 7 September 2015 at 11:57PM
    The lull in responses yesterday made me do my own research and I've actually managed to devise a working spreadsheet. It only needs days with a common balance added together manually and it'll calculate a running total of the interest in column I. I'm still awaiting a solution to the bleaching problem, though (F-I are deliberately white).
    johndough wrote: »
    Dates can be used.......All automated.....
    AND as stated earlier use an IF statement to only calculate the rows wanted.
    I thought I'd try this, hoping that changing the date column from text to numeric might stop it calculating in advance but when I dragged the formula down, it allocated a row for every future date, overriding the dates I had previously input (see upper half):
    rmg1 wrote: »
    From a personal point of view, I'd change the above formula to this:-
    =if(and(b6="",c6=""),"",d5+b6-c6)
    Put this formula into d6 and drag down as necessary.
    Just like Wealdroam's, that produces a 'missing bracket eg closing brackets but no opening brackets' error on the earlier (lower half) spreadsheet:
    ctNIQIC.png
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.9K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.9K Work, Benefits & Business
  • 598.7K Mortgages, Homes & Bills
  • 176.9K Life & Family
  • 257.2K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.