S
sulu
Hi,
I have a list of companies with employee counts, and I'd
like to assign a category level value based on the number
of employees.
So, for example, if the categories are:
"A" (0-99 employees)
"B" (100-499 employees)
"C" (500-999 employees)
and so on, I'd like a query expression to return "A" if
the value of the "number of employees" field is between 0
and 99, "B" if the value is between 100 and 499, and so on.
I've looked at IIF, but that doesn't seem to work for
anything with more than two categories. Am I mistaken?
Any help you can offer will be greatly appreciated.
Thanks.
I have a list of companies with employee counts, and I'd
like to assign a category level value based on the number
of employees.
So, for example, if the categories are:
"A" (0-99 employees)
"B" (100-499 employees)
"C" (500-999 employees)
and so on, I'd like a query expression to return "A" if
the value of the "number of employees" field is between 0
and 99, "B" if the value is between 100 and 499, and so on.
I've looked at IIF, but that doesn't seem to work for
anything with more than two categories. Am I mistaken?
Any help you can offer will be greatly appreciated.
Thanks.