You need to sign in to do that
Don't have an account?
Danny Hartley
Help with this formula
I was wondering if anyone could tell me why this formula is not working? Thanks in advance.
IF(
OR(
AND (
VALUE( MID(TEXT( CreatedDate ), 12, 2)) >= 17,
VALUE( MID(TEXT( CreatedDate ), 12, 2)) <= 7
),
IF(MOD(DATEVALUE( CreatedDate ) - DATE(1900,1,7),7) = 0, true, false),
IF(MOD(DATEVALUE( CreatedDate ) - DATE(1900,1,7),7) = 6, true, false)
)
true, false
)
IF(
OR(
AND (
VALUE( MID(TEXT( CreatedDate ), 12, 2)) >= 17,
VALUE( MID(TEXT( CreatedDate ), 12, 2)) <= 7
),
IF(MOD(DATEVALUE( CreatedDate ) - DATE(1900,1,7),7) = 0, true, false),
IF(MOD(DATEVALUE( CreatedDate ) - DATE(1900,1,7),7) = 6, true, false)
)
true, false
)
Please try,
IF(
OR(
AND (
VALUE( MID(TEXT( CreatedDate ), 12, 2)) >= 17,
VALUE( MID(TEXT( CreatedDate ), 12, 2)) <= 7
),
IF(MOD(DATEVALUE( CreatedDate ) - DATE(1900,1,7),7) = 0, true, false),
IF(MOD(DATEVALUE( CreatedDate ) - DATE(1900,1,7),7) = 6, true, false)
), //This comma was missing
true, false
)
All Answers
Please try,
IF(
OR(
AND (
VALUE( MID(TEXT( CreatedDate ), 12, 2)) >= 17,
VALUE( MID(TEXT( CreatedDate ), 12, 2)) <= 7
),
IF(MOD(DATEVALUE( CreatedDate ) - DATE(1900,1,7),7) = 0, true, false),
IF(MOD(DATEVALUE( CreatedDate ) - DATE(1900,1,7),7) = 6, true, false)
), //This comma was missing
true, false
)