azu / philan.net

Public Donation Management webservice for Philanthropist.
https://philan.net
33 stars 1 forks source link

Definition of SpreadSheet Schema #22

Closed azu closed 3 years ago

azu commented 3 years ago

The user can edit their own spreadsheet directly. So, we should provide spreadsheet schema.

The user can know that what cell can be edit or not.

azu commented 3 years ago

Option 1: per year sheet

currently, spreadsheet has a sheet per year.

props

cons

Option 2: all data in a single sheet

props

cons

azu commented 3 years ago

options 2: all data in a single sheet

=SUMIFS(C:C,A:A,"2021-*") can calculate date by year.

azu commented 3 years ago

If we can record the history of budge in option 2, we can select option 2.

azu commented 3 years ago

image Budget Sheet is reasonable for me.

azu commented 3 years ago

Ok. I figure out!

Example

https://docs.google.com/spreadsheets/d/1We_196wyVdIu2Kttt4eHaqIfmS-86SWUMN7DsW8DfiI/edit?usp=sharing

Change

Budget Schema

Year Budget Used Balance
2020 ¥200,000.00 ¥0.00 ¥200,000.00
2021 ¥200,000.00 ¥337,861.02 -¥137,861.02

Budget sheet formula

Record sheet formula

📝 If a budget of current year is missing, Budget show 0.

Note

azu commented 3 years ago

Step

azu commented 3 years ago

Plan

2021-04-04 17:00 ~: SpreadSheetのマイグレーションメンテナンス · Discussion #36 · azu/philan.net

azu commented 3 years ago

After migration and we need to add docs

azu commented 3 years ago

Now, new schema. We will continue to write docs #37