This questions sort of follows on from my previous query here:-
http://forum.openoffice.org/en/forum/vi ... =9&t=60544
What I would like to do is use conditional formatting to find a certain cell/ number etc and then instead of highlighting the cell replace the number in the cell with a word/ text say 'STAR' for example.
Conditional Formatting - Replace with text
-
greenmonkey79
- Posts: 6
- Joined: Tue Mar 19, 2013 11:52 pm
Conditional Formatting - Replace with text
OpenOffice.org 3.4.1 on Windows 7
Re: Conditional Formatting - Replace with text
Make the conditional format apply a style that has the user-defined format code: "STAR"
The value stored in the cell will still be there, but it will display as: STAR
The value stored in the cell will still be there, but it will display as: STAR
AOO4/LO5 • Linux • Fedora 23
-
greenmonkey79
- Posts: 6
- Joined: Tue Mar 19, 2013 11:52 pm
Re: Conditional Formatting - Replace with text
How do I do that? I can't seem to get words to appear in the cells just something like 0TA5660.acknak wrote:Make the conditional format apply a style that has the user-defined format code: "STAR"
The value stored in the cell will still be there, but it will display as: STAR
OpenOffice.org 3.4.1 on Windows 7
Re: Conditional Formatting - Replace with text
You have to create a STYLE first. On the Menu Bar, click FORMAT > Styles & Formatting . You'll see -3- icons in the upper right corner of the window. Click on the middle one. Enter a STYLE name ; STAR . Click the OK button. The previous window will pop up and the STAR style should be listed. Right click on it and choose MODIFY. Click on the "Numbers" tab and then in the "Category" box, click on "User Defined". At the bottom of the window, there is a input field with Format Code above it. In the field, type in "STAR" or "Star" . Click the OK button.
When you assign a Conditional Format to a cell(s) and you want to use the STAR style, in the "Cell Style" field, click on the DOWN arrow and in the list that pops up, click on STAR. For the "trigger" condition, you could use "Cell Value is" , "Equal to" , 6 ; when the value 6 ( or any designated number ) is found , the word STAR will now appear.
thinman3
When you assign a Conditional Format to a cell(s) and you want to use the STAR style, in the "Cell Style" field, click on the DOWN arrow and in the list that pops up, click on STAR. For the "trigger" condition, you could use "Cell Value is" , "Equal to" , 6 ; when the value 6 ( or any designated number ) is found , the word STAR will now appear.
thinman3
3.4.1 & 4.1.5 on MS Windows 7 Pro x64
Re: Conditional Formatting - Replace with text
It's the literal "STAR" including the double-quotes.
The number won't be replaced. The actual cell value is still that hidden number. Formatting never changes any value.
The number won't be replaced. The actual cell value is still that hidden number. Formatting never changes any value.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
greenmonkey79
- Posts: 6
- Joined: Tue Mar 19, 2013 11:52 pm
Re: Conditional Formatting - Replace with text
This works. Not to bothered about ht enumber being there, I can replace that manually, I just need a quick reference to know where certain numbers and/ or totals are and this does the job prefectly.Villeroy wrote:It's the literal "STAR" including the double-quotes.
The number won't be replaced. The actual cell value is still that hidden number. Formatting never changes any value.
OpenOffice.org 3.4.1 on Windows 7