![]() |
How to return column header contents when a cell in the column has a value
60120 60125 61065 61128 61140
411AMERICAN 1502CDW 437 3172FRANKLINS 263 7876STANDARD 286 7889STAPLES 1,640 30385VACO LLC 102,624 I'm trying to do an index/match function from another page in a workbook (pointing to this range of data). I would like to match from a cell on another page to column A....look across the row to the column with a value 0 and return the column header. For example, 7889STAPLES would return the result "61140"; 1502CDW would return "61065"; and so on. Any ideas? |
How to return column header contents when a cell in the column has a value
Hi,
Am Tue, 4 Aug 2015 20:10:02 -0700 (PDT) schrieb : For example, 7889STAPLES would return the result "61140"; 1502CDW would return "61065"; and so on. try: =INDEX($1:$1,MATCH(1,ISNUMBER(INDIRECT(MATCH("7876 STANDARD",$A$1:$A$100,0)&":"&MATCH("7876STANDARD", $A$1:$A$100,0)))*1,0)) or =INDEX($1:$1,MATCH(1,ISNUMBER(INDIRECT(MATCH(A5,$A $1:$A$100,0)&":"&MATCH(A5,$A$1:$A$100,0)))*1,0)) and enter these formulas with CTRL+Shift+Enter Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
All times are GMT +1. The time now is 06:46 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com