I'm using excel 2000.
I have a pivot table which looks like this
Color Total
Blue 2
Green 1
Yellow 6
Black 7
How can setup the pivot chart so it excludes at values > 1?
I need to be able to do this without simply copying the data from the pivot table into a new location and removing the values not > 1
Is this possible in excel 2000?
Right click on the column and add a value filter.
If I understand your requirement (I admit I don't now and never have had Excel 2000) a solution might be to add a column to your raw data (that tests whether the sum for that colour is greater than 1) then add that column to the Page field and filter on it accordingly. With data for colours in ColumnA and values in ColumnB, ColumnC might have a formula such as:
=SUMIF(A:A,A2,B:B)>1
copied down to suit.
Related
I have a table containing columns like category and values
I want to find the median of individual category I tried the "=median and if formula", it is working if I have two categories only if I have 3 like below data it does work, I want to do this without using pivot table actually that's a constrain
Categories
Values
a
5
b
4
c
9
c
10
b
6
a
2
c
11
b
7
a
3
b
8
I tried to formulate my requirement on the table but I guess there is some problem with the formula here
=IF(A2:A11="a",MEDIAN(B2:B11),IF(A2:A11="b",MEDIAN(B2:B11),IF(A2:A11="c",MEDIAN(B2:B11))))
Apart from this I tried the pivot table as well by using add measure it worked but I don't know why is it not working through formula
if you want to drag the formula then take unique categories and apply the formula.. in F2 cell
=MEDIAN(IF($B$2:$B$11=E2,$C$2:$C$11,""))
Your condition part of the if statement is returning an array. Don't use IF()...
You need to filter the column A.
=MEDIAN(FILTER(B1:B11,A1:A11="a"))
=MEDIAN(FILTER(B1:B11,A1:A11="b"))
=MEDIAN(FILTER(B1:B11,A1:A11="c"))
Try the following formula for spill down array. You do not need to drag down, no need to put formula to individual cells.
=LET(x,UNIQUE(A2:A11),y,MAP(x,LAMBDA(a,MEDIAN(FILTER(B2:B11,A2:A11=a)))),HSTACK(x,y))
You can achieve this using a Pivot Table, along with the build-in (Excel-2013 and higher) Power Pivot option to include your own measure:
Select your data, and in the 'Insert' tab, click 'Pivot Table' in the 'Tables' group;
Make sure to tick the 'Add this data to the Data Model' option and hit 'OK';
Then go to the 'Power Pivot' tab, (or enable it first if you haven't). Under the 'Calculations' group, click 'Measures' and choose to add a new one;
Choose an appropriate 'Measure name:' and use the following formula: =MEDIAN([Values]);
The Pivot Table should be selected, just click 'Categories' which will auto-populate the labels.
A simplified example of what I am looking for is a quick way (either a tool or a keystroke) to fill a table where every 5 rows of the first column has a different operator name. The fill would place the first name into the first 5 rows of the table, the second name into rows 6 - 10, and the third name into rows 11 - 15. The images below are a visual representation of before and after the fill.
I am aware of different ways to fill the rows one operator at a time in this example, but is there a way to fill all three in one go? This would be very helpful in larger scale situations. Thanks!
Excel table before filling column A
Excel table after filling column A
Open PowerQuery (Go to Data on the ribbon, Get Data -> Launch Power Query Editor ...) and use Fill Down ...
Result
Is it possible to get the above table in a format such as the table below, in a much easier manner without having to do a brute force approach of creating 9 columns for the LTV band and assigning it a PD value in the table?
Excel... Insert Pivot table
Select range and fill in as layed out in image below.
you can hide grand totals if you want by right clicking on the pivot table and selecting Pivot table options then the totals & filters
There are many other features as well but this gives you the general idea.
As to missing LTV values, you just need blank rows for each value so the chart pivots on all the data.
OK, Here's an idea
You can do what you want using a complicated index formula that checks the Year and the Month and other number but it's quite complicated, so.
Use a formula to create an ID column to the left of your data and you can use a fairly simple vlookup to extract the data.
The ID will be the YEAR + MONTH + B + I.TV number. On my sheet the formula is.
=C2&D2&"B"&E2
Next create your new table by listing the Years and Months and entering in the headings B1 to B9. Then put your vlookup in the first cell under B1.
=iferror(vlookup($A12&$B12&C$11,$B$2:$F$9,5,false),"")
It's not too complicated, $A12&$B12&C$11 builds the ID we want to search for using the Year, Month and Heading B1 cells. Pay attention to the way the cell references are locked as that allows you to autofill across and down while still referencing the headings etc. $B$2:$F$9 is the range you want to use for the vlookup and 5 is the column with the data you want to return.
Have a look at my example below.
I have an employee data base that contains names and 8 movement types (Ex. Recruitment, Resignation....etc). Also I have starting head counts.
What I need to do is calculating movement counts and head counts based on the month for 12 months. Currently i am using SUMIF formula to calculate all these and the thing is excel will be very slow with all formulas. Appreciate if anyone can help me on this. See the image below for sample of the formula and I need to insert this formula in more than 600 lines.
A pivot table would be a good way to go, but by the look of your criteria you'll need to create 'helper columns' to ensure your data is ready for aggregation in a Pivot table.
For instance in your master data tab, add a new column called 'MatchesCriteria' or words to that effect, and build a formula in that column that checks for all of the criteria that you want to have the report based on, and returns a 1 or a 0, e.g.
=IF( (IF(C2="Recruitment",1,0)+IF(D2="Secondment In",1,0)) > 0 , 1 , 0)
Then run a pivot table including the 'Plant' column in your Rows, the month column in your columns and the 'MatchesCriteria' in your data values, and switch the calculation type to 'SUM' rather than 'COUNT'.
This will do the trick and will refresh in a flash compared to evaluating all of those countif statements.
In MS Excel if we want to make a chart then we have to select the data range.
Is there is any way that when new entries (row or column) are added then the chart updates automatically?
I've found this to be challenging for stacked bar charts in Excel 2010. Let's take the case of a simple table with some numbers:
2016 2017
Sam 3 4
Fred 5 6
Alice 3 4
Select the table, right-click on its tab, and select insert chart. Choose stacked bar. Then, choose switch Row/Column. Now, if you go to Design | Select Data, you see a nice formula for the Chart Data Range. If you insert a row, however, and add someone else, you get a discontinuous range and they are not included in the chart. If, however, you first select your data, choose Insert | Table, and tell it it has headers, then you can insert a row, and have it included in the chart automatically as e.g. sales from an extra salesperson.
This happens only if two things occur:
It must be a table, and
It must be a continuous table range for your source data. No skipping columns. Perhaps it might work for a subset of a table.
If either is not true, it breaks it. I would criticize the way it doesn't account for inserted rows, or the way it complains about chart data ranges being too complex and doesn't even show you the text of the chart data to let you edit it, if the columns are out of order (ok, I'm complaining), but while e.g. Libre Office calc lets you edit formulas even when they are complex, it never keeps track of inserted rows to add more data series.
If you use dynamic formulas for the chart, or named regions, it just converts them into cell range references, and fails to account for inserted rows.
Create dynamic named ranges for the labels and each series, and edit the chart data to use these names.
An example for the named range is where the labels might be in column A, and some values in column B
=$B$2:INDEX($B:$B,COUNTA($A:$A))
which is defining a range starting at B2 and ending at the row in column B that corresponds to the last data row in the labels column A.
Add a named range for each series.
When pointing the chart to these names, be sure to preface it with the sheet name, even if you are on that sheet, something like
=Sheet1!2010Amounts