Hi Mr. Excel users,
Good day!
2 samples below (BOTH WORKING)
-Original: =OR(WEEKDAY(A10)=1,WEEKDAY(A10)=7)
-Curly =OR(WEEKDAY(A10)={1,7})
I'm using Curly because of lesser LEN.
Curly #2 not working
-Original: =OR(B10="richard",B10="phoebe")
-Curly #1: =OR(B10={"richard","phoebe"})
-Curly #2=OR(B10={X1,X2})
Original and Curly #1 is both working, but to prevent hard coding. I prefer to reference cells range inside the Curly but, it's not working, is there a way for excel to read the Curly #2 above?
#1 My point of asking this question is to make the formula shorter and easy to read, specifically this is for OR and AND.
#2 Any tricks with curly brackets aside from CTRL + SHIFT + ENTER would be helpful.
Hope I make sense for asking this question. Have a great day!
Good day!
2 samples below (BOTH WORKING)
-Original: =OR(WEEKDAY(A10)=1,WEEKDAY(A10)=7)
-Curly =OR(WEEKDAY(A10)={1,7})
I'm using Curly because of lesser LEN.
Curly #2 not working
-Original: =OR(B10="richard",B10="phoebe")
-Curly #1: =OR(B10={"richard","phoebe"})
-Curly #2=OR(B10={X1,X2})
Original and Curly #1 is both working, but to prevent hard coding. I prefer to reference cells range inside the Curly but, it's not working, is there a way for excel to read the Curly #2 above?
#1 My point of asking this question is to make the formula shorter and easy to read, specifically this is for OR and AND.
#2 Any tricks with curly brackets aside from CTRL + SHIFT + ENTER would be helpful.
Hope I make sense for asking this question. Have a great day!
Last edited: