Extracting data by date (today-function) but don't want data to change over time

davva23

New Member
Joined
Jul 4, 2017
Messages
1
Hi
I'm helping colleagues to extract data from a big table of info entered by week. The problem is that I want the date to be true at that moment and not the next month menaning that for a specific month the data should be extracted and not changed after that. My formula compares the date in a cell plus/minus a certain amount of given days and turnes this into a weeknumber. This is then compared with the sheet with all the data. So let's say that for end of October I need to extract the info from column F as the info looks in october. The info in column F is changed all through the year. So I want a snapshot of the data in October. Then next month I want a snapshot of the data in column F what it looks like in November.

My problem is that it changes for every month so when november comes, october becomes 0 and it only calculates for the current month. Since I use the today()-function I guess this is how it should work but I'd like the formula to only execute as the month is true and only once. Is this even possible?

I've been starting to think that I might need to create a macro but I didn't want to do this. However, it seems that this might be the only way?

Kind regards
David Albady
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top