How to make a spreadsheet like file to access data


I am trying to make an app that compares prices to years. What I need to do is basically make a spreadsheet with the year and the average price. It should be pretty easy to set up once I figure out how to add in the data. What’s the best way to do this?

Is it good to this to a database or is there another way that I can do this?

Basically my calculations and data look like this.

Year bought - price

Compared to

Year sold (or today) - price

Thanks in advance for your help.

Basically you have to construct your database with the fields that you need (date, price, product), And Do your searches in your Database and show this data results in a Repeating Group.

Thank you so much for that. Is there a tutorial out there that shows you how to do this?

Maybe you can start with