Hi folks,
I've two Boolean variables.
I need an if statement (or something else if there's something better) that checks the two and sets a third to TRUE only if the first two are the same, TRUE or FALSE, doesn't matter.
Any ideas?
Hi folks,
I've two Boolean variables.
I need an if statement (or something else if there's something better) that checks the two and sets a third to TRUE only if the first two are the same, TRUE or FALSE, doesn't matter.
Any ideas?
isn't that just AND =and(a1="x",b1="X") OR JUST =A1=B1
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Or maybe ...
=(B2=C2)=(D2=E2)
Last edited by Marcol; 11-25-2012 at 09:25 AM.
If you need any more information, please feel free to ask.
However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....
Also
اس کی مدد کرتا ہے اگر
شکریہ کہنے کے لئے سٹار کلک کریں
If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.
The sheet works, but I'm running a large(ish) vba script and it's this (nothing on the worksheet itself) that I need to set the variables on.
VARIABLE_1
VARIABLE_2
VARIABLE_3
Number 3 is true if 1 & 2 are the same, regardless of their state.
Sorry if what you've sent IS applicable, and I just don't get it...
something like
Please Login or Register to view this content.
So in other words I need to represent this on the sheet somewhere? It can't be handled in the script alone?
What are VARIABLE_1,2 and 3 exactly?
How are VARIABLE_1 and 2 getting their values?
If posting code please use code tags, see here.
that was just a sample you can set the value of j and k from anywhere i just put it like that so i could see it working
They are true/false conditions that get used in the script and for output, but until the end of the script there's nothing on the sheet to represent this. I believe I've managed to resolve this with the following...
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks