Excel 2010 dynamic named range is replaced with the calculated range - excel-2010

I am trying an experiment using a series of dynamic named ranges to generate a series of charts under Excel 2010 (Microsoft Office Professional Plus 2010).
The problem I am running into is that the name of the dynamic range gets replaced by that calculated range after the name is entered.
In this experiment I am using a simple line chart to show the data.
I am selecting the Select Data... pop-up menu option for the chart.
In the Select Data Source dialog box, I enter the named data range into the Chart data range TextBox, and hit enter.
I enter ChartNumbers and it gets replaced with =Drawings!$E$316:$E$465
I have ChartNumbers defined as =OFFSET(Drawings!$E$11,Drawings!$X$4,0,Drawings!$W$4,1)
After setting the chart's data range, any changes I make to the size of the data table are not reflected in the chart. I have to reapply the named data range to get the chart to show the new data set.
All the examples I have seen, mention nothing about Excel replacing the named data range with the calculated range.
Is there a different method I have to use for charting a named dynamic data range?
Is there a checkbox somewhere to prevent this from occurring?

There are 2 issues you may be running into when using named data range:
You MUST do this to the chart series not the chart data range as Excel will translate the Offset named range to an actual range that will not remain dynamic.
When adding the named range to the chart series, you MUST reference both the file name as well as the named range (i.e. FileName!NamedRange).
Here is a detailed posting and video to help you out.
case-study-creating-a-dynamic-chart-in-excel-using-offset-formula
Let me know if it helps.

Related

Autoupdate Google Sheet range

I have a logger that sends data to a Google Sheet every 5 minutes (by adding a new row to it).
I would like the charts I associated with the sheet to update their range automatically. If possible, I would like to avoid scripts.
It seems to me you should be able to set the chart range to the appropriate columns. Such as A:A. Can you share what the Data range for your chart is. Shown here:
In the above example, let's say columns I thru AG were going to go on in perpetuity due to logging. I could put I:AG in the data range field but it will auto update to the last row in the sheet. If you want to work around using this, add a bunch of blank rows at the bottom of the sheet and you will rarely need to update the range (&add more rows.)

Data studio filter - some of String data converting to date range automatically

In my data studio dashboard i have team size filter. This team size column contains(in google sheets) few types of team sizes(0-1,2-5,501-1000 ... ). My problem is when i add a filter using this team size column it shows date ranges(some of data). 2-5 team size shows as 2020-02-05 likewise. Data type for team size is string in data studio.
Issue Identification
Was able to replicate the issue. Currently it seems that the values 2-5 and 6-10 were automatically detected as Date values in Google Sheets (notice that Dates are right aligned as opposed to Plain Text values which are left aligned in Google Sheets).
Suggestion
In Google Sheets, select the column and set the format to Plain Text and refresh the Google Data Studio Report to view the refreshed data showing the values as expected.
Editable Google Data Studio Report and a GIF to elaborate:

Recoding Area labels based on zip code data in excel

Basically, I'm using SPSS and have a variable named AREA that includes different major counties in California. Within this variable there is a value label for "Other" and I want to be able to relabel the data to go in their respective county. I have an excel sheet with all the zip codes that fall into those "Other" counties and do have a zip code data in the file as well. There are 400+ zip codes so I'm trying to see if there is an easy alternative to having to manually type in each zipcode into syntax to recode those values.
I've tried seeing if there was a way to reference the excel workbook, but have come up empty handed.
Any guidance or approaches to this problem would be appreciated!
The data in excel has unique zipcodes with corresponding Area value in cell to the right. In the data set there may be multiple instances of each zipcode.

Data Studio date range that filter on Google Sheet Column

I'm using Google Sheets, and wanted to do a Data Studio "real time" report, based on the data in the sheet.
The sheet contains data from an issue management program.
My data in the sheet exactly:
Issue type (string), Work time (number), issue created at (date), issue resolved at (date)
I successfully created a pie chart that's dimension is: Issue type and metric: Work time
I can see that all the data in the pie chart.
Now my problem is:
I can't filter this chart with a date range.
The date is in a correct format: YYYYMMDD
but I can't describe to data studio, which date column it should filter when I set a date range in the control.
Is it possible some way to create two date range filter and one of them filter on created date, and the other one filter on resolved at date?
Thank all of you!
Roland
Check to make sure that the date range you're filtering by is the first date column from the left in your Sheet. If it's not, then Data Studio gets confused and doesn't work properly.
I'm not sure if you can have two different dates in two different filters. The graphs wouldn't know which filter to follow.
Finally I deleted the connection between the sheet and the report, and started again everything, and it works fine. I think I created the connection when the date was not in a correct format, I changed it after making the connection.

Getting calculated range values with Microsoft Graph and the Excel API

With the graph explorer & excel API I was able to get the used range of a worksheet with following endpoint:
https://graph.microsoft.com/v1.0/me/drive/items/{drive-item-id}/workbook/worksheets('Sheet1')/usedRange
However, the request returns a json full of formulas instead of the values calculated from those formulas that appear in the cell when opening the workbook in excel.
Is there a way to get Microsoft Graph to calculate my workbook instead of returning formulas when fetching ranges or cells?
You could use values or text property of range object to get to computed values. text is what the users would see after applying number format (non trimmed version).
If your workbook is in manual mode and you like to calculate after updating the formula, you could run the calculate API against the workbook.
POST /me/drive/items/{id}/workbook/application/calculate
Body is optional. If you wish you could use below calculation options.
{
"calculationType" : "{calculationType}"
}
{calculationType} specifies the calculation type to use. Possible values are: Recalculate Default-option. Performs normal calculation by calculating all the formulas in the workbook,Full Forces a full calculation of the data, FullRebuild Forces a full calculation of the data and rebuilds the dependencies.

Resources