Here is my expected output;
Growth Rate by year;4% based on previous year unityear 1 year 2 year 3 year 4 5 5.2 5.408 5.62432
so formula= previous unit *1.04 or previous unit + (previous unit*rate)
how do i implement this function/macro into Access?
I attached the test table. can you help me
Looked at your dB. It appears that you are trying to do your calculation in the table. In Access, you do not, I reapeat, do not do calculations in tables. Tables are for storing the raw data. Access is not an extension of Excel. It is a relational database and you need to not think in terms of spreadsheets. Having said all that, calculations are performed in Queries and sometimes in Forms. Not knowing how you will be using this or even publishing the information, it is probably best to do your calculations in your queries. Additionally, I noticed that there was no form associated with the table. It is not a good idea to enter data directly into tables. You should build forms and enter the data through the form. I know this is a bit of rant, but dB that are not built properly will give you lots of anxiety and issues in the future.
Alan
Alan
Click the * below to say thanks.
Database Principles
Pivot Table Tips
Good Excel Video Tutorials
Sumifs or SumProduct
DataPig Access Tutorials
MS Query Tutorial
Worst Pie Chart Ever?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks