Musicman72
New Member
- Joined
- Feb 23, 2017
- Messages
- 4
Hello all - I'm trying to get double borders on an excel spreadsheet that uses conditional formatting on each row. I know that excel doesn't support changing border types to double via conditional formatting because it would affect the row size, so what I tried to do is format all of the cells with the double border by default, and then use conditional formatting to "un-border" the ones I don't want.
The format I'm looking for will have some rows with no borders (either blank values or a "0" in a hidden reference cell) and some will have just a single border on the top of the row (if "1" in the reference cell). The remaining rows will default to their original format, which is a single border on top and a double border on the bottom. The issue I'm having is that the no-border condition wipes out the top border on the rows where the reference is "1" because the "blank border" row abuts the next row with a single border on the top. It also wipes out the default formatting of the top border on the cells with both the top single border and the double bottom border for the same reason.
I've tried messing with the ordering of the conditions but nothing has worked. I feel like there should be a way to get the no-border cells to not affect the abutting rows that do have a top border, but I'm at a loss. Any ideas on how to solve this are appreciated!
Thanks,
--Robert
The format I'm looking for will have some rows with no borders (either blank values or a "0" in a hidden reference cell) and some will have just a single border on the top of the row (if "1" in the reference cell). The remaining rows will default to their original format, which is a single border on top and a double border on the bottom. The issue I'm having is that the no-border condition wipes out the top border on the rows where the reference is "1" because the "blank border" row abuts the next row with a single border on the top. It also wipes out the default formatting of the top border on the cells with both the top single border and the double bottom border for the same reason.
I've tried messing with the ordering of the conditions but nothing has worked. I feel like there should be a way to get the no-border cells to not affect the abutting rows that do have a top border, but I'm at a loss. Any ideas on how to solve this are appreciated!
Thanks,
--Robert