Hi,
actually i am looking to implement below excel formula in SAS
=IF(G8<3,IFERROR(INDEX($B$1:$F$1,MATCH(3,B8:F8,0)),IF(G8<2,IFERROR(INDEX($B$1:$D$1,MATCH(2,B8:E8,0)),""),"")),"")
what my understanding from above formula:
when october is ❤️ then match 3 from may - septemberwhen october <2 then match 2 from may - july
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.Sign up by Dec. 31 to get the 2024 rate of just $495.Register now!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.