• Libre Office puzzle

    From Davey@2:250/1 to All on Tuesday, October 15, 2024 00:08:18
    I have a spreadsheet to keep tabs on my bank account.
    One cell uses, today: G576=IF(OR($D576>0,$E576>0),G575-D576+E576,"") to
    show the current balance. $D576 is the current outgoing, $E576 is the
    current incoming, G575 is the previous total. If there are no outgoings
    or incomings, then the display is "", or blank. It works fine.
    I am adding a cell to display the theoretical result if I include the
    amount due to my credit card account, to be found in $N$2.
    So I have used H576=IF(G576>0,G576-$N$2,""), which works if there is a
    value in or out. But it doesn't work when there is nothing in G576, it
    faults with "VALUE?". If I delete the $N$2 reference, it's happy, but
    then I have a column full of "VALUE?" for the future rows.
    What is the problem? Why does it want a value in this formula, but not
    in the first one?

    --
    Davey.


    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Mike Scott@2:250/1 to All on Tuesday, October 15, 2024 08:45:16
    On 15/10/2024 00:08, Davey wrote:
    I have a spreadsheet to keep tabs on my bank account.
    One cell uses, today: G576=IF(OR($D576>0,$E576>0),G575-D576+E576,"") to
    show the current balance. $D576 is the current outgoing, $E576 is the
    current incoming, G575 is the previous total. If there are no outgoings
    or incomings, then the display is "", or blank. It works fine.
    I am adding a cell to display the theoretical result if I include the
    amount due to my credit card account, to be found in $N$2.
    So I have used H576=IF(G576>0,G576-$N$2,""), which works if there is a
    value in or out. But it doesn't work when there is nothing in G576, it
    faults with "VALUE?". If I delete the $N$2 reference, it's happy, but
    then I have a column full of "VALUE?" for the future rows.
    What is the problem? Why does it want a value in this formula, but not
    in the first one?


    Rather than trying to decode what your problem is, may I suggest you
    look at gnucash? - it's purpose made for financial accounting and could
    save much heartache.


    --
    Mike Scott
    Harlow, England


    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: Scott family (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Tuesday, October 15, 2024 09:16:06
    On Tue, 15 Oct 2024 08:45:16 +0100
    Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:

    On 15/10/2024 00:08, Davey wrote:
    I have a spreadsheet to keep tabs on my bank account.
    One cell uses, today:
    G576=IF(OR($D576>0,$E576>0),G575-D576+E576,"") to show the current
    balance. $D576 is the current outgoing, $E576 is the current
    incoming, G575 is the previous total. If there are no outgoings or incomings, then the display is "", or blank. It works fine. I am
    adding a cell to display the theoretical result if I include the
    amount due to my credit card account, to be found in $N$2. So I
    have used H576=IF(G576>0,G576-$N$2,""), which works if there is a
    value in or out. But it doesn't work when there is nothing in G576,
    it faults with "VALUE?". If I delete the $N$2 reference, it's
    happy, but then I have a column full of "VALUE?" for the future
    rows. What is the problem? Why does it want a value in this
    formula, but not in the first one?

    Rather than trying to decode what your problem is, may I suggest you
    look at gnucash? - it's purpose made for financial accounting and
    could save much heartache.



    I'll take a look, thanks.

    --
    Davey.


    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Andrew Woodward@2:250/1 to All on Tuesday, October 15, 2024 09:47:44
    On Tue, 15 Oct 2024 09:16:06 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:45:16 +0100 Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:

    On 15/10/2024 00:08, Davey wrote:
    I have a spreadsheet to keep tabs on my bank account.

    [snip]


    Rather than trying to decode what your problem is, may I suggest you
    look at gnucash? - it's purpose made for financial accounting and could
    save much heartache.



    I'll take a look, thanks.

    Or maybe homebank? Personally, I find homebank simpler than gnucash.
    Depends what you want to do :)


    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Tuesday, October 15, 2024 09:52:32
    On Tue, 15 Oct 2024 08:47:44 +0000
    Andrew Woodward <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 09:16:06 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:45:16 +0100 Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:

    On 15/10/2024 00:08, Davey wrote:
    I have a spreadsheet to keep tabs on my bank account.

    [snip]


    Rather than trying to decode what your problem is, may I suggest
    you look at gnucash? - it's purpose made for financial accounting
    and could save much heartache.



    I'll take a look, thanks.

    Or maybe homebank? Personally, I find homebank simpler than gnucash.
    Depends what you want to do :)


    Simply keep an up-to-date spreadsheet that follows my bank accounts as
    I enter transactions, essentially so I can see if I need to transfer
    money from my savings account to my chequing account, and monthly, so I
    can account for each transaction. Nothing too complicated, until I tried
    to ad this one extra cell to the sheet. If I could solve this one
    conundrum, it would be all I need.

    --
    Davey,


    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Andrew Woodward@2:250/1 to All on Tuesday, October 15, 2024 10:27:42
    On Tue, 15 Oct 2024 09:52:32 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:47:44 +0000 Andrew Woodward <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 09:16:06 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:45:16 +0100 Mike Scott
    <usenet.16@scottsonline.org.uk.invalid> wrote:

    On 15/10/2024 00:08, Davey wrote:
    I have a spreadsheet to keep tabs on my bank account.

    [snip]

    Simply keep an up-to-date spreadsheet that follows my bank accounts as I enter transactions, essentially so I can see if I need to transfer money
    from my savings account to my chequing account, and monthly, so I can
    account for each transaction. Nothing too complicated, until I tried to
    ad this one extra cell to the sheet. If I could solve this one
    conundrum, it would be all I need.

    Try replacing H576=IF(G576>0,G576-$N$2,"") with H576=IF(ISNUMBER(G576),G576-$N$2,"")

    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Tuesday, October 15, 2024 11:17:27
    On Tue, 15 Oct 2024 09:27:42 +0000
    Andrew Woodward <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 09:52:32 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:47:44 +0000 Andrew Woodward <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 09:16:06 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:45:16 +0100 Mike Scott
    <usenet.16@scottsonline.org.uk.invalid> wrote:

    On 15/10/2024 00:08, Davey wrote:
    I have a spreadsheet to keep tabs on my bank account.

    [snip]

    Simply keep an up-to-date spreadsheet that follows my bank accounts
    as I enter transactions, essentially so I can see if I need to
    transfer money from my savings account to my chequing account, and
    monthly, so I can account for each transaction. Nothing too
    complicated, until I tried to ad this one extra cell to the sheet.
    If I could solve this one conundrum, it would be all I need.

    Try replacing H576=IF(G576>0,G576-$N$2,"") with H576=IF(ISNUMBER(G576),G576-$N$2,"")

    Now that did the job! Many thanks. I had not encountered ISNUMBER
    before.
    Why does yours work, when the complaint it had before, was that the
    $N$2 was what it wanted a value for? ISNUMBER(G576) would appear to
    refer to G576, not N2.
    I'm confused. But it saves me learning a new programme.

    --
    Davey.


    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Andrew Woodward@2:250/1 to All on Tuesday, October 15, 2024 15:05:47
    On Tue, 15 Oct 2024 11:17:27 +0100, Davey wrote:

    On Tue, 15 Oct 2024 09:27:42 +0000 Andrew Woodward <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 09:52:32 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:47:44 +0000 Andrew Woodward
    <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 09:16:06 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:45:16 +0100 Mike Scott
    <usenet.16@scottsonline.org.uk.invalid> wrote:

    On 15/10/2024 00:08, Davey wrote:
    I have a spreadsheet to keep tabs on my bank account.

    [snip]

    Simply keep an up-to-date spreadsheet that follows my bank accounts
    as I enter transactions, essentially so I can see if I need to
    transfer money from my savings account to my chequing account, and
    monthly, so I can account for each transaction. Nothing too
    complicated, until I tried to ad this one extra cell to the sheet. If
    I could solve this one conundrum, it would be all I need.

    Try replacing H576=IF(G576>0,G576-$N$2,"") with
    H576=IF(ISNUMBER(G576),G576-$N$2,"")

    Now that did the job! Many thanks. I had not encountered ISNUMBER
    before.
    Why does yours work, when the complaint it had before, was that the $N$2
    was what it wanted a value for? ISNUMBER(G576) would appear to refer to
    G576, not N2.
    I'm confused. But it saves me learning a new programme.

    It's not $N$2 that is causing the problem. If you substitute (e.g.) 123 in place of $N$2, it still gives '#VALUE!'.

    The 'problem' is the way Calc handles cell values. It sounds weird, but an 'empty' string is not nothing, it is a string with nothing in it, and
    *any* string evaluates to greater than a numeric value; thus G576>0 is
    true, but then ""-$N$2 is not a valid statement.

    See: https://forum.openoffice.org/en/forum/viewtopic.php?p=402757#p402757
    for a better explanation.

    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Tuesday, October 15, 2024 16:26:08
    On Tue, 15 Oct 2024 14:05:47 +0000
    Andrew Woodward <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 11:17:27 +0100, Davey wrote:

    On Tue, 15 Oct 2024 09:27:42 +0000 Andrew Woodward <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 09:52:32 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:47:44 +0000 Andrew Woodward
    <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 09:16:06 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:45:16 +0100 Mike Scott
    <usenet.16@scottsonline.org.uk.invalid> wrote:

    On 15/10/2024 00:08, Davey wrote:
    I have a spreadsheet to keep tabs on my bank account.

    [snip]

    Simply keep an up-to-date spreadsheet that follows my bank
    accounts as I enter transactions, essentially so I can see if I
    need to transfer money from my savings account to my chequing
    account, and monthly, so I can account for each transaction.
    Nothing too complicated, until I tried to ad this one extra cell
    to the sheet. If I could solve this one conundrum, it would be
    all I need.

    Try replacing H576=IF(G576>0,G576-$N$2,"") with
    H576=IF(ISNUMBER(G576),G576-$N$2,"")

    Now that did the job! Many thanks. I had not encountered ISNUMBER
    before.
    Why does yours work, when the complaint it had before, was that the
    $N$2 was what it wanted a value for? ISNUMBER(G576) would appear to
    refer to G576, not N2.
    I'm confused. But it saves me learning a new programme.

    It's not $N$2 that is causing the problem. If you substitute (e.g.)
    123 in place of $N$2, it still gives '#VALUE!'.

    Interesting. When I removed the "-$N$22", it was happy. But useless.

    The 'problem' is the way Calc handles cell values. It sounds weird,
    but an 'empty' string is not nothing, it is a string with nothing in
    it, and *any* string evaluates to greater than a numeric value; thus
    G576>0 is true, but then ""-$N$2 is not a valid statement.

    But I didn't use ""-$N$2, the "" is the result to display if =IF is false.

    See:
    https://forum.openoffice.org/en/forum/viewtopic.php?p=402757#p402757
    for a better explanation.

    I'll take a look, thanks. I tried the online Help, and it wasn't
    Helpful.

    --
    Davey.


    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Tuesday, October 15, 2024 17:12:01
    On Tue, 15 Oct 2024 14:05:47 +0000
    Andrew Woodward <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 11:17:27 +0100, Davey wrote:

    On Tue, 15 Oct 2024 09:27:42 +0000 Andrew Woodward <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 09:52:32 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:47:44 +0000 Andrew Woodward
    <andrew.woodward@gmx.co.uk> wrote:

    On Tue, 15 Oct 2024 09:16:06 +0100, Davey wrote:

    On Tue, 15 Oct 2024 08:45:16 +0100 Mike Scott
    <usenet.16@scottsonline.org.uk.invalid> wrote:

    On 15/10/2024 00:08, Davey wrote:
    I have a spreadsheet to keep tabs on my bank account.

    [snip]

    Simply keep an up-to-date spreadsheet that follows my bank
    accounts as I enter transactions, essentially so I can see if I
    need to transfer money from my savings account to my chequing
    account, and monthly, so I can account for each transaction.
    Nothing too complicated, until I tried to ad this one extra cell
    to the sheet. If I could solve this one conundrum, it would be
    all I need.

    Try replacing H576=IF(G576>0,G576-$N$2,"") with
    H576=IF(ISNUMBER(G576),G576-$N$2,"")

    Now that did the job! Many thanks. I had not encountered ISNUMBER
    before.
    Why does yours work, when the complaint it had before, was that the
    $N$2 was what it wanted a value for? ISNUMBER(G576) would appear to
    refer to G576, not N2.
    I'm confused. But it saves me learning a new programme.

    It's not $N$2 that is causing the problem. If you substitute (e.g.)
    123 in place of $N$2, it still gives '#VALUE!'.

    The 'problem' is the way Calc handles cell values. It sounds weird,
    but an 'empty' string is not nothing, it is a string with nothing in
    it, and *any* string evaluates to greater than a numeric value; thus
    G576>0 is true, but then ""-$N$2 is not a valid statement.

    See:
    https://forum.openoffice.org/en/forum/viewtopic.php?p=402757#p402757
    for a better explanation.

    Again, that is talking about using "" in a comparison, which is not
    what I am doing, I am using it as the display if the comparison is
    false. And I still don't see why it works perfectly in the original
    formula, but not the new one.
    But at least ISNUMBER works!
    I give up, I have a solution to the original problem, I am happy to
    leave it there.

    --
    Davey.


    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)