I have a picklist field that has the value of either "A" or "B"
If it is A, I need to take the value of a number field ("d") and based on the number ranges within that field, set the formula field to a tier 1 through 5. If it is B, I need to take the value of a number field ("c") and based on number ranges within that field, set the formula field to a tier 1 through 5.
I've tried variations of the following, but all of them show errors of one kind or another.
Any help is greatly appreciated.
AND( ISPICKVAL(Industry , "A")),
IF(d >= 201 , "Tier 1",
IF(d >= 151, "Tier 2",
IF(d >= 101, "Tier 3",
IF(d >= 51, "Tier 4",
IF(d >= 1 , "Tier 5",
NULL)))))),
OR(
AND( ISPICKVAL(Industry , "B")),
IF(c >= 100000, "Tier 5",
IF(c>= 40000, "Tier 4",
IF(c>= 20000 , "Tier 3",
IF(c>= 10000, "Tier 2",
IF(c<= 9999 , "Tier 1",
NULL)))))
)