I am creating a column to label rows of data based on specific criteria. I want to say if "x = 1" then "seats" but if "x=1 and y=2" then [null].
The first part of my formula looks like
If REGEX_Match([CPSC], '^0110\d+.*\s*') then "Seats - EI" elseif regex_match([CPSC], '^0110\d+*\s*') and contains([Design Level Description], "COST ") then "" elseif......"
It carries on and labels some other rows based on different criteria.
However, it only is labeling with "Seats - EI", even if it meets the criteria to be null. I have tried swapping the order of the two but have come to the same result.
How can I label data with "Seats - EI" but then if it meets the second criteria, have it replaced with ""? Will it matter that my if statement continues and labels several other things afterwards?