Hello all,
I've been struggling to find an answer to this problem, so thought I'd try on this site, as people seemed to be friendly and willing...
I wrote this formula, and it is doing what I want, but seems a little bulky for what I need it to do.
=OFFSET(INDEX(Table1[Quantity],MATCH(1,INDEX((Table1[Quantity]=LARGE(Table1[Quantity],ROWS(F$31:F31)))*(COUNTIF(F$31:F31,Table1[Quantity])=0),),0)),,-16)
In short, it looks up the highest value from a table, and then returns the information I want via OFFSET. When I drag down to duplicate, it give me the second highest, and so on and so forth. I only actually need it for the top 10 though.
What I wanted to do was to create two more formulas. One adds an IF function and the other adds an IFS function. They work on the same principle though. So I started, failed over and over until I decided to strip down the component pieces. When doing so I stumbled across this formula...
{=LARGE(IF(Table1[Tribe]="Gaul",Table1[Quantity],),1)}
This successfully gives me the highest number, that meets the condition of "Gaul". So, I want to then OFFSET that. The base component to move from D5 to C5 is...
=OFFSET(D5,,-1,,)
So in my mind all I have to do is place the LARGE array formula in the D5 and I should get the cell to the left of my highest quantity Gual.
=OFFSET({=LARGE(IF(Table1[Tribe]="Gaul",Table1[Quantity],),1)},,-1,,)
or
{=OFFSET(=LARGE(IF(Table1[Tribe]="Gaul",Table1[Quantity],),1),,-1,,)}
Both say that they see an error in my formula, I don't understand. I feel like the same root problem in my understand is affecting both the original formula and this one.
I hope I have given enough detail.
Regards,
Bookmarks