G
Guest
I have a three column database; Option #, Option Price and Shares
Outstanding. I want to create a query that will summerize the number of
options outstanding by 5 price ranges; $.50 to $1.50, $1.51 to $2.50, etc.
As a newbe I can create 5 separate queries to accomplish this but there must
be an easier way.
Since the range of prices is dynamic from period to period, I would
ultimately like the query to be dynamic as well and determine the min and max
prices for 5 groupings of a roughly equal number of options. For example,
assuming the table is sorted in ascending order on price, and there are
10,000 options outstanding (variable) I would like to determine the min and
max prices for the first grouping of 2,000 options and for each grouping of
2000 options thereafter. I would then display the price range and number of
options in each range.
Any help on this would be greatly appreciated.
Outstanding. I want to create a query that will summerize the number of
options outstanding by 5 price ranges; $.50 to $1.50, $1.51 to $2.50, etc.
As a newbe I can create 5 separate queries to accomplish this but there must
be an easier way.
Since the range of prices is dynamic from period to period, I would
ultimately like the query to be dynamic as well and determine the min and max
prices for 5 groupings of a roughly equal number of options. For example,
assuming the table is sorted in ascending order on price, and there are
10,000 options outstanding (variable) I would like to determine the min and
max prices for the first grouping of 2,000 options and for each grouping of
2000 options thereafter. I would then display the price range and number of
options in each range.
Any help on this would be greatly appreciated.