Good day how to fix my formula.
If(LookUp(SPList,, tag="B1",tag) And LookUp(SPList, tag_rep="YES",Tag_rep),RGBA(130, 35, 119,1),
If(LookUp(SPList,, tag="B1",tag) And LookUp(SPList, tag_rep="YES",Tag_rep),RGBA(0,87,63,1),RGBA(0,0,0,0)))
What I want is when tag="B1" And tag_rep = "YES" Then the color is PURPLE else if tag = "B1" and tag_rep="" then GREEN