Forum Discussion
Ideoli Team
Apr 02, 2018Copper Contributor
MAX/IF and MAXIFS help
I have a large list of product SKUs that are 8 digits total. The SKUs are set up as "XXXX-XXXX". The first set of 4 digits is the product family and the second set of 4 digits is the next spot in the...
Detlef_Lewin
Apr 02, 2018Silver Contributor
Hi,
one of many solutions:
=INDEX(A1:A5,AGGREGATE(14,6,ROW(A1:A5)/(LEFT(A1:A5,4)="1101"),1))
Ideoli Team
Apr 02, 2018Copper Contributor
Not sure what I am doing wrong but I can't seem to get that formula to work. It gives me the #DIV/0! error code. Any other ideas?
- Detlef_LewinApr 02, 2018Silver Contributor
The formula cannot return #DIV/0!. It is impossible.
Another way to solve it:
{=INDEX(A1:A5,MAX(IF(LEFT(A1:A5,4)="1101",ROW(A1:A5))))}Enter with CTRL-SHIFT-ENTER.