[Solved] Copying a cell with conditional formatting

Discuss the spreadsheet application
Post Reply
raro
Posts: 2
Joined: Wed Nov 23, 2016 6:46 am

[Solved] Copying a cell with conditional formatting

Post by raro »

Here is what the Libre Office Help says:

https://help.libreoffice.org/Calc/Apply ... Formatting

###QUOTE###
Step 5: Copy Cell Style
To apply the conditional formatting to other cells later:

Click one of the cells that has been assigned conditional formatting.
Copy the cell to the clipboard.
Select the cells that are to receive this same formatting.
Choose Edit - Paste Special. The Paste Special dialog appears.
In the Selection area, check only the Formats box. All other boxes must be unchecked. Click OK.
###UNQUOTE###

unfortunately, in reality, the copied cell does not behave as the original cell. In my case: IF $A$1 unequal $B$1 make $B$1 turn red. If I copy $B$2 this cell remains red regardless of the input in $A$2.

solution?
Last edited by raro on Wed Nov 23, 2016 9:12 am, edited 1 time in total.
Linux Mint 18.1
Libre Office Version: 5.1.4.2 Build ID: 1:5.1.4-0ubuntu1 CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; Locale: en-CA (en_CA.UTF-8)
FJCC
Moderator
Posts: 9639
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: copying a cell with conditional formatting

Post by FJCC »

How exactly is the conditional formatting defined? If it refers to $A$1, then when copied it will still refer to A1. If the conditional format refers to A1, then it will shift to A2 when copied. At least, that is how it works in OpenOffice.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
raro
Posts: 2
Joined: Wed Nov 23, 2016 6:46 am

Re: copying a cell with conditional formatting

Post by raro »

ahaaaa....thanks a lot, that's the solution. Strings taken out and it works!

:knock:
Linux Mint 18.1
Libre Office Version: 5.1.4.2 Build ID: 1:5.1.4-0ubuntu1 CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; Locale: en-CA (en_CA.UTF-8)
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: copying a cell with conditional formatting

Post by RusselB »

FYI: The $ in the cell addresses is called the absolution character. It is the difference between absolute and relative for the column/row.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
Post Reply