Former Member
Apr 20, 2011 at 06:22 PM

If Then Else If Then Else If...

77 Views

I want to do something like this...

IF W <> 0 AND X <> 0 THEN Y/A ELSE IF W <> 0 AND X == 0 THEN Z/A

I can do an IF THEN for the first part IF W <> 0 AND X <> 0 THEN Y/A

I can do an IF THEN for the second part W <> 0 AND X == 0 THEN Z/A

The problem is, when I try to put them into a single statement, I don't know what to put inbetween the two If thens.
{"ft_lang_label":"__label__en","ft_lang_prob":0.9565114,"math_prob":0.486367,"size":353,"snap":"2022-05-2022-21","text_gpt3_token_len":113,"char_repetition_ratio":0.19197708,"word_repetition_ratio":0.35632184,"special_character_ratio":0.35410765,"punctuation_ratio":0.06451613,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9960304,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-28T20:30:26Z\",\"WARC-Record-ID\":\"<urn:uuid:45a0961d-c185-4998-ae21-f744be6ad933>\",\"Content-Length\":\"55318\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:dfafaa1c-141d-4f60-b08f-069821ee1378>\",\"WARC-Concurrent-To\":\"<urn:uuid:96046d33-3dcf-4584-b211-04c547ca49d5>\",\"WARC-IP-Address\":\"3.125.70.129\",\"WARC-Target-URI\":\"https://answers.sap.com/questions/8297657/if-then-else-if-then-else-if.html\",\"WARC-Payload-Digest\":\"sha1:YH6ESWQ5CKAWDH7AQ6MGDM2H27Q5UZ45\",\"WARC-Block-Digest\":\"sha1:ET33JR7RMF7S65GXFUIYRJMSZUD3RETA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320306335.77_warc_CC-MAIN-20220128182552-20220128212552-00072.warc.gz\"}"}