C
C Brandt
Today just doesn't look like it is going to be MY Day. It seems that I am
leaning on this group heavily today, so thanks alot!
This is what I have and what I need:
Column 1 is the Key name to look up.
Column 2 is the lookup formula
Column 3 is the Table NAME (Generated from a date by =TEXT (A1,"mm-yy") )
Column 4 is the location of the data to return
This is what I would like the formula in col 2 to look like
=Vlookup($A2,06-07,11,0)
Col. 1 Col. 2 Col. 3 Col. 4
Bra065 06-07 11
I tried this in VBA:
Cells(2,2).formulaR1C1 = "=Vlookup(RC[-1]," & Cells(2,3) & "," & Cells(2,4)
& ",0)"
And it generates
=Vlookup($A2,6-7,11,0)
Changes the 06-07 to 6-7
I think I am brain dead, because I cannot come up with something that works.
Thanks,
Craig
leaning on this group heavily today, so thanks alot!
This is what I have and what I need:
Column 1 is the Key name to look up.
Column 2 is the lookup formula
Column 3 is the Table NAME (Generated from a date by =TEXT (A1,"mm-yy") )
Column 4 is the location of the data to return
This is what I would like the formula in col 2 to look like
=Vlookup($A2,06-07,11,0)
Col. 1 Col. 2 Col. 3 Col. 4
Bra065 06-07 11
I tried this in VBA:
Cells(2,2).formulaR1C1 = "=Vlookup(RC[-1]," & Cells(2,3) & "," & Cells(2,4)
& ",0)"
And it generates
=Vlookup($A2,6-7,11,0)
Changes the 06-07 to 6-7
I think I am brain dead, because I cannot come up with something that works.
Thanks,
Craig