Hello. Im having some problems wrighting this code into excel.
I have a range of data between 1 and 100,000. im looking for numbers above 20,000 to be in the Good section and below 20,00 to be in the poor section. Additionally i want all numbers below 5,000 to be discounted and the "Good" "Poor" box to be left blank.
I can wright this in code as below:
If 5000<B2>20000:
B3 = "Poor"
elif B2>20000:
B3 = "Good"
elif B2< 5000:
B3 = ""
else:
B3 = "Unknown"
problem is i cant find any elif functions in excel, it all seems to be "if true then / if flase then" whereas i just want if "true then"
Bookmarks