Forum Discussion

Fridley's avatar
Fridley
Copper Contributor
May 31, 2022
Solved

From a sheet of mixed assets, calculate average cost of asset based on asset type

I am trying to simplify a process that currently requires creating sheets for each asset type.   Eg. From the following table I want to find the AVG Purchase Rate   A B C D E 1 Asset ...
  • SamB513's avatar
    May 31, 2022

    If I understood this correct:
    =UNIQUE(FILTER(A:A,TRUE,"")) will return a list of unique "Asset" and then you can average if off of that:
    =AVERAGEIF(A:C,H:H,C:C)
    (presuming the above filter is in H) - you will need to copy down to match the spill from the filter, but should do what you're after.

     

    https://tavernerresearch-my.sharepoint.com/:x:/g/personal/simonb_taverner_com_au/ES-vINBQrH9OlozfkDZ7bX0BOXIUb8Nohf58JfJhnWOCUQ?e=IBiNmz 

Resources