jardenp
Active Member
- Joined
- May 12, 2009
- Messages
- 373
- Office Version
- 2019
- 2016
- 2013
- 2011
- 2010
- Platform
- Windows
I would like to have a formula in, say, cell A2 that determined if cell A1 had a fill of either of two standard colors (the ones labeled "standard colors when you drop down the fill menu) and then returned a value--orange=1 and blue=2. If the cell isn't filled with one of the two colors, I want the result to be "" (blank). Is there a way to do this?
Something like =IF([fill of A1]=[orange], 1, IF([fill of A1]=[blue],2,""))
For a couple reasons, I can't use VBA/Macro for this. I know it can be done that way but I'm looking for a worksheet-formula-only solution.
Thank you!
JP in IN
Something like =IF([fill of A1]=[orange], 1, IF([fill of A1]=[blue],2,""))
For a couple reasons, I can't use VBA/Macro for this. I know it can be done that way but I'm looking for a worksheet-formula-only solution.
Thank you!
JP in IN
Last edited: