Selecting multiple columns and rows for formatting - Excel - 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.

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

Excel layout - How to lock layout when hiding rows

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.

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!

Format cell fill based on a range of values

Could anyone advise how to format the fill of cell based on percentile ranges? So for example, I have a row of values. I'd like to format the fill on those cells such that I have cell fill colour for three conditions: above the 90th, between 10th and 90th and below the 10th percentile. If I try to create a conditional formatting rule with a 3-color scale, I am not sure how to format the 10th to 90th percentile range.
So basically what I am asking is how to format a row of cells thresholding on a range.
Thanks in advance!
Using Excel 2013, might be slightly different path for older versions.
Highlight the cell range you want.
Home -> Conditional Formatting -> New Rule
Under New Rule, there should be 6 options, choose option Format only top or bottom ranked values. Choose Top, 10 (or whatever number you want), and click the box for % of the selected range.
Hit Format and go to Fill, and choose a background color.
Do the same thing, but now choose Bottom instead of Top.
This will highlight the top x% and bottom y%. Also, if you're open, you should also try Icon Sets and you can use Green/Yellow/Red circles or arrows to help.

Excel - bottom border if text is present?

I'm creating an invoice at the moment, and there's going to be varying amounts of text on each invoice.
Ideally I'd like to be able to enter content, and as soon as I do that, it'll create a border along the bottom of that row, from A to K if that makes sense.
Is this possible?
Cheers :)
Not strictly programming... you can select the cells from A1 to Kn then go to Format > Conditional Formatting. Select "Formula Is", enter =$A1<>"". Click format and set the border.
Now if you enter a text to a cell in col. A, that row will be underlined up to column K. Not being familiar with invoices I can only hope this is what you wanted :)
Conditional formatting might do the trick for you:
Example #1
Example #2
In your case, (if I understand you right) you would highlight all cells from A1 to K10 (assuming a maximum of ten rows), and then make the conditional formatting formula as follows:
=AND(NOT(ISBLANK(A1)),ISBLANK(A2))
Then just apply the border by setting it up in the "Format..." options as shown in the examples.

Resources