IF / OR function
Try this:
For
A1: (a number between 1 and 12, inclusive)
B1: =CEILING(A1/3,1)
Does that help?
***********
Regards,
Ron
XL2002, WinXP
"kraway" wrote:
I have a cell with a number 1 - 12 in it. I need function to return a value
of 1 if the value in the cell is 1 - 3, 2 if the value in the cell is 4 - 6,
3 if the value in the cell is 7 - 9, and 4 if the value in the cell is 10 -
12. I am trying to assign the quater of the year to based on the month of
the year.
I think the right function is IF combined with OR but I cannot make it work.
Please help!!
|