The following formula works fine in colum V sheet AT
in sheet: AT,
product col = col G, Size col = col C, price col = col V
in sheet: BT
product col = col A , size col = col B, price col = col C
=IF(OR(G2="",C2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT!$B$2:$B$100=C2),0)))
I needed to add another search criteria to this formula
in sheet: AT,
product col = col G, Size col = col C, price col = col V, Length col
= col H
in sheet: BT
product col = col A , size col = col B, price col = col C, Length col
=col D
I added this to the formula and can not get it to work
=IF(OR(G2="",C2="",H2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT!$B$2:$B$100=C2)*(BT!$D$2:$D$100=H2),0)))
Any suggestions what I did wrong ?
aj_gabby
Max wrote:
> "aj_gabby" wrote:
> > That would work fine for me but there are objects linked under the
> > product cell in sheet A .
>
> > What if I made a new column 'G' with the
> > product filled in and hide the value in the cell but viewable in the
> > formula bar. Would your formula work with this.
>
> Yes, of course. Just adapt it to point to col G instead of col A
>
> > Also where do the
> > sheet names come to play in your formula. For readability can we call
> > sheet A= AT. and Sheet B.= BT.
>
> Earlier, in the example, we had:
> In sheet: A,
> In C2, array-entered:
> =IF(OR(A2="",B2=""),"",INDEX(B!$C$2:$C$100,MATCH(1,(B!$A$2:$A$100=A2)*(B!$B$2:$B$100=B2),0)))
>
> Now, in sheet: AT,
> assuming the "new" product col = col G, Size col = col C, "new" price col =
> col V (?)
>
> Place in V2, and array-enter [CSE]:
> =IF(OR(G2="",C2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT!$B$2:$B$100=C2),0)))
> Copy V2 down
>
> As before, the set up assumed in sheet: BT
> that col A = product, col B = size, col C = price
> (you said that my assumption was correct)
> --
> Max
> Singapore
> http://savefile.com/projects/236895
> xdemechanik
> ---