Jan 30, 2017 10:21 AM
Good Day,
Looking to subtract a running total collected daily from the previous total to give me the value used since the last entry.
Better explanation (I hope)
Jan 1 my total is: 1111
Jan 2 my total is 1112, so Jan 2 total - Jan 1 total = 1
Jan 3 my total is 1115, so Jan 3 - Jan 2 total = 3
The running total is kept in the same Column/Field and I want the next Column/Field to auto-calculate the difference from day to day.
In excel: Cell B2 I would use =A2-A1
Cell B3 would be =A3-A2
and so on and so on forever since the total never stop rising.
Clear as mud i hope. I’m likely just overthinking it, and not seeing the whole picture. Airtable is new to me, but if I can get this to work, it will be perfect for our needs.
Thanks,
Marc
Feb 02, 2017 03:28 AM
You could probably create something like that, but you’ll need two tables at least. Maybe some ‘master’ date table (one record for each day) and a table with the log records (changes + date reference).
Then you’ll be able to play with rollup, sum, lookup, grouping, etc. between both tables.
Mar 22, 2017 04:26 AM
Thanks Tuur,
I have attempted what you suggested but I am still having problems. Would it be possible for you to provide a brief example that I could build from?
Thanks
Mar 22, 2017 05:36 AM
Can you share a view (in a private message)?
Mar 22, 2017 06:47 AM
Here is the link to the view:
I hope that it is self explanatory. I am simply trying to calculate the number of “Counts Per Day” by subtracting yesterday’s “Counter” value from today’s.
I really appreciate the help
Mar 23, 2017 04:42 AM
You have a private message. :slightly_smiling_face:
Oct 31, 2017 06:05 AM
I am looking for a solution similar to what I read in this thread. I use a scenario a lot, and a spreadsheet did the job. But I would prefer using AirTable. In a scenario records refer to each other. The first item will take 5 minutes, the next one 15 and so on. The table should accumulate the minutes in each record.
I wonder if anyone has a solution for this application. Would be awesome!
I tried building something with 2 tables but I keep ending up in circular reference errors.
Nov 01, 2017 06:44 AM
You should be able to build it with only this table and a reference to the former record.
So the second record has a field that links to the first one, the 3rd record links to the 2nd, etc.
Nov 01, 2017 03:06 PM
I suppose you refer to an earlier message. There’s the message with a reference to a view, but I don’t find the database with the example. Do you have more information for me?
Thanks!
Nov 02, 2017 01:46 AM
I was referring to your screenshot. Turn that into a table and add a linked field to itself. Link to the former record and you should be able to take it from there by adding a look up field to the ending time and doing calculations for example.
Does this help?