Excel Date value is 16 days off for some users - excel

I have an asp.net core application that uses Npoi to generate an Excel spreadsheet from a list of objects. This works fine when I run the application on my machine. However, when some of our users run this function, the dates on the spreadsheet are displaying 16 days earlier than their actual values. For example, the date 11/3/2020 is displaying 10/18/2020 for some users.
What's weird is if they email me the spreadsheet and I open it on my machine, the dates display correctly. Has anyone else run into this issue, or have a guess as to what might be causing this to happen? Also, any suggestions on how to fix it?
Your help is greatly appreciated. Thanks. -Joe

Related

How to turn off Auto Refresh on "Stock Price" Data Type in Excel

Since yesterday, my excel files are automatically updating the Stock Prices.
And for my use, that is really bad.
It updates randomly after a while that im using the excel file, or when I open it
What can it be?
It is happenning in all the files and it didnt happen before, is there any configuration that im not aware of?
Thanks!
I found the explanation! There is a new configuration to excel, that for default, updates your data types at every 5 minutes:
https://support.microsoft.com/en-us/office/automatically-refresh-linked-data-types-44cd357f-4679-4c2e-bc65-1e3dcf94809f

VLOOKUP Excel returns #N/A for my boss, but not for me

I got tasked to take over some statistics for management at my company. These statistics are placed on a server that anyone from management has access to and me. We are generating a monthly report based on other reports that are placed on the same server.
Here come the problem:
The values are generated automatically based on a VLOOKUP formula, which is just checking if the data from the other files have a certain value. When you open the report, you get a prompt if you want to update the external links. For me, no matter what I pick, I get no #N/A values. However, when my boss tries to open the same report, no matter what he picks(either update links or not), he always gets #N/A on the cells.
Because of the contract that I signed, I cannot show you any code, however, I can tell you what I have tried:
At first, I thought that my boss has lost (somehow) some permissions with the external files. But this is not the case, we tested every file and he can access all of them, even being marked as an administrator in some cases.
Secondly, I checked the report from the current month with one from two months ago (which works for him, no #N/A here) and went through all of the formulas. No luck here either, all the formulas are all the same except the external file name which was changing (I have done this step with the help of Spreadsheet Compare).
Third, I thought that maybe some macro would be running in the background (even if that makes no sense because these are .xlsx files). No luck here either, there is no VBA code written in any of the sheets of the workbook.
I got no ideas left. He has all the permissions, even more than I do, there is no difference between an old report which works just fine, and this one that is stuck, and there are no running macros. Any ideas?
Edit:
I can give you a sample of the formula, but will replace the actual path with a fake one since I cannot show this proper code:
=VLOOKUP(look_up_value, 'O:\fakepath\[file.xlsx]Report'!$C:$AZ, MATCH('Lookup Data'!$B$3, 'O:\fakepath\[file2.xlsx]Report'!$5:$5, 0) - 2, FALSE)
Also, I might also add details that were asked below here:
The language settings and DateTime format is the same both me and my boss
Both excel files have the same version, including the same display language
The mapping of the external files is the same for both of us, since they are on a server and we both have the drive letter for the server "O"
No definitive answer since question does not have enough details nor sample formulas, but some ideas:
are the 2 client machines with the same language settings (windows regional settings) ? that may impact dates and other factors
are the versions of Excel identical ? (including language)
external data: if here are external links, do the 2 client machines have the same drive mapping ? (could be P: on yours and R: at your boss pc)
EDIT: same rights to source folder ?

Format error exporting to excel in List Labels

I have a strange situation occurring while exporting a report into excel file type.
On 2 different machines (V.M.´s) i have a discrepancy on time type table column.
While in one of them the presentation is has expected in the other it messes the format of that specific column adding ‘tt’ to the end of it´s data.
Please find attached screenshots of the O.S. and excel result(I am not allowed too upload the lst and lsv files,sorry ).
Can someone please let me know what is causing the issue?
LL version is 21.
Thanks and regards,
This behavior will be fixed with service pack 25.004. A hotfix is available.

Excel Power Query not Working on Colleagues Computer

My excel power query I built is not working on computers other than mine.
When other people try to refresh the query on the sheet (which is stored on SharePoint) the following error shows up:
Anyone know why this is happening?
I hope your version of excel is the same as your colleague.
Anyway, from the error message I can read notesSort... is it a sorted column on the fly or the effective name of the field?
Try to remove the column from the Advance Editor and analyse what is going on. Test on your colleague computer to check if it's working.
Hope that helps!

SSRS 2014 URL access always generates XLS instead of XLSX when format is EXCEL

I have SQL Server 2014 and I'm trying to access my reports via the URL access. As I understand, the Excel format should be giving me an XLSX file which supports an unlimited number of rows. However, after looking at my log files I noticed that I was getting maximum row errors for any reports with more then 65536 rows. After looking into this I discovered that any time I request the reports via URL with format as EXCEL, they generate a XLS file instead of XLSX. If I run the reports out of Visual Studio and export as EXCEL, they generate just fine as XLSX. Anyone have any idea how to fix this issue?
Found the solution to this problem so I figured I'd answer it here in case anyone else runs into this problem. the list of supported formats for URL access listed on Microsoft's website here shows the following list: HTML4.0, MHTML, IMAGE, EXCEL, WORD, CSV, PDF, XML, and NULL
It does not, however, list the one that actually generates an XLSX file. That format is EXCELOPENXML. Why they don't list this format is beyond me. Perhaps I was looking in the wrong places.

Resources