Excel layout - How to lock layout when hiding rows - excel

I have a problem, with the layout in my Excel.
I would like to lock the layout, so if i hide a row on side 1, i dont want to have any rows from side 2 to jump into side 1. I want the same layout on the side just with the rows hided that i want.
If i then unhide the cells again they shall fit into the layout as before they were hidden.
Anyone who can help?

If rows are hidden, they are just that - hidden. There's no way to have a hidden row still take up the space that it would take up if it were unhidden.
However, I think I have a way to solve your problem.
You can use conditional formatting on the rows you want to hide, and you can just conditionally format the background color and font color of the rows as the same color (e.g. gray) so that whenever the conditional formatting rule is applied, the desired rows just turn grey, effectively hiding the content the rows but not changing the layout of the sheet.

Related

How to break the chains of POOR CONDITIONAL FORMATTING options in EXCEL?

use the following function to create an invoice.
=VSTACK(FILTER(PerformedTestsTable9,PerformedTestsTable9[Qty]>0,), {"","","Total sum to be paid:"})
Very simple, filtered table for Qty > 1 plus added row with VSTACK.
I use conditional formatting rules to format every other row, blank cells and the last row.
However every time I change something in the source table I get "Total sum to be paid:" left aligned in the bottom right cell. If I right align it manually it does not spill into adjacent left cell because it is not blank.
I can not add the borders I want, I can not change the font, I can not change the size of the font.
What I want is something like this:
Is there a way to achieve those results, even partially, without resorting to programming.
In pseudo-code
On Calculate
Turn off Manual Calculation
Unmerge cells that cause SPILL error in FILTER function
Reset formatting in the spill range of filter function to baseline
Calculate filter function
Identify bottom row and merge cells, right align merged cells, choose bigger font, add borders

Hide rows only for certain columns

I have a worksheet with tables that I can be hidden/revealed by the user for readability. I want to put a long summary table along the side of the same worksheet, and I don't want that summary table to get hidden when the other tables are hidden.
So is there a way I can leave some columns with unhidden rows while other columns have hidden rows, or even a way I can freeze a section that can be viewed next to the rest of the sheet?
I'm quite sure that you can't hide cells in specific rows only in some columns and not in others. You can freeze left and top columns and rows in the view ribbon, but if you hide rows, they'll still be hidden in the frozen parts.
If you want something to show on the left side even when rows are hidden, it would have to be something that can "float" above the cells, like some kind of form (which would probably be modal), or a graphic that does not move or size with cells.
You might be able to create a PNG of a range on the fly, and then "Paste" it into A1, so that it sits to the left of your data, even though you have hidden cells. Maybe :)

How can I assign different heights to cells EXCEL 2016?

I'm trying to make a table in Excel 2016, but I had a problem which is assigning specific heights to specific cells. (Please, refer to the image below)
Merge A1:A2, B1:B2, C1:C2, etc.
Apply this formatting to the left-side columns by selecting the merged cells and dragging down on the little green square on the bottom right corner of the selection box.
Merge D2:D3, E2:E3, F2:F3, etc.
Repeat for the right-side columns
(It might be helpful to memorise the key combination Alt+H, M, M to merge selected cells.)
You'll get the results you want, but beware the sheet is a bit weird now. Each row is two rows away from its neighbour, for example. Selecting and formatting are likely to not work the way you'd expect. Good luck!

Excel 2007 drop-down list that effects the cell's color but not the content

I have searched for this solution and I have found many drop-down lists that can change the color and the data of the cell or change the color depending on what data is entered.
What I would like to do is have a cell with a number inside (#'s 1-10) and also have a drop-down list (pass, fail, marginal) and depending on which item from the drop-down list is selected it would change the cell's background color to red, green, or yellow, from it's default of white.
Any help would be appreciated. Thanks!
You can use conditional formatting to achieve the same. For the cells with numbers add conditional formatting
Home -> Conditional formatting -> New Rule
Select Use a formula to determine which cells to format. Now you set a formula here. You can refer to drop-down list value here to set format. (eg: if column A has numbers and column B has the drop-down, you can set the formula as =$B1="Marginal" and set the formatting.
Hope this helps.
Screenshots for reference:
I think I've found the best solution for this situation:
I had two cells side by side. One with the data and one with the drop-down box. The two cells bordered together so that they appear as one cell (even though they aren't). I then put two separate conditional formats on the two cells. The conditional format of the data cell changed the background color of the cell based on the value of the drop-down box cell. The conditional format of the drop-down box cell changed the background and text color to the same color as the other cell (to blend in) depending on its own value.
When the two cells were bordered and spaced correctly they appear as being one cell with one value. Quite a bit of work with the formatting and all but I think this may be the best option for this situation.
Thanks again, Konstant for your help. :)

Selecting multiple columns and rows for formatting - Excel

I have a report which I used the command subtotals. Aesthetically, I just want to make these subtotal rows (columns A to P) filled with color, be in Bold and have a surrounding border. There are hundreds of totals generated in my report. And they do not have a recurring row position. So basically in order for it to look good, I do it manually per row. Is there a faster way? Thanks!
Use either Range.Interior, or Range.FormatConditions.
If you plan on continuing to do it manually, you should set up one cell or row exactly how you want it. Bold, color and border and then double click on the paint brush icon on your standard toolbar; then just highlight your next row or cell and the formatting will appear. Once you are finished formatting, click back on the paint brush to stop the formatting. This a great time saver and makes all totals aesthetically identical.

Resources