Results 1 to 3 of 3

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

  1. #1
    Neophyte davva23's Avatar
    Join Date
    Jul 2017
    Excel Version

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

    Register for a FREE account, and/
    or Log in to avoid these ads!

    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

  2. #2
    Conjurer alansidman's Avatar
    Join Date
    Oct 2018
    Steamboat Springs
    Excel Version
    instead of using =today() for the date, use ctl ; ie. Control and Semi-colon. This will hard code today's date into the cell that is active.

    If this is not the issue, suggest you upload a sample workbook showing what you have and what you want to change.

  3. #3
    Administrator Pecoflyer's Avatar
    Join Date
    Oct 2011
    Brussels Belgium
    Excel Version
    2010 on Xubuntu
    Hi and welcome
    Please,do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.
    If you have fewer than 10 posts here, you will not be able to post a link, but you must still tell us where else you have asked the question

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    Do not post any further responses in this thread until a link has been provided to these cross posts.
    Last edited by Pecoflyer; 2018-10-09 at 08:39 AM.
    Thank you Ken for this secure forum.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts