IF statement --- repost

  • Thread starter Thread starter lovepeaceofmind
  • Start date Start date
L

lovepeaceofmind

Hi, ALL:

Not sure why my previous post didn't show up. This is a repost.

Basically, if I shade a cell with color green (cell format\pattern), I
want to return a pure number of 1. Otherwise, return a value of 0. How
to achieve this by using a if statement?

Thanks,

Jorge
 
This was the reply to your previous post.

First we need to know what the Conditional Formatting is that determines the
cell to be green. You should be able to use the same formula.
__------------------

Basically, your if statement will be something like this:

=IF(A1>0,1,0)

But we still need to know how the conditional formatting is set up before an
accurate formula can be written.

Regards,
Paul
 
PCLIVE:

No, the OP didn't say that he/she used Conditional Formatting...
 
Sorry JE, My mind read faster than my eyes and I didn't re-read it the
second time.
Thanks for the correction.
 

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