Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spread sheet like the following
Item A 0 Item B 0 2 Item C 0 4 5 Item D 0 2 5 7 Item E 1 6 7 8 If I type in a value 'Item C' I can use the match and index functions to find out which row Item C is on. Using this row value I should be able to search the row to find out which column contains 0. Does anyone know how I can use the result from the first formula in the second formula. An example would be good. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
With your Item values in column A:
=MATCH(0,OFFSET(1:1,MATCH("Item C",A:A,FALSE)-1,0),FALSE) will return the column # for the 0 in the row with Item C. "Item C" can also be replaced by a cell reference. HTH, Bernie MS Excel MVP "f1capsicum" wrote in message oups.com... I have a spread sheet like the following Item A 0 Item B 0 2 Item C 0 4 5 Item D 0 2 5 7 Item E 1 6 7 8 If I type in a value 'Item C' I can use the match and index functions to find out which row Item C is on. Using this row value I should be able to search the row to find out which column contains 0. Does anyone know how I can use the result from the first formula in the second formula. An example would be good. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, works great
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Return a cell reference as a result of an IF formula | Excel Discussion (Misc queries) | |||
How to return a cell reference as result of a formula | Excel Worksheet Functions | |||
Advanced formula - Return result & Show Cell Reference of result | Excel Worksheet Functions | |||
How to replace a function with its result or resulting reference in a formula? | Excel Worksheet Functions | |||
copying a formula, the reference adjusts, but the result does not | Excel Discussion (Misc queries) |