A
ambracat
I have been trying to find a way to calculate a median from a database
using and IF function. For example, I need to get the median of sales
prices, by year, by Area, from a database which has daily sales for
four years and six areas. I was hoping that a pivot table could be
used, but I have not been able to make it work for this use. I have
repeatedly tried to nest IF functions to do this without success. The
database has about 20,000 records in it.
Of course, I could sort by Area and by Date and then use the MEDIAN
function, but it seems to me that with all the power of Excel, there
should be an easier way. I am using Excel 2002.
Thanks for any help you can give me.
using and IF function. For example, I need to get the median of sales
prices, by year, by Area, from a database which has daily sales for
four years and six areas. I was hoping that a pivot table could be
used, but I have not been able to make it work for this use. I have
repeatedly tried to nest IF functions to do this without success. The
database has about 20,000 records in it.
Of course, I could sort by Area and by Date and then use the MEDIAN
function, but it seems to me that with all the power of Excel, there
should be an easier way. I am using Excel 2002.
Thanks for any help you can give me.