Could someone help me with this? I'm relatively new to excel and the VBA environment. What I need to do is create a form with a drop down menu that selects a certain key. Lets say I have the following two spreadsheets
Tab 1: "Cats"
Type Color size weight
Calico white 20 25
Tuxedo black 15 16
Dumb orange 12 22
Tab 2: "Dogs"
Type Color size weight
St Bernard cerulea 125 200
Beagle pink 25 30
Adorable blue 45 50
I'd want to have the "type" in the drop down menu and let's say St. Bernard is selected.
I want a label or cells to be populated with that type's color, size, and weight.
It's essentially a search function. Any help would be appreciated
Filters? Select the table then Click the Data Tab then click on filter (Ctrl + L).
Related
I have a monthly spreadsheet with varying numbers of hours per day. I want to multiply each of the daily hours by 20 each time and create a formula so it does this automatically.
I can't work out how to do this so that the formula copies across each time and automatically gives the hours x 20. Can anyone help please?
Let's recreate your example in Calc, starting with an empty sheet. In cell A1 enter "NUMBER OF HOURS". Put 6 in A2, 4 in A3, and 8 in A4. Easy so far, right?
Now, click on cell B2. Press =, click on cell A2, and then enter *20 and press Enter. The result should show as 120.
Next, click again on cell B2. See the dark square in the lower right hand corner of the cell? Click and drag it down to cell B4.
Here is the result:
NUMBER OF HOURS
6 120
4 80
8 160
I have a table with 4 columns grouped by first 2 columns. Something like below
Company Department Department Rating Org Org Rating Emp Type Employee
A Sales 1 XX 2 External John
Ops 2 XX 1 Hybrid Mike
B HR 1 YY 2 Internal Richard
Dev 3 ZZ 3 Internal Julie
I want to highlight Department and Org based on values in ratings column (1- yellow, 2- red, 3-blue)
Could anyone guide on how to make it happen on tableau?
Tableau by default will only highlight measure values so in order to highlight dimensions you need to trick it a bit.
First, you'll want to create two dummy columns with the formula min(1). You can either create this through a calculated field or just double click and type them in the columns shelf.
In the Marks card for each of the two new measures (not the All card), place Department on the text field in one and Org in the text field of the other. Set the Mark type to be Text on both of them.
Create a calculated field to define the colors. The actual values don't matter here as you'll assign a color to them latter. Put this on the All marks card on the Color Shelf.
At this point, you might have something like...
Now to finish it off you can do a few things:
Double click on the color squares in the legend to reassign them
Change formatting on the measure to get rid of the axis, zero lines, etc
Move the label from the bottom to the top by creating a dual axis.
I'm trying to use a legend(which is common for more than 2 columns)
such that
a. tick mark means 3
b. exclamation mark means 2
c. Bold circle means 1
See the screenshot for 2 columns displayed in the attachment.
However i need a common legend for these columns
I tried to go to analysis tab and then click on legends, but this will show legend for only 1 column at a time and i need 1 legend for more than 2 columns.
In general, if the customization and formatting options for the built-in legends and filter controls don't do as you wish, the next approach is to build a worksheet that shows and acts as you desire. Then use that worksheet on your dashboard to serve a replacement for the built-in legends.
In your case, one approach is to make a simple text data source with one row for each item you want to appear in your new custom "legend". Then build the legend worksheet of your dreams :-)
I have data from 48 countries. I am trying to visualize it on a map. I want to display half the countries in 1 color and the other half in another color. This segmentation is based on another column which has string value 'yes' or 'no'. I want to do it on tableau
Country data OFF
------------------------
US 100,000 yes
IN 200,000 yes
BR 300,000 no
MX 150,000 no
I want to plot US, IN in Blue and BR, MX in green. The shades of green and blue are dependent on the values of data.
Have you tried to drag the OFF field to Color in the sheet? This should do the trick
You can put either the measure data on the color shelf to color by value, or the dimension OFF on the color shelf to color by OFF -- i.e. to use color to encode a single field's value.
If you want to color by two dimension fields, you can get the shading effect you mention by putting both on the color shelf -- using the shift key to add the second one if it's not in a hierarchy with the first one.
If you want to color by both a dimension and a measure (as in your case), you have to go to a little more effort -- assuming its worth it. You can make a calculated field that uses both fields to map into a category (say returning a string like "off yes, data high" or "off yes, data mid") and then edit the colors to map them as you like.
I have 8 charts on a single page for 7 days of a week and one for combined. I want to show legend only once at the end of page.I have made visibility of legends for all 8 charts as Hidden.
I have 3 rows and 3 columns of charts in which i have one space (i.e. 9th box in this 3X3 matrix of charts) free to display the legend.
How could I do that?
Thanks in advance.
Take a look at last tip on this blog post:
http://blog.hoegaerden.be/2009/10/25/pie-chart-techniques/
He overrides the colors from the palette using stored colors in the database.
In Series Properties you select Fill Page and click the Expression. Assuming you store the 6-digit hex value of the color, the expression will be:
="#" & Fields!YourColorCode.Value
This will ensure the colors will be the same across all charts. To create your "legend" just make a table that displays each field with it's color representation.
There is another question here:
SSRS 2008 - Uniform Chart Legends for multi-chart report but the link in the answer no longer works.