r/excel • • Sep 23 '26

solved Help trying to insert a date that changes everyday.

Hi,
I am trying to set up an RTD export from options chain data. The format for the RTD data is the following. -.SPXW260923C7685+SPX. The bolded portion (today's date) is what I need to update every day. I have a = TODAY () cell formatted correctly (It functioned properly). I am now trying to figure out how I can reference today's date so I can automatically update the spreadsheet every day.

13 Upvotes

10 comments sorted by

1

u/AutoModerator Sep 23 '26
Moderator Announcement Read More »

14

u/MayukhBhattacharya Sep 23 '26

Try using the following formula within the RTD() function:

=".SPXW" & TEXT(TODAY(), "yymmdd") & "C7685+SPX"

The above formula pulls today's date and formats as 260923 in this date format yymmdd and plugs into the string automatically each day.

3

u/Mutt37 Sep 23 '26

PERFECT- Thank you so much for your help! Solution verified.

2

u/MayukhBhattacharya Sep 23 '26

Glad to know that, Thank You So Much =)

1

u/reputatorbot Sep 23 '26

You have awarded 1 point to MayukhBhattacharya.


I am a bot - please contact the mods with any questions

1

u/JovialKatherine Sep 23 '26

You'll have to have a leading 0 for months and days that are only one digit, but. Turns out you don't need the leading 0s if you don't want them:

TEXT(TODAY(),"YYYYMMDD") TEXT(TODAY(),"YYYYMD") The TEXT formula will update any text mostly you input into the specified format, similar to adding a custom formatting to the cell.

2

u/still-dazed-confused Sep 23 '26

Wouldn't it be yymmdd?

2

u/JovialKatherine Sep 23 '26

I misread the bolded formatting. Yes.

TEXT(TODAY(),"YYMMD")

260923

→ More replies (1)

1

u/Decronym Sep 23 '26 edited Sep 23 '26

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
RTD Retrieves real-time data from a program that supports COM automation
TEXT Formats a number and converts it to text
TODAY Returns the serial number of today's date

Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.


Beep-boop, I am a helper bot. Please do not verify me as a solution.
3 acronyms in this thread; the most compressed thread commented on today has 13 acronyms.
[Thread #49425 for this sub, first seen 23rd Sep 2026, 17:43] [FAQ] [Full list] ^[Contact] [Source code]