Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a column that contains the data and a set of rules for the conditional format of the cells.

i.e. the conditional format changes the background colour of some cells if they are negative.

I would like to copy this column with the resulting format and paste it in another place "by value", in our example I want as result a column without any more conditional formatting rules for the cells but only with the computed colour for the background (with the computed format).

  • If I use paste special with only text and number options checked I lose the background colour.
  • If I use paste special with format option checked I copy even the rules.

Is there any way to do it without a macro? Thanks

share|improve this question
    
It should be nice to know the reason of the down vote to improve the question. – Hastur Sep 28 '15 at 9:43
    
Maybe it is time to think to a macro too... – Hastur Dec 17 '15 at 13:28

AFAIK, there's no perfect solution for this kind of task. The best practice depends on the contents of your sheet - especially, if you want to keep formulas, too.

Generally, you can drop the rules regarding conditional formatting by saving the sheet as HTML, and re-loading the HTML into Calc. Of course, this will drop stuff like functions, too - just keeping the calculation results. It will also drop style sheets.

If you want to keep, e.g., functions, you may proceed as described, but keep the original file. Now, copy the imported HTML, and paste just the formats, keeping the original cell content. The result should be a Calc sheet with original cell content and non-conditional formatting. Maybe overkill again, but this depends on your needs...

share|improve this answer
    
Thanks for the workaround. Nice. Does the html export keep format as width and height of the cells too? At the time of the question it liked to mess up a little... :) – Hastur Dec 19 '15 at 16:24
    
Hmm - no, cell heigth / width are lost when re-opening the html in Calc. – tohuwawohu Dec 19 '15 at 16:30
    
Thx again. Next year I will search for the calc wishlists or I will surrend to do a macro... – Hastur Dec 19 '15 at 16:35
    
Just found out that custom cell heigth / width will be kept if you paste just the formats from the imported HTML to the original content. So, pasting the "direct formats" from the HTML export / import will just transfer stuff like background colors. – tohuwawohu Dec 19 '15 at 16:38
    
Thx. On Monday I will try with the original file... now I'm without computer. – Hastur Dec 19 '15 at 16:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.