TEXT Function

Copper Contributor
I have a problem with some select.
Can you help me with some example about "TEXT()" FUNCTION?

I want to select custom data from another sheet/ or another excel file with text function but I don't find some example with this subject.

 

My standard formula is : ='[SampleData.xlsx]06.02.2022'!$E$2

I want to select custom sheet( my sheet name is data, I create a new sheet for every day).

Tomorrow the name of new sheet will be 07.02.2022.
7 Replies

@redgeckos 

If the sheet is in another workbook that is open in Excel, you can use the INDIRECT function:

=INDIRECT("'Sample Data.xlsx]"&TEXT(TODAY(),"dd.mm.yyyy")&"'!E2")
But, how can i update the excel where i have formula without open the second excel ?
If i don't have the second excel open in cell where i have formula i give #ref

@redgeckos 

Alas, INDIRECT does not work with closed workbooks. There is no good solution for that.

I have 2 workbook, one for data and second for formula and view.
What can I use?

@redgeckos 

Either keep both open, or move the sheets from both into a single workbook.

Why not simply move the two workbook info one sheet to save yourself some undue areas or simply store your data in MS SQL and connect to Excel and do whatever you want
This excel need to be show on tv and second excel is for store same data, i modify the excel some times per day.
I try to put data in sql and afther that made a connection with excel.