eddipowers
New Member
- Joined
- Oct 31, 2018
- Messages
- 2
<style type="text/css"> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} </style>Hi All
Can somebody please tell me why these statements come out this way?
K1 = 01/10/2018 (Dropdown list with value from a table formatted "mmmm ii")
J21 = 02/09/2018
=IF(MONTH(K1)&YEAR(K1)<MONTH(J21)&YEAR(J21);"TRUE";"FALSE") "Excel says True" (outcome 102018 < 92018)
=IF(MONTH(K1)&YEAR(K1)>MONTH(J21)&YEAR(J21);"TRUE";"FALSE") "Excel says False" (outcome 102018 > 92018)
=IF(YEAR(K1)&MONTH(K1)>YEAR(J21)&MONTH(J21);"TRUE";"FALSE") "Excel says False" (outcome 201810 > 20189)
I am using the statements in IF formulas, so it is pretty annoying.
Can somebody tell me what I am doing wrong or why excel is doing this.
Thanks in advance.
Can somebody please tell me why these statements come out this way?
K1 = 01/10/2018 (Dropdown list with value from a table formatted "mmmm ii")
J21 = 02/09/2018
=IF(MONTH(K1)&YEAR(K1)<MONTH(J21)&YEAR(J21);"TRUE";"FALSE") "Excel says True" (outcome 102018 < 92018)
=IF(MONTH(K1)&YEAR(K1)>MONTH(J21)&YEAR(J21);"TRUE";"FALSE") "Excel says False" (outcome 102018 > 92018)
=IF(YEAR(K1)&MONTH(K1)>YEAR(J21)&MONTH(J21);"TRUE";"FALSE") "Excel says False" (outcome 201810 > 20189)
I am using the statements in IF formulas, so it is pretty annoying.
Can somebody tell me what I am doing wrong or why excel is doing this.
Thanks in advance.