Bad_Handle
New Member
- Joined
- Nov 12, 2009
- Messages
- 26
Thanks to this fantastic webiste, I've saved a lot of time by doing two-way lookups with an index and two match fuctions formula
=INDEX($A:$D,MATCH($F3,$A:$A,0),MATCH(G$2,$A$1:$D$1,0))
I was wondering if there is a way to take this one step further.
For the first match funciton, MATCH($F3,$A:$A,0), is there a way to have excel determine that Column A is the column I want to use as the look up array by having it match the column heading in row one?
For example, let's say the heading for column A in MATCH($F3,$A:$A,0), is "Account Number". Is there a way to have it search for "Account Number" in Row 1 and then, after recognizing that "Account number" is in positon 1 of row one, use the entire column for the search array
The formula might look something like this:
MATCH($F3,(Serach for column w/ "Account Number" ,0)
I could find GREAT use for a formula that accomplishes this in a Macro
=INDEX($A:$D,MATCH($F3,$A:$A,0),MATCH(G$2,$A$1:$D$1,0))
I was wondering if there is a way to take this one step further.
For the first match funciton, MATCH($F3,$A:$A,0), is there a way to have excel determine that Column A is the column I want to use as the look up array by having it match the column heading in row one?
For example, let's say the heading for column A in MATCH($F3,$A:$A,0), is "Account Number". Is there a way to have it search for "Account Number" in Row 1 and then, after recognizing that "Account number" is in positon 1 of row one, use the entire column for the search array
The formula might look something like this:
MATCH($F3,(Serach for column w/ "Account Number" ,0)
I could find GREAT use for a formula that accomplishes this in a Macro