What is dynamic date? - excel

I want to know what dynamic date is and how to use it. I just know it is something in excel but really not clear. I searched on google some times but still found hard to understand.

In a nutshell, it's a date generated by the Today() function, which updates automatically.
In an excel sheet, type =Today(). This will enter the current date. As this is a volatile function, if you save the file then open it tomorrow, it will have tomorrow's date.

Related

Is there a way to nest the TODAY() function into an external cell reference in Excel?

One of the daily repetitive tasks that my team handles requires using an excel template to format and upload rate indices to our system.
The 9 cells that contain the rates are currently set up as individual outside cell references. The format of the cell formulas are: ='S:\Ext1\Ext2[RATESHEET 02-02-2023.xlsx]RateName'!$C$7
The file being referenced in [RATESHEET 02-02-2023.xlsx] is updated every day with a new file and the current date. Right now, a member of the team has to go in daily and update each reference cell formula with today's date. I want this to update without going in to every cell.
I have three possibilities that seem plausible, but I can't seem to search correctly to figure out if any of these are possible in Excel.
Best case scenario, I would love to nest the function TEXT(TODAY(), "mm-dd-yyyy") into the reference formula and have each reference cell update with the daily date every time the file is opened.
Second best, I considered that all of the cells could reference a dummy cell that has the text/today function already in it.
Third best idea is to provide a user prompt to enter the date in that format, and have it update the cells from there.
Excel wizards, please let me know if there is any good way to accomplish this task.

Excel EOMONTH date function

I am trying to use EOMONTH in excel, but I cannot make it work... It i not recognising my date as a date.
I am using excel for mac (ver16.45), in column I type for example 01.01.2020, or 01/01/2020 it always formats as 1.1.20. When I try to change formatting I have asterisk for default date as in my system as *14.3.12 and I leave it like that... than when I use =EOMONTH(C1,0)...
I am getting error ("Not trying to type a formula?
When the first character is an equal ("=") or minus ("-") sign, Excel thinks it's a formula")
I know that for EOMONTH excel need to recognise data as a date, and that it needs to be in format of the system... but for me is simply not working...
I don't know is it mac maybe, or what can be...
Thanks!
It would be helpful if you could upload a copy of your workbook, or at least a screenshot of your scenario, so I can get a full understanding of your request. Based on your initial comment, can you replicate my screenshot and let me know if it works?

updating a part/the date of the URL in excel

Basically, I haven't done much of excel formulation so this is new to me. I have an excel file which has a few hundreds of URL in it. now, most of these URL's are a search from different websites which include the dates in them. for example:
https://www.ft.com/search?q=investment&dateTo=2018-11-21&dateFrom=2018-11-21&sort=date
so the q=investment is what I'm searching which is static but the part To=2018-11-21&dateFrom=2018-11-21 depends on the date of everytime I open the file. I wonder if there is a way to formulate this URL so everytime I open the file, the dateTo=2018-11-21, and dateFrom=2018-11-21 gets updated by itself to todays date?
Let's assume the original URLs are in column B, and you put today's date =TODAY() in cell A1, you then put the following formula in cell C1 :
=SUBSTITUTE(B1;"2018-11-21";TEXT($A$1;"yyyy-mm-dd"))
And copy down as far as needed.
I hard coded the "2018-11-21" old date in the formula, but it would of course be easier to re-use if you put the old date in eg. A2 as a text string (very important, not as a date!)
If you want to have hyperlinks as output, just wrap with HYPERLINK() function:
=HYPERLINK(SUBSTITUTE(B1;"2018-11-21";TEXT($A$1;"yyyy-mm-dd")))

reference date in cell for file name in vlookup

I have a vlookup that references the prior month end file on a shared drive. These files are saved with the date in the file name as mmddyyyy.
=VLOOKUP([#[DealerCode]],'\\mypath\[Performance_07312017.xlsm]SheetName'!$B:$K,10,FALSE)
The formula must be manually changed at the beginning of each month. I want to have the formula look up from the previous months file by referencing the current date in C1. I've tried the following, but I get #VALUE.
=VLOOKUP([#[Dealer Code]],CONCATENATE("'\\mypath\[Performance_",TEXT(EOMONTH($C$1,-1),"mmddyyyy"),".xlsm]SheetName'!$B:$K"),10,FALSE)
I want to leave the month end files closed, so I don't think INDIRECT is an option.
It seems like this should be simple, but I'm stumped. Thanks in advance for any guidance y'all can give.
The only solution short of VBA is with Indirect, but as you already mentioned, it does not work with closed files. There is a free add-in called Morefunc.dll, which has a function called IndirectEXT, which works with closed workbooks.

COUNTIF to count =TODAY()

In Excel I am using DDE to pull intraday stock quote information. So it is continuously updating. I am trying to:
=COUNTIF(A:A,"="&TODAY())
But the column A:A which are dates some not of current date. Are being produced by functions or forumlas so they are not being read as text. I don't want to change the column into text so it can be read. because it refreshes every minute.
Is there a way to get =COUNTIF(A:A,"="&TODAY()) to read the text that is being produced by the functions within A:A instead of the functions?
Please reference the comments below the OP question.
The problem was that the dates were displayed with a number format that did not reveal there was a time component as well.
The time component was 8:00 AM.
The following formula solved the issue:
=COUNTIF(A:A,"="&TODAY()+8/24)

Resources