Assign categorical number to range of values in Excel

1.3k views Asked by At

I have a column containing a continuous variable which I would like to categorize based on the value. This is a distance value. For instance, I would like to separate them into 50 m intervals (i.e, 0-49.999 = 1, 50-99.999=2, etc.) I am thinking this would be a simple IF statement, but I have not yet come to a conclusion in Excel. Any help would be greatly appreciated.

1

There are 1 answers

1
TessellatingHeckler On

How about just:

=INT(A1/50) + 1