crazytalker90
New Member
- Joined
- Sep 5, 2013
- Messages
- 4
Hello! I have been trying to do this for many days now, and so finally decided to join this forum and ask for help.
I am trying to get the column number of a cell that meets both vertical and horizontal criteria within a matrix.
Specifically I am trying to produce a formula that will give me the column number of a column that both includes the number 1 and has a specific REF #
Example:
<tbody>
</tbody>
e.g. For an input of the REF# 3, I would like it to output 3 (3rd column is where REF# 3 has a 1 in the matrix)
The reason I am looking to do this is to produce an OFFSET function that will utilize this column number to give me the heading title (Date) for different REF #s corresponding to where the number 1 is located.
Any tips will help! I've tried using combinations of IF, OR, AND, SUMPRODUCT, VLOOKUP, HLOOKUP, OFFSET, INDEX, COLUMN, and MATCH but can't seem to quite figure it out
~Charlie
I am trying to get the column number of a cell that meets both vertical and horizontal criteria within a matrix.
Specifically I am trying to produce a formula that will give me the column number of a column that both includes the number 1 and has a specific REF #
Example:
REF# | 1/4/13 | 12/4/12 | 7/18/13 |
1 | 1 | ||
2 | 1 | ||
3 | 1 |
<tbody>
</tbody>
e.g. For an input of the REF# 3, I would like it to output 3 (3rd column is where REF# 3 has a 1 in the matrix)
The reason I am looking to do this is to produce an OFFSET function that will utilize this column number to give me the heading title (Date) for different REF #s corresponding to where the number 1 is located.
Any tips will help! I've tried using combinations of IF, OR, AND, SUMPRODUCT, VLOOKUP, HLOOKUP, OFFSET, INDEX, COLUMN, and MATCH but can't seem to quite figure it out
~Charlie