You are here:

# Excel/Is there a conditional formula for shaded cell criteria?

Question
Hi Tom,

Sorry, one more question!  Do you know if it is possible to write a conditional formatting formula that uses as a criterion whether a cell is shaded or not?

I do not want to introduce VBA to this worksheet.

I want to write a conditional formula that says "if this other cell  (in the same row) is shaded, and the number inthe cell is greater than or equal to another number (cell reference on a different worksheet in the book), then turn the cell in question a specific color.

I've got everything figured out except the "shaded cell" criteria.  I am kind of doubtful that it exists, but I hope it does!  (If it doesn't, it should - without VBA, of course!)

Thank you!!!!

Michele Debrey

PS  I submitted a longer/harder question earlier tonight...

Michele Debrey,

there is no formula that reads the color of a cell.  If the cell is colored based on a condition, perhaps that condition can be examined with your formula. As an example, say a row where the person is less than 10 is colored yellow.  then the formula could test the age and not the color.

--
Regards,
Tom Ogilvy
Questioner's Rating
 Rating(1-10) Knowledgeability = 10 Clarity of Response = 10 Politeness = 10 Comment Thank you, Tom! In my case, the cell color is not based on a condition; it was manually done (because a formula/condition wasn't possible). So I am out of luck. The limits of Excel. But I greatly appreciate your response and confirmation! Now I can move on. Thank you! Michele

This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

#### Tom Ogilvy

##### Expertise

Selected as an Excel MVP by Microsoft since 1999. Answering Excel questions in Allexperts since its inception in 2001. Able to answer questions on almost all aspects of Excel's internal capabilities. If seeking a VBA solution, please specify that in your question itself so I give you the answer you want. [Excel has weak protection - if you are distributing an application, I don't answer questions on how to protect your project from your users.]

##### Experience

Extensive experience.

Education/Credentials
Master of Science (MS) degree Operations Research (ORSA)

Awards and Honors
Microsoft MVP in Excel.