This morning has been interesting. I was given a worksheet with 40K rows. I need to count the number of times a business appears with a cost greater than 0, among other things.
Normally I would use a Pivot Table. Unfortunately, I have to many unique entires for the table to handle.
I was able to count the number of times each business appeared by using the COUNTIF function. Now I need an AVERAGEIF function (which, to my knowledge, does not exist) but it also needs to return the costs similar to how a VLOOKUP works.
Ideally I would have a worksheet that looked like this:
Name | Cost | Count | # of locations with cost > 0 | Average Cost
Currently I have the names and the costs. I derived the count by using a COUNTIF, now I need the last two.
I am stumped.
Thanks for the help
Normally I would use a Pivot Table. Unfortunately, I have to many unique entires for the table to handle.
I was able to count the number of times each business appeared by using the COUNTIF function. Now I need an AVERAGEIF function (which, to my knowledge, does not exist) but it also needs to return the costs similar to how a VLOOKUP works.
Ideally I would have a worksheet that looked like this:
Name | Cost | Count | # of locations with cost > 0 | Average Cost
Currently I have the names and the costs. I derived the count by using a COUNTIF, now I need the last two.
I am stumped.
Thanks for the help