If then else statement

10 pts.
Tags:
IF Then Else
I have over a 100 sites that I want to create 4 groups and based on siteid. So the siteid will belong to one of 4 groups. I want to create a formula so I do not have to create groups in specified order but instead by a formula.

Answer Wiki

Thanks. We'll let you know when a new response is added.

I’m not pretty sure about what you would like to do but in the tags I read a “IF THEN” clause so I assume you want to process something.

Better that IF THEN you may use :

SELECT CASE WHATVERE
CASE “A”
DO SOMETHING A

CASE “B”
DO SOMETHING B

CASE “C”
DO SOMETHING C

CASE ELSE
DO SOMETHING ELSE
END SELECT

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    You will need to provide more information in order to get some useful answer. In what program do you want to do this ? what software are you using ?
    69,365 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following