[Dropped] Automatic cash banking formula

Discuss the spreadsheet application
Post Reply
Absurdius
Posts: 1
Joined: Tue Nov 05, 2024 3:26 am

[Dropped] Automatic cash banking formula

Post by Absurdius »

Hey,

I am not sure if it is at all possible, but here is the goal. I am trying to automatically get numbers from column Cashing Up to add up to Target in To be Banked. For example.

Target: 45.5
Cashing up | To be banked
20           20
50           20
30           5
2.5          0.5

Cashing Total: 45.5

The to be banked should be automatically calculated from the cashing up as they are put in. I have tried a series of if statements like:
=IF(Cashing Total<Target;MIN(Cashing up; Target) per line to get the base values, but on each row calculate SumOf-Cashing Total<Target where sum of is all the rows above current(hopefully that made sense).
Two Problems I have run into, previous rows keep increasing and I get error messages when trying to pull numbers from a cell with a formula in it.

Plus trying to add a Mod Function to keep it to cash value, 20, 10, 5, 1, .5 etc, but that is a bonus rather than necessary for now.

Any Suggestions would be appreciated, been at this challenge for a few hours and I am close yet so far away.
Last edited by MrProgrammer on Thu Nov 21, 2024 7:34 am, edited 3 times in total.
Reason: Dropped: No attachment provided when requested -- MrProgrammer, forum moderator
OpenOffice 4.1.15 Windows 11 Pro
User avatar
Zizi64
Volunteer
Posts: 11419
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Automatic cash banking formula

Post by Zizi64 »

Please upload your ODF type sample file here.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Post Reply