How to hide / make invisible formula in google spreadsheets - formula

So i want to hide my formula at cells google spreadsheet. But anyone with the link can see the data (just cannot see the formula when they click the cell).
could i do it in google spreadsheets?
i don't hide my formula bar (i mean click view > show > formula bar, it isn't i want)

You can place your formula in a hidden column and create a range protection for this column with the permisison that only you can edit this range
For example, if your secret formula is in column D:
Mirror its content into column E with =C1
Set a proteciton on column D
Hide column D
Other viewers and editors will only see the content of the other columns, but will not be able to unhide column D since they will have only a view only permission for the protected range:

Related

How to hide group column headers in a FastReport drill down grouped report when the group is collapsed?

Using FastReport 4 with Delphi 2009.
I have a simple drill down grouped report (ie groupheader1.drilldown = true) running from a single data set with a group header followed by a master data band.
The group header has some memos with overall group data and the master band has some memos with data from that group.
To get column headers for the individual items with each group when the group is expanded I've put some memos with plain text in them at the bottom of the group header. (shown highlighted in red in the first image)
This works fine when the group is expanded but looks strange when I collapse the group as I still see a column header for each group, even though the data is collapsed. (see second image)
Is there a better way to make the column headers for the expanded data such that they only appear when the data itself if expanded?
This is the report design
This is what it looks like with the groups collapsed (note you can see all the column headers)
This is what it looks like with one of the groups expanded (that group looks OK but the others look odd)
To assist anyone else looking at this I have found the answer to be the following.
Add a second group header underneath the first one with the same
condition as the first one.
Put the col headers in the lower group header and leave the memos
with summary group info in the upper one.
Set DrillDown := true for upper group header and false for the lower
one.
so the design will look like...

How to add denominator count (Total sales) for stacked graphs in Tableau

I have built a bar graph using tableau for the following data. How to add Total sales (120,150,200,180,140) on top of the each bar in tableau
[The following image has the data and bar graph that I was trying to build]
[1]: https://i.stack.imgur.com/NdA7s.png
Thanks for your help
Hope this helps.
I pivoted the data first to make it easier by working with a single measure.
Go to the data tab and select the Sale A and Sale B measures:
Then hit the dropdown and select Pivot.
Then your data will look like this
Next, you want to set the fields up like this so it mirrors your screenshot.
The SUM(Pivot Field Values) is a table calculation set up as percent of total calculated Table (down).
Then just duplicate your measure by holding Ctrl and dragging to Rows. Make it a label in the Marks section. This will add the total. You just have to play with the axis and format to get it into the place you want from here.

How to edit legend labels in google spreadsheet plots?

I'm trying to plot some data in Google spreadsheet:
And as you may see all of the series are in a same column and I can't use the any of the rows as headers. My plot looks like this:
I would appreciate if you could help me know how I can edit/add legend labels.
Unfortunately I don't think the graphs were intended for your data format.
The only way I've been able to work out how to add a header is by reformatting my data so I have the header at the top of my ranges.
So I suggest you split your data into separate columns so you have;
D2:D4, E2:E4, F2:F4 etc with D1, E1, and F1 as your header and then selecting "Use row 1 as your headers." From the data menu.
Alternatively, you could add labels to the series themselves. Although not ideal, it could be quicker than reformatting your data. On the data menu, click on the three dots of a data series to bring up a menu that allows you to add a label. Unfortunately this needs to be a cell so you'll have to have that header on your sheet some where.
I had the same question this year (2021), and it looks like there's support for it now. In short, you just have to double-click on the empty legend item for the series, and it'll give you a place to put text, directly in the chart.
Here's what my chart looked like (with no series titles):
If you double-click on one, you'll get a small text input area.
Type in your series name and then press enter or click outside of the input area.
Repeat this for each series, and you should be good to go.
I had the same problem because I was selecting only the data I wanted to include in the chart and not the entire table, headers and all. When you create a chart in Google Sheets and you want to use a row or column (or both) as strings that are included in the chart's labeling, you must select the entire table before choosing the Chart command from the Insert menu.
After doing so, you may need to do all or some of the following:
Switch rows/columns if your axes are not correct
Eliminate any rows/columns that you don't want represented by editing the Data Range field in the chart editor
Select Use column A as headers or Use row 1 as headers
You could also potentially use the add labels option when clicking on the 3 dots in the series section:
Double-click on the symbols in your legend, then double-click on the symbol for the series you would like to label; you should be able to directly enter your legend label now. You can do further text formatting using the chart editor on the right.
I took them to a new sheet. first selected only the X-axis and one of the columns that will appear as one. label. In this sheet, I made all the "labels" as a header of the sheet. and added them one by one as a series. and this time it. add them as a label.
obviously this is a workaround and the bug should be fixed :) hopefully.

How can i customize grand totals in tableau

I am having a table with percentage in cells. i am calling R and calculating sigma for each cell. Now i want row and column grand totals of the sigma that is calculated.
I referred some articles on how to customize grand totals but even that did not help.could it be because i am calculating the cell value using R.
Have you tried clicking on Analysis > Totals > Show Row Grand totals?
1) Click on Analysis->Create Calculated Field… The Calculated Field dialog will open.
2) Make the name “Fake GT Header” (without the quotes)
3) Make the fomula “Grand Total” (with the quotes)
4) Click OK to save the calculated field. Tableau will automatically make it a Dimension in the Data window.
5) Drag the “Fake GT Header” field from the Dimensions area to the Rows Shelf.
Does that answer your question?

Dynamically display image in a Sharepoint 2010 list

I want to display image dynamically in a list. I have two columns in a list. The first column contains some numerical values and other contains smiley icon. My requirement is, if number in first column is greater than 50, I want happy smiley to be appear in a second column in a list, and sad smiley for less than 50 number. Currently I use hyperlink column to display image in a list. And I am adding image manualy.
I am looking forward, if it is possible to automatically display image based on first column number. Something like calculated columns. Lets say,
HyperLink/Picture Formula:
column =IF([someNumer]>50, "href = c:\Test\happySmiley.ico", "href= c:\Test\happySad.ico" )
I was wondering if we could do something like this, or any other suggestion is appreciated..
You are looking for KPI indicators.
You can also find great overview here:
How to create a SharePoint KPI column
And also check similar question on SPSE:
Make all KPI Status Icons in diamond shape

Resources