View Single Post
  #5   Report Post  
KDD
 
Posts: n/a
Default

Ian, unless i have misunderstood, the solution you provided may not work.

See, D2 can be any value from 500 to 75000. I have D2 upto D2500. My ranges
(bins) are pre-defined. So E2 has to recognize in which bin D2 and
accordingly return either the range (e.g. 500-999) or the median of the range
e.g. 750.

thanks
--
KDDXB


"KDD" wrote:

Ian,

My D column in the database has values ranging from 500 to 75000. I want to
E to return these values by putting them in pre-defined bins (ranges) of
500-999, 1000-1499, 1500-1999 etc.
--
KDDXB


"Ian" wrote:

Not sure what you want here. Do you want to count the number of times values
within a range occur?

--
Ian
--
"KDD" wrote in message
...
I would like to slot cell values starting from 500 upto 75000 in ranges
(bins) like 500-999, 1000-1499, 1500to 1999 etc. How do i do this? I have
15
bins.

pls help