Custom Formula Entry Input Within Highcharts - highcharts

I am attempting to recreate a feature I've found in highcharts where the user is able to select various metrics (series) to add to the chart. These each are assigned a unique identifier (in the example below the identifiers are 'm1' and 'm2'.) From there the user can choose to enter a formula and manipulate the m1 series and the m2 series in any way they wish. In this example, (m1/m2). This is then assigned the unique identifier 'f1' (function 1), and is added to the chart where f1 = m1/m2.
I was wondering if anyone might be able to assist me in how the formula bar may be implemented in highcharts? I've included a picture of the example below and I will also leave a link which shows directly the functionality. https://studio.glassnode.com/workbench
enter image description here

Related

Is there a formula in Google Sheets that recognises if the content of another cell is generated by a formula vs input manually?

Is there a formula/function you know of that recognises if a cell content is generated from another formula and not directly input text/string?
I have a column with a formula that chooses an team member for a task to evenly distribute a task.
This column also has a data validation with the same team members names as choices.
If the team member accepts the task they choose their name from a dropdown box by data validation overwriting the formula so it doesn't change.
I am trying to create a bot (Zapier) that only sends a email when this last step happens, not when the formula selects the team member.
i.e. I was wondering if anyone knows if there is a formula that recognises if the team members are selected by the formula rather than selected by the data validation dropdown.
you can try:
=ISFORMULA(A1)
but note that this won't detect input created by arrayformula

Trying to set color point by column value in CartoDB

This is my first time using CartoDB. My dataset is a simulation of the behaviour of users arround the campus. My rows have latitude, longitude and the class column depending of the cluster in which the user is.
I saw an option to visualize the animation of the behaviour (cartodb transforms the data into a time lapse), but I'm trying to see the points colored by the class value. In the platform, there is an option to do that, but when I choose the "animation" mode then I can't choose any of the columns to set the color.
I show you an image:
However, if I choose the "By points" mode, I can display the points color by the class column value.
Is there anyone who has had the same problem? Do you have any recommendation?
I think the problem is on the column type, you need your column to be a string to be offered as a value, so maybe you want add a column to your SELECT statement on the DATA tab to reclassify your clusters. If you rename then you can also show them on the legend can reflect a better name for your clusters:
select *,
case cluster
when 1 then 'Cluster 1'
when 2 then 'Cluster 2'
else 'unknown'
end as cluster_named
from my_table
Something around that should help to convert cluster numeric field into a string one, then you'll see it offered to animate by that value.
Disclaimer: I work at CARTO

Using text from a cell in a formula in Google Sheets

I would like to use the text from a cell in a formula in Google Sheets.
I have a document with multiple sheets that a variety of people can edit with a H,M,L (high, medium, low) value from a drop-down list. Each person has their own tab in the Google Sheet.
I then have a dashboard that populates based on their choices of H,M,L. I know that I can use the formula =('Jay Delacruz'!C6) for example to populate a cell in another sheet by manually selecting the cells on the other sheet.
However, I am looking to make quite a few of these documents automatically with another Google Script that I am running that creates the individual sheets from a roster of names on the first tab.
My question is, is it possible to have a =('Jay Delacruz'!C6) type formula that instead of the sheet reference it can pull the name of the person from the roster, as this will match exactly the sheets that are automatically generated by the script I have running.
So I would essentially have a pre-populated dashboard of formulae that would become valid once the sheets are created with the names, as created by the other script.
If it makes it a little clearer, there is a link below to make a copy of the Sheet I am working with. All names were randomly generated, so don't reference any real people or data.
https://docs.google.com/spreadsheets/d/1NiXqko8SibD6VsfrnFcj7e7c99Hg-RoSlHVAYWb0E94/copy
Thank you in advance!
Liam
Try
=INDIRECT(C1&"!C6")
Also see here for more info on INDIRECT() function.

Format cells based on current value and another one

Sheet regarding this question.
I have a set of sheets where each person must use a drop down box to select a house they would like to view. We can easily add a house to the list by inserting the address, and a URL into the "houses" sheet and it will be shown in the dropdown list and the results table.
Everything works so far, but if a house becomes unavailable, I want to mark it unavailable on the "houses" sheet, and then all occurrences of that specific house in the dropdown cells and results section should have a red background.
I could use conditional formatting, but this would require me to apply a different formula to each cell and that wouldn't be practical.
I regret not elegant but I think your layout is not well suited to Google Sheets' strengths. The best I can suggest is in say J2 of sheet Choices:
=vlookup(B2,Houses!$A:$C,3,0)
copied down to J30 and J2:J9 copied across to ColumnN. Then select Choices ColumnsB:F and Format - Conditional formatting..., Custom formula is and:
=J1="No"
with formatting of red background Done.
You might want to hide columns J:N.
You should just use conditional formatting.
Step 1: Select Cell B2, go to conditional formatting and create a new rule, "Use a formula to determine which cells to format".
Step 2: Use the following formula:
=VLOOKUP(B2,Houses!$A$3:$C$42,3,FALSE)="No"
Note: This B2 value since it isn't using $, moves dynamically depending on what cells your formula is applied to. The VLOOKUP looks up the B2 value in the depicted range and returns the 'Available' column (column 3 on the Houses sheet). We're matching on "No" specifically, I believe its case sensitive so watch out for that caveat.
Step 3: Set your format to Red.
Step 4: Make sure your 'Applies to' box is pointed to the following range:
=$B$2:$F$9
Personally I hate hard coded ranges like these, you should look into dynamic named ranges. That way you can just reference a named range instead of the A3:C42 range for both your Data Validation dropdown as well as these formulas.

Excel 2010 dynamic named range is replaced with the calculated range

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.

Resources