On Jun 13, 12:30 pm, JE McGimpsey <jemcgimp...@mvps.org> wrote:
> One way:
>
> =IF(AND($D402="INPUT", $H402="INTERLOCK")=TRUE,
> VLOOKUP($W402,INDIRECT("'" & X & "'!A2:F81"), 2, FALSE) & "-" &
> VLOOKUP($W402,INDIRECT("'" & X & "'!A2:F81"), 5, FALSE),
> IF(AND($D402="INPUT", $J402="")=TRUE, VLOOKUP($I402, $B$2:$M$5000, 12,
> FALSE), IF(AND(LEFT($L402, 10)="DTS E1459A", $J402="")=TRUE,
> VLOOKUP($I402, $B$2:$M$5000, 12, FALSE), "")))
>
> Where X is your adjacent cell
>
> In article <1181744599.996959.57...@g37g2000prf.googlegroups.com>,
> Miner Jeff <jeff.p.bled...@lmco.com> wrote:
>
>
>
> > Here's the real problem I'm trying to solve:
>
> > In the formula,
>
> > =IF(AND($D402="INPUT",
> > $H402="INTERLOCK")=TRUE,VLOOKUP($W402,'1260-17A_SLOT_1'!$A$2:$F
> > $81,2,FALSE)&"-"&VLOOKUP($W402,'1260-17A_SLOT_1'!$A$2:$F
> > $81,5,FALSE),IF(AND($D402="INPUT",$J402="")=TRUE,VLOOKUP($I402,$B$2:$M
> > $5000,12,FALSE),IF(AND(LEFT($L402,10)="DTS E1459A",
> > $J402="")=TRUE,VLOOKUP($I402,$B$2:$M$5000,12,FALSE),"")))
>
> > do you know how can I use your INDIRECT solution to refer to
> > '1260-17A_SLOT_1', where '1260-17A_SLOT_1' is contained in a cell
> > adjacent to the formula's cell, or at least on the same row ?- Hide quoted text -
>
> - Show quoted text -
Thanks JE. It works. This is a big help. This is my first
experience with embedding functions inside of other functions.
Jeff