I want to use an IF Statement in excel to check cell pattern-how?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using nested IF staements to check value conditions of cells. As wel as
checking for blanks and acceptable values I want to check if the Cell Pattern
<> Red. Can this final check be done in the IF statement.

Appreciate any help ?
 
Hi Bob,

Thanks for the reply. The colorindex reference is useful but is it true that
I can not use it directly in an IF statement, do I have to use it in VBA
coding ?
 
There is no standard function in Excel to return the background colour
of a cell - you have to make your own, and that means a bit of VBA.

Pete
 
It's VBA or nothing, and even the VBA has constraints.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
What's a guy in the UK doing posting at 2:05 am?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
And I was back in action for 8:30am !! All you sleepy-heads who need 8
hours sleep - you waste so much of your life <vbg>

Pete
 
Mate, as I get older, I need more.

Bob

Pete_UK said:
And I was back in action for 8:30am !! All you sleepy-heads who need 8
hours sleep - you waste so much of your life <vbg>

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top