Retrieve Cell Background Colour in a VLOOKUP Formula

Discuss the spreadsheet application
Locked
John Kenneth
Posts: 21
Joined: Wed Feb 26, 2014 1:09 pm

Retrieve Cell Background Colour in a VLOOKUP Formula

Post by John Kenneth »

Hello.

I need to be able to pull in cell background colour from one sheet into another, along with any data included in that cell also.

I'm using the following formula, which successfully pulls in the data from one sheet to another:

=VLOOKUP(A2;$Tasks.A$2:AQ$50000;23;0)

However I have no idea what additional text I need to apply to the above formula, in order to retrieve the cell background colour also.

Any ideas guys?

Thanks!
OpenOffice.org 3.4.1
OSX 10.8.5
User avatar
keme
Volunteer
Posts: 3797
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Retrieve Cell Background Colour in a VLOOKUP Formula

Post by keme »

The cell coloring is not a part of cell content, and not directly available to Calc functions.

If the color is set by a conditional format, you can use a corresponding condition in the target cell.

There are solutions available by installing some plugin. I can't recall what it's called, but someone else will come to your rescue...
Apache OO 4.1.16 and LibreOffice 25.8, mostly on Ms Windows 10 and 11.
John Kenneth
Posts: 21
Joined: Wed Feb 26, 2014 1:09 pm

Re: Retrieve Cell Background Colour in a VLOOKUP Formula

Post by John Kenneth »

Ok Keme, thanks for your help.
OpenOffice.org 3.4.1
OSX 10.8.5
User avatar
Villeroy
Volunteer
Posts: 31365
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Retrieve Cell Background Colour in a VLOOKUP Formula

Post by Villeroy »

See this topic for an explanation and solution: viewtopic.php?f=20&t=42114&p=194229#p194229
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
Locked