Single Embedded Formula for Finding Nth largest invoice number and amount
Rows absolute & relative reference Explained
I decided to create one embedded formula that will produce nth largest invoice amount and its correlated invoice number. I used the large function to find the largest number based off nth criteria. For the nth criteria, I used the Rows function to make it count the rows so that it will go 1,2,3, etc. Then, I used an xlookup to find the largest invoice amount to output both the largest invoice number and the amount separated by a space. Finally, I used the textsplit to separate it by the space delimiter.
However, I realized this formula is restricted by the xlookup only being able to output the first invoice number that appears in a table if there are multiple invoice amounts that are the same.
Therefore, I did a conditional format to find which invoice amounts are the same. Then, one can add that to the blue cell I2. The adjacent Filter formula will produce all the invoice numbers.
Pretty happy about this embedded formula creation I made. Check it out below.
Comments
Post a Comment