Slicer is changing row heights of my pivot table? - excel

I want to apply a slicer to my pivot table so users can filter easily, but whenever I select something, the row heights change. I have 'Autofit column widths on update' unchecked and 'Preserve cell formatting on update' is checked'.
Any ideas would be greatly appreciated!

I was able to figure this out by changing the font size of an empty column outside of my PivotTable to fit the row height I wanted. For example, I want my row height to be 30, so I changed an empty column's font size to 24. When I applied my slicer, row heights looked fine!

Is the Wrap option perhaps set for cells in the pivottable?

The answer marked as correct didn't work for me, but got me on the right track.
Check to see if there are cells anywhere on the same row as the cells that are automatically changing height which are of a larger font size. In my case, I had hidden cells (columns) to the right of my pivot table which were 8 pts larger than the cells in my pivot. The pivot table was adjusting the height to accommodate the other cells outside of the pivot table which happened to be hidden from my view so I couldn't see them.

Just had and resolved the same problem on my workbook. For me, it's related to the formatting in a table header NEXT to the the pivot table being set to Wrap Text. Unwrapping the header in the adjacent table fixed the problem.
Basically every time I updated the slicer, Excel tried to resize the header in the adjacent table to what it thinks is the proper fit.

Related

How to Format Tablix column alignment when tablix column from Multi column selection

I have one problem, I have one powerBI report on which I want one tablix and require one slicer where I can have number of columns, when user select the column from this slicer then that column need to add in tablix and after unselect column from slicer, this column need to remove from tablix. till this step I have completed, but when column is added from this slicer, that column not formatted, means, all columns alignment by default set to left only.
so, If I want to change one column alignment as Right then this will not work,
I want text column to align to be on left and number columns alignment to be on right.
so please help.
need help on formatting matrix table columns in powerBI. try to format column but not done.

How to hide a specific row of Excel chart data table?

So right now I have a chart with 3 series, which will have 3 rows of data in the chart's data table. If I want to hide the last row in the data table, but keep the series in the chart, how can it be done? The only way I can think of is to create a block to cover that part, but is there a better way of doing it?
Edit: I'm looking for a way to show the series in chart, but not in chart data table.
Select the last row of chart data and format the cell's displayed text/number as ;;;. If the chart data is dynamic, then the last row can be identified with something like,
=row()=match(1e99, A:A)
This would enable you to create a conditional formatting rule that applies the ;;; cell number format to the last row.
Expanding on my comment to your question.
You could:
Make a new table on the worksheet that points, via formulas, to the range that the chart is made from.
In those formulas, use if() statements to toggle the values on/off based on whatever logic you are using to hide/show. Below I use a checkbox.
Remove the data table from your chart
Make the background of your chart area "No Fill" so it's transparent.
Line your chart x-series up with the formula based table so it looks like the data table for your chart
You can just make changes in the graphs.
Select the line graph series that you do not want to display in the chart.
Right click and click on "Format Data Series"
Click on "Fill & Line" (an icon of a paint)
Select "No Line"

Excel Export from Access via VBA changing Row Height

I'm trying to export a query from Access to Excel and I can do so successfully. However when I open the document, the row height on almost all the rows has increased to contain the text they contain (which wrapped). This requires the rows and columns to be manually adjusted to get the rows back to the default height.
Is anyone aware of a way to expand the columns when exporting to Excel rather than the rows?
If you turn off the "Wrap Text" option for the cells the text will not expand the row height. Is there any reason you can't select all of the cells and change the row heights all at once?

Excel Pivot table filter by cell value and cell value does not exist

All
I am filtering multiple pivot tables by a cell value and this is working fine.
The only issue I have is when the cell value does not exist - the pivot tables show no data (which is fine) but the selected filter says 'All'.
Is it possible to change this to blank when the data does not exist? Or perhaps hide the pivot table?
Thanks in advance!
You could hide the rows with VBA when the cell value is blank.
http://www.ozgrid.com/forum/showthread.php?t=168361
I dont think it is possible to hide the entire pivot table. Only the fields I believe. Would be interested to see if it can be hidden though.

change the height of a rows in excel when hundreds have been set to 0

I have an excel spreadsheet with a list of hundreds of users. A lot of the rows have been set to height 0. I want to set all of them to the same value so I can see all of them. I'd rather not have to go through every row and drag the ones with height 0 down so I can see them.
What do I do?
Mark all cells and double click when the resize icon is visible over the columns.
Assuming you are using 2003 or 2007:
Highlight all of the rows.
Right-click over top of one of the row numbers.
Click the Row Height menu item and set it to your desired height.
Select any cell in the data range, then Ctrl+Shift+L(apply data filter).
All rows with zero row height will appear.
Can use Ctrl+Shift+L to trigger data filter off.

Resources