Reputation: 23
I am trying to find columnnumber of an value without know the row-number. I am sure it is an easy answer but for now I am stuck with an long IFERROR-formula that checks every first 15 rows:
=IFERROR(MATCH("Prices";Prisliste!$A$2:$L$2;0);IFERROR(MATCH("Prices";Prisliste!$A$3:$L$3;0);"-----and so forth..
Someone have a better idea?
Upvotes: 0
Views: 70
Reputation: 152595
Use AGGREGATE:
=AGGREGATE(15,6,COLUMN($A$2:$L$16)/($A$2:$L$16 ="Prices"),1)
Upvotes: 1