With the Excel import function we can get the formatted data of the values in the cell by using “FormattedData”. I really would like to get the cell background color because it’s used as markers (like e.g. Red as a warning or Blue as a certain category). I don’t think it’s available in Mathematica but would like to know if other users also had this issue and how they possibly solved it.
I use MM 14.0 and the XLSX format with Windows Excel "latest version". I tried using any option available with mathematica but it only import the format of the data itself and not the cell information.
At this moment I'll use hardcoding to reach my goal with some fact checking. The cell background in these files is used to indicate categories and sub-categories etc. Unfortunately the authors did use the same font type and sizes. I tried to use the XML files as a shortcut but after some time I noticed that it's a bit more complicated then expected.
So if somebody has found a method to retrieve cell background in an easy way I'll like to know. Otherwise it's a pity.
FullForm@Import["test.xlsx",{"XLSX","FormattedData"}]
doesn't seem to contain the background colour. It seems to be your only choice is to dig intoImport["test.xlsx",{"ZIP","xl\\styles.xml"}]
$\endgroup$