Skip to main content
Solved

Implementing Calculation Like Excel

  • September 18, 2019
  • 0 replies
  • 114 views

Hi all,

For example users have credit  $10000 for every month. They can use and spend it every month for their activity.

There is table that record their spending each month like this

Spending Activity | Quantity | Price
New computer                1          $2500

Its possible to achieve something like this

Spending Activity | Quantity | Price
New computer                1          $2500
-----------------------------
Total Spending                             $2500
Balance                                           $7500


Many thanks



------------------------------
Syaeful Bahri
------------------------------

Best answer by EverettPatterso

Easy, you will need a setup like this

Department table - create fields for department name and total budget
Spending Activities table - create fields for date, spending activity name, quantity, price, and total price (formula, quantity X price)

The relationship would be Each Department has many Spending Activities. Create a summary field for Total Price.

On the Department table, create a formula numeric field called Balance, use the summary field Total Price - Total Budget

------------------------------
Everett Patterson
------------------------------
This topic has been closed for replies.

EverettPatterso
Forum|alt.badge.img+10
That can easily be done with relationships and summary fields. Can you describe your app setup? Tables, relationships. etc.

------------------------------
Everett Patterson
------------------------------