David_Skov
Active Member
- Joined
- Jun 29, 2004
- Messages
- 267
I have created a database and all new rows that will be added can be done by simply importing new data. But a single coloum needs to be recalculated each week.
I have a Year To Data (YTD) coloum and it changes from week to week. So lets say it's week 20 and that I have data for all 2003 and 20 weeks in 2004. I have a coloum in my access database which indicates if the data is YTD or not. To compare 2003 and 2004 I need to see total costs in 2003 YTD (total costs from week 1 to 20 in 2003) compared to total cost in 2004 YTD (Total costs from week 1 to 20 in 2004).
In a excel sheet I can add a formula that makes sure that the YTD flag changes each week. So when we reach week 21 I have to compare YTD 2003 vs. YTD 2004 (now week 1 to 21)
Is there anyway that I access can handle this?
In excel I use this formula:
If(T$1<=$BB$1;"YTD";"-")
In excel BB1 = the week now. So if we are in week 21 then BB1 = 21. Since I need to handle huge amount of data I'm looking into moving data into a database, but I can't seem to find any ways to handle this problem.
Plz help and plz tell if you don't know what I mean
For now my database contains 16000+ rows and 28 coloums.
The idea is to make it dynamical. Now we can only handle 2 years at a time in excel. With Access we can handle 100 years. For now the only use is to make Pivot tables in excel. But the smart thing is that I can have more years in access and even better, link the data with other databases
I have a Year To Data (YTD) coloum and it changes from week to week. So lets say it's week 20 and that I have data for all 2003 and 20 weeks in 2004. I have a coloum in my access database which indicates if the data is YTD or not. To compare 2003 and 2004 I need to see total costs in 2003 YTD (total costs from week 1 to 20 in 2003) compared to total cost in 2004 YTD (Total costs from week 1 to 20 in 2004).
In a excel sheet I can add a formula that makes sure that the YTD flag changes each week. So when we reach week 21 I have to compare YTD 2003 vs. YTD 2004 (now week 1 to 21)
Is there anyway that I access can handle this?
In excel I use this formula:
If(T$1<=$BB$1;"YTD";"-")
In excel BB1 = the week now. So if we are in week 21 then BB1 = 21. Since I need to handle huge amount of data I'm looking into moving data into a database, but I can't seem to find any ways to handle this problem.
Plz help and plz tell if you don't know what I mean

For now my database contains 16000+ rows and 28 coloums.
The idea is to make it dynamical. Now we can only handle 2 years at a time in excel. With Access we can handle 100 years. For now the only use is to make Pivot tables in excel. But the smart thing is that I can have more years in access and even better, link the data with other databases
