I want to change a view of a table. i have attached a picture below:
what I like to do is only show the last Percentage column and hide the other 2 sub-subtotal percentage columns that are filled with -100% or infinity. this is the cause of the percentage column being a calculation between year 2017 and 2018.
can someone explain to me how i can hide/delete the first 2 percentage rows and keep the last one?
thanks in advance
Its not the cleanest way but you could just slide the column widths as small as possible which has the effect of "hiding" them
Related
I need to produce a chart in Excel to show a quantity of items for a number of categories, grouped by the month they were received. At the moment, every occurrence of the Month shows up in my clustered column chart. I can manually do a table and remove all except the first occurrence of each month, but I need it to be done dynamically as the date range can be changed (between 1 and 12 months). I have a full list of data for 12 months, showing Types and their Quantity received. I've filtered the list to just show the types and quantities received between the date range selected (picture 1).
The three images below show the spilled data, the current chart, and how I would like the chart to look. If it cannot be achieved directly using a spill range, then could anyone suggest another approach to have my data dynamically displayed in a chart, grouped by month?
Not a perfect answer but here's a start:
You could paste:
=IF(COUNTIF(F$5:F5,F5)=1, F5,"")
in J5, and drag this down a sufficient way to cover the expected length of the dynamic array.
Then paste:
=CHOOSECOLS(F5#,2,3)
in K5, and use these three columns for your graph data.
I can't think of a way to make the "J" column dynamic at the moment.
EDIT:
Pasting:
=XLOOKUP(ROW(F5#), XMATCH(UNIQUE(CHOOSECOLS(F5#,1)),CHOOSECOLS(F5#,1))+4, UNIQUE(CHOOSECOLS(F5#,1)),"")
in J5 should work dynamically too.
Hello everyone i need help and i would be thankful for anyone of you that voluntary help me a stranger in need,
I have a pivot table about budget from bank 1 and bank 2 (For bank 2 there is a column beside it that tell us how much check that we gonna received and for bank 1 we can take money from it without any check)
and there is implementation cost
and also column change ( Sum of Bank 1 + Sum of Check Bank 2 - Implementation Cost = Change, the nominal in column change in the picture is wrong btw)
now here is the problem, i need to get the column number of column change, i wanted to make the green square area show the result from number in red area + number in yellow area - number in blue area
if anyone of you know the solution please, do tell me the solution friend
i wanted to make the green square area show the result from number in red area + number in yellow area - number in blue area
All of you that have the same problem as i am rejoice,
because you can add your own calculation in your pivot,
First of all you need to click your Pivot Table
Then Click Pivot Table Analyze Tab
Click Field, Items, & Sets
Then click Calculated Field
Now you can make your own calculation, after you make the calculation you click add/ ok
Then you can show the calculated field that you make in pivot table using Show Field List and check the new calculation that you make and drag it to your pivot table field
hello dear forum members and admins,
i created a dashboard to calculate customer numbers based on raw data prepared on day and time set.
there is no problem here I can calculate. but I also want to calculate the monthly average customer numbers based on the time set. for this purpose, I created a data table in a daily_pax_sheet. for e.g in January between 10:00 - 10:30 CUSTOMERS E totally number is 35 and this 35 amount occurred in 8 days, then it calculates 4 amounts. in daily_pax_details sheet row 107 formula firstly calculate sum of the data then it divides the day number (for e.g this amount occurs in 8 days) but in some cases, raw data include more than 20k line and it's calculating and waiting too much. is there any other way to do it in a quick way ? how can I change this formula to make calculation quick ?
https://docs.google.com/spreadsheets/d/1y-2Ke2ssskzSM-wYszU54CIEraPbEX4X/edit#gid=459027650
UPDATE: thanks for the idea and solution from members
I also realized another solution and I think it will help other people in the future. we can get the data to the pivot table with counting the unique values with changing field settings. To do it you should get the data pivot table with selecting "add this data to the data model". then changing value field settings with the "Distinct value". hope it will help another pppl.
Your SUMIFS formulas use whole columns as criteria, so every calculation checks more than 1 million cells. And because you use more than 1 column, then every time you update *anything in the file, Excel checks more than 4 million cells because of your formulas...
I changed all to use the righ rawdata range of cells used, not whole columns. And now it works perfect.
As example, your formula is:
=SUMIFS('raw data'!$R:$R;'raw data'!$D:$D;'Daily customer'!C$3;'raw data'!$I:$I;'Daily customer'!$A4)
And I changed to:
=SUMIFS('raw data'!$R$2:$R$2461;'raw data'!$D$2:$D$2461;'Daily customer'!C$3;'raw data'!$I$2:$I$2461;'Daily customer'!$A4)
Because in your sheet raw data your data goes from row 2 to 2461, so in every calculation Excel checks only 2460 cells, not 1 million....
Change all your formulas like this and you should notice a better performance indeed.
UPDATE: I've uploaded the modified file: https://docs.google.com/spreadsheets/d/11isonBHFJTFFWtZTJg66JHbtyrD0XFGl/edit?usp=sharing&ouid=114417674018837700466&rtpof=true&sd=true
It works smoothly for me. No lag or anything. I can change any cell value, move the graph, filter cells and everything is done almost instantly.
I'm trying to change the way a pivot table displays values that im trying to track on a month to month basis. Below is a picture of what I have vs what I would like:
The first table is what I have. The second table is one I manually created to show what I would like displayed. Basically what I want to display is the % of total in column P for all of the highlighted cells in column F through O. I cant figure this one out after a good bit of trial and error and googling. Any help would be greatly appreciated.
Here is an additional picture to add clarity to what I'm trying to display:
It is not clear what the percentages relate to in your screenshot.
In a pivot table you can set the values to display as percentages, with a few different options, like percentage of total, percentage of column, percentage of row, etc.
This Microsoft Support article has the details how to set it up.
Here is my data:
I created a pivot table from the data and created a calculated field called "% Error" defined like this:
I set the option to "Classic Pivot Table Layout" and dragged the values so that they would be next to the items instead of across the top as shown:
The totals at the bottom for month 1, 2, and 3 are correct. The totals for each Item are correct. The grand total at the bottom shows the "% Error" with a divide by zero error. I am expecting it to be (40-30)/30=33.33%. If I ship any quantity of Item B in any month it calculates correctly. What do I have to do to get the correct value? Is this a feature or a bug?
So I can tell you what the problem is. I tried, but I cannot find a fix for it.
Basically you are looking at the final, Grand Total for Total Sum of Percent Error as still having the calculated field in it, however this is not the case.
For Month's 1, 2, and 3, you have the calculated field formula that you inserted is taking the values in Total Sum of Forecast and Total Sum of Shipped and is applying the calculation on the values in the those two cells above it to give you the Total Sum of % Error.
What happens in the Grand Total column is that it is updated by more than one formula, your calculated field formula, and the Sum of the Grand Totals for the Sum of % Error for A and the Sum of % Errors for B. If you click on the List Formulas button, at least in Excel 2016, you get a new sheet that says this.
Calculated Field
Solve Order Field Formula
1 % Error =(Forecast-Shipped)/Shipped
Calculated Item
Solve Order Item Formula
Note: When a cell is updated by more than one formula,
the value is set by the formula with the last solve order.
To change formula solve orders,
use the Solve Order command on the PivotTable command bar.
The only problem is that you do not get the option to change the Solve Order for this, so the sum of the fields in the Grand Total column override the calculation of (40-30)/30
Your option is that in the Design Tab, you can select Grand Totals -> For Columns Only, which will give you the totals at the bottom and then manually put the formulas into the Grand Total Column that is now hidden. Sorry I can't come up with a more elegant solution.
If you are really ambitious about getting this to work with Pivot Tables, many years ago I used to create them through VBA and not using the built in GUI, and you get much more control using the objects and methods than you do with the commands that are exposed to you in the user interface. Unfortunately most all of the knowledge on how to do that has been lost to time for me.