Hi,
I see from searching the forums that similar questions to this have been posted before, but can not find a satisfactory answer. Here's the problem: I have a large excel sheet that has conditional formatting for column heads that reference a condition at the top of the sheet..eg. if cell value (at top of sheet) is equal to "f", make column head red and bold. This spreadsheet gets split up in to mulitple smaller excel tables without the condition lines that are present in the large file. I want to maintain the conditional format in the smaller tables. I've tried copy pasting the conditional format and I've tried copy pasting format then removing the conditional format. Trouble is the formatting is still lost once the spreadsheet is divided up. Is there any solution to this problem?
Hi, and welcome to the forum.
You don't say whether you are copying the CF cells to other worksheets, but if so, as far as I'm aware you can't use references to other sheets (or workbooks) in CFs.
However you should be able to copy CFs within the same sheet. Just make sure you make the reference to the 'f' cell at the top of the sheet an absolute reference in the CF formula.
i.e. use
HTH=$C$1="f' rather than just =C1="f"
If you attached a sample workbook showing your desires, then it would be easier to understand...
but you could name the range that you are referencing in the Conditional Format...this way it can be used in other sheets within same workbook...
If you are using the same sheet, then check that your condition points to the same cell after you copy/pasted it.... it may need to be made absolute (frozen) by adding $ signs in front of the row/column references (.e.g. $C$1 makes C1 frozen).
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
the problem is that the large spreadsheet with the conditional format is chopped up into small tables, each of which does not have the original line on which the condition was based. I was hoping there was a way to copy/paste the format created in the original sheet by the conditional format without leaving it conditional. All paste special variations fail to carry over the conditonal format as does paste formats follwed by manual removal of the conditional format.
You can use macros for conditional formatting..
The formatting done by macros will remain even if condition has been removed
Shijesh Kumar
http://shijesh.wordpress.com/
Hi,
Did you follow NBVCs advice about naming the cell that contains the 'f' reference, and using this name in the Cond. Format, 'Fomula Is' option?
The cell containing the CF should copy and paste to other worksheets as you require.
Rgds
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks