ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   retrieve an AVERAGE of a range using VLOOKUP to locate start/end d (https://www.excelbanter.com/excel-programming/436558-retrieve-average-range-using-vlookup-locate-start-end-d.html)

Sol

retrieve an AVERAGE of a range using VLOOKUP to locate start/end d
 
Can I calculate the average of a range based on VLOOKUP? In other words, can
I get Excel to "look up" the respective START / END dates of an investment
position listed in Sheet 1 and then go and locate those 2 distinct cell
values in in a different sheet (Sheet 2) utilizing VLOOKUP function and then
return the calculated AVERAGE of the cells within that range back into Sheet
1?
Appreciate any thoughts if doable in Excel in any way?

Barb Reinhardt

retrieve an AVERAGE of a range using VLOOKUP to locate start/end d
 
tAKE A LOOK AT AverageIFS and see if that does what you want. If it were
me, I'd probably enter the formula manually, record the result from there and
put that in my code.
--
HTH,

Barb Reinhardt



"Sol" wrote:

Can I calculate the average of a range based on VLOOKUP? In other words, can
I get Excel to "look up" the respective START / END dates of an investment
position listed in Sheet 1 and then go and locate those 2 distinct cell
values in in a different sheet (Sheet 2) utilizing VLOOKUP function and then
return the calculated AVERAGE of the cells within that range back into Sheet
1?
Appreciate any thoughts if doable in Excel in any way?



All times are GMT +1. The time now is 10:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com