cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

If "blank greater than blank" and "blank greater than blank"

dsweet
1-Newbie

If "blank greater than blank" and "blank greater than blank"

I have a question regarding if statements. I am trying to program the following:

If x>y "and" x>z, then x=c.

Can anyone help me with this? I was thinking an "also if" statement would work, but I don't think I'm entering it right. Does "also if" only return the value if either expression is true?

Thanks in advance for any help!

Dustin

ACCEPTED SOLUTION

Accepted Solutions
Fred_Kohlhepp
23-Emerald I
(To:dsweet)

Ther is a boolean "and" operator that allows you to combine the two comparisons.

View solution in original post

2 REPLIES 2
dsweet
1-Newbie
(To:dsweet)

Correction, what I'm trying to do is

if c>y "and" c>x, then z=c.

Thanks!

Fred_Kohlhepp
23-Emerald I
(To:dsweet)

Ther is a boolean "and" operator that allows you to combine the two comparisons.

Announcements

Top Tags