google spreadsheet - Get array of matching cells -
i have document sheet contains company names , has column same names , row different locations each company. looks similar to:
company | location company1 | location1 company1 | location2 company2 | location1
etc. need formula return array of row numbers match specific company name, [0, 1]
company1 , [2]
company2. there formula can this?
you can use match
formula return row number,
=match(a1,sheet2!a:a,0)
where a1 company names in current sheet, a:a company names present in sheet2 (with location). formula returns row number.
a point have in mind - row number starts a1 1 , on.
Comments
Post a Comment