OK.
I have a formula that refers to another sheet.
Since this formula will never be in a fixed column (actually it searches for
the next empty column), i'm trying to insert a formula accroding to the
Column var in several cells.
Example : if Column = 6
Then on row number 18 (this is a constant number) and Column = 6 the formula
would be : (french functions sorry,
=SI(RECHERCHEV(L(-13)C;Extraction.Compagnies.2005!L(-16)C(-5):L(4000)C(6);12
)="";"";RECHERCHEV(L(-13)C;Extraction.Compagnies.2005!L(-16)C(-5):L(4000)C(6
);12))
- RechercheV stands for Vertical Search
- SI stands for IF
On row 17 it would be (same Column) :
=SI(SI(RECHERCHEV(L(-12)C;Extraction.Compagnies.2005!L(-15)C(-5):L(4000)C(6)
;12)=2;"A";"J")<>L(-1)C;"";SI(RECHERCHEV(L(-12)C;Extraction.Compagnies.2005!
L(-15)C(-5):L(4000)C(6);12)=2;"A";"J"))
got like 10 lines to fill like that.