Vendor Lookup
begin my formulas in A19 and B19,
=IF(ROW()COUNT(A:A),"",INDEX(Import!A:A,MATCH(SM ALL(A:A,ROW()),A:A,0)))
Replace this:
=IF(ROW()COUNT(A:A)
With this:
=IF(ROWS(B$19:B19)COUNT(A:A)
--
Biff
Microsoft Excel MVP
"Chad F" wrote in message
...
On a test sheet, I have this formula in A1:
=IF(Import!M2="BIC USA
Inc.",IF(ISNUMBER(Import!A2+0),Import!A1+ROW()/10^10,""),"")
The above formula is copied down to A4000. It pulls in any item number
that
is associated with "BIC USA Inc." into the corresponding row on the test
sheet.
On that same sheet, I have this formula in B1:
=IF(ROW()COUNT(A:A),"",INDEX(Import!A:A,MATCH(SMA LL(A:A,ROW()),A:A,0)))
The above formula is copied down to B4000. It removes the empty rows in
column A so that the first returned value appears in B1, then B2, B3, etc.
This works great if both of these formulas start in row 1, however, my
problem is that the sheet that I actually want to use this on has data in
A1:B18. So I am trying to begin my formulas in A19 and B19, but I am
having
no luck (even if I try to modify them a little).
Can anyone help?
Thanks,
Chad
|