I have the following two IF statements and want to combine them into one. Both work. There are in different columns. Tried but sadly failing. Any help would be welcome.
IF(B1="A",IF(H1< j1,"w",if(h1>J1,"L",IF(H1=J1,"D"))),"")
IF(B1="H",IF(H1>J1,"W",IF(H1< j1,"l",if(h1=j1,"d"))),"")