Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an excel sheet where each cell in the range A1:D20 is filled with one of 3 colors (Red, Green, Blue).

Without resorting to VB, is it possible to use some Excel formulae to convert all the cells to a plain white background, with contents being 1,2 or 3 depending on what the original background color was? (ie, Red, Green or Blue)


share|improve this question

migrated from Aug 25 '12 at 23:48

This question came from our site for professional and enthusiast programmers.

Easily done with Vba, impossible with Formulas.

Can be done with Find, Replace one color at a time, by setting Find Format and Replace Foramt and value

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.