Excel Online - creating table changes date display to decimal - excel

Once I create table in Excel Online
I get some side effect which is change of date display to decimal value:
To reverse this effect manually I just have to change current date format to anything else, then go back to the first one. Nothing really changes that way but date display gets back to normal.
The thing is I want to avoid this situation.
Any idea how to deal with this phenomena? Is it some bug or maybe it can be dealt with some office settings?

I was not able to replicate your problem with office365.
Setting the whole column to a specific date format before generating the table keep the formatting to the generated table.
Set specific date format:

Related

Excel adds "1/1/1900" to my time duration entries and changes the time as it appears in formula box. Usual fixes not working

I have a column of time durations in an Excel sheet that is destroying my week. I wish I could make a custom hhh:mm format for this column, but I am only allowed to edit this sensitive document on SharePoint and Sharepoint does not support custom formats. Consequently, this is the best I can do for time duration:
Works fine. Most of the rows use this format. But inexplicably, many of the rows have this format instead:
This format difference messes with formulas, and as you can you see in the picture the time "duration" is different in the formula box. The time as it appears on the sheet is correct This format resists all attempts at change, and I've looked up quite a few solutions. Reformatting the whole column has no effect. Copy pasting the values in various ways either retains the problem or produces incorrect results. The Text to Columns fix I've read about in a few places gives me the time as it appears in the formula bar, not the (correct) time as it appears in the sheet.
I am extremely desperate for a fix. I appreciate whatever help you can provide. Please keep in mind that I cannot use custom formats on Sharepoint and I cannot edit this document elsewhere.

Export original value to Excel keeping format only in Webi

I am creating a report in Business Objects Web Intelligence, and there is a requirement to format a number in millions. For example, $4,879,987.23 would be formatted as $4.9M.
I tried both a custom number format and a conditional format, and I can get it to display like I want, but when exporting to excel, I get $4.9M in the underlying data instead of $4,879,987.23 - the business I am creating this for really wants to see $4.9M, but be able to interact with the cell in Excel as if it is $4,879,987.23.
Does anyone know if there is a way to export from webi showing a ###.#M format, but using the actual number (###,###,###.##) in Excel?
Format Cell to a Number with Custom formatting as follows:
#.#,,"M"
This will convert the following value...
4321987
... within the cell to instead be displayed as...
4.3M
You can adjust slightly to your client's preferences from here.
Do note that it will round according to regular arithemetic rules.
If you do the custom formatting AFTER the data has been imported into Excel, as opposed to prior, you will not see the real number adjusted or modified in any way.

How do I get Excel to use Formatted_value in SSAS cube

TL;DR: What (Where) do I need to make changes in order to instruct Excel to use the format string to format the values pulled from the cube?
I have a SSAS cube that adds some calculated measures onto an existing user-defined function. On top of that, I use Excel and Power Pivot to display the data for the user. The user wants the resulting value (generally a number less than 2) to display with 2 decimal points.
In Visual Studio, I have added the following line to the MDX declaration:
FORMAT_STRING = "#,##0.00;-#,##0.00",
However, when I go to pull the data in using Excel, it doesn't use the formatting.
I have made sure that my connection configuration includes OLAP Server Formatting. I have also seen that Excel has a hard time with some of the formatting options such as "Currency" with certain language settings or case issues.
Edit: I have also made sure to refresh the excel connection, pulling in the data again.
What (Where) do I need to make changes in order to instruct Excel to use the format string to format the values pulled from the cube?
If this requires much work, would offering the user a template in Excel with the formatting set Excel-side offer the same capability? I am wondering specifically about the users removing the values and adding them back.
Edit: The version of Excel I am using is Excel Professional Plus 2010, version 14.0.7015.1000 (64 bit)
The issue was that the format statement was being set right after the declaration of the calculated measure. This placement wouldn't have been an issue if there were no scope statements afterward that modified the measure.
However, the addition of several scope statements related to the measure were present. Because of these, the FORMAT_STRING was being lost.
To fix this issue, the FORMAT_STRING must come after all the scope statements regarding the measure.
FORMAT_STRING([Measures].[Dimension]) = "#,##0.00;-#,##0.00";
After this code was added to the end of the MDX statement, Excel pulled the format correctly.

Using Reporting Services Excel data spreadsheet shows ####

When I export my rdl file to excel the date/time shows up as ######. I researched it and it said to make the columns wider. I got it to work but im on the edge of the page. When I export to pdf everything is messed up because of the width. Is there another way to stop the excel spreadsheet data from showing up as #### other than widening the columns?
"How come other text fields are able to go to the next line but the date/time cant in excel?"
Try converting the datetime to string:
=CStr(Format(Fields!Target_Date.Value,"dd-MM-yyyy hh:mm:ss"))
Make sure the format of the textbox is set to 'General', or the Format property is blank.
This will allow the date and time to wrap in the textbox. The downside is excel now thinks this date is a string, which if there is to be no further manipulation of this, should not cause an issue.

SSRS date format in Excel with localization

I'm trying to export a SQL Server 2008 R2 Reporting Services report to Excel. The report has a column of dates. The date is stored as a datetime in the SQL server.
The language of the report is set to =User!Language, the format of the date-cell is d.
When exporting/rendering the report to PDF, everything is displayed in the locale of the request made by the browser (Accept-Language).
When rendering to Excel however, the format suddenly changes, for example, to General ([$-10409]M.T.JJJJ) (German Excel, locale of the OS set to de-AT, browser-locale is en-US).
This means that the Excel displays dates in a completely wrong format - the sequence of day, month and year is hardcoded and only the separator comes from the current locale. This makes sharing reports between different OS languages almost impossible since a report generated from a d-m-yyyy country will still display as day-month-year in a country with different date formatting (and vice versa). So any person expecting a m/d/yyyy formatted date will get d/m/yyyy.
This is especially dangerous if there are no dates with days above 12 - ie: it is very likely to misread the displayed date because there is no obvious error.
When manually setting the cell-format in Excel to date, everything seems fine and the format changes with the locale of the OS.
Is there any possibility to force the cell to be formatted as Date in Excel without having to edit the Excel file itself?
P.S: numbers are also not formatted as a number but as [$-10409]#.##0,00;-#.##0,00 - which is less of an issue but still potentially a source of errors. (format in the report is N2)
I've manages to solve similiar issue. Solution is rather simple.
In report editor, open Design view and select field, which you want to edit, right mouse click and choosee either Expression or Textbox properties. The rest is very intuitive as in Excel editor.

Resources