Hi,
I have used the following formula to summarise the top 100 of total number of hours recorded within a period:
In a seperate column I have a COST associated with said hours and I'm trying to figure out how I can get the total COST for the top 100 HOURS recorded in a PERIOD.
I have tried this formula but I get an #N/A error:
Can anyone shed any light on this?
Thanks in advance!
I have used the following formula to summarise the top 100 of total number of hours recorded within a period:
Excel Formula:
SUM(LARGE(FILTER(Data[HOURS];Data[PERIOD]=[@PERIOD]);SEQUENCE(100)))
In a seperate column I have a COST associated with said hours and I'm trying to figure out how I can get the total COST for the top 100 HOURS recorded in a PERIOD.
I have tried this formula but I get an #N/A error:
Excel Formula:
=SUM(FILTER(Data[COST]; (Data[PERIOD] = [@PERIOD]) * (Data[HOURS] >= LARGE(FILTER(Data[HOURS]; Data[PERIOD] = [@PERIOD]); SEQUENCE(100)))))
Can anyone shed any light on this?
Thanks in advance!