Kam said:
Sorry...it didnot help me...Or may be I have used in proper way.
See I will give you proper e.g..
Sheet 1(Main Data):
InvoiceRef BLNo CustomerCode CustomerName
LDN1095699 SJ1528553 130GLA16122 FOXTEQ UK LTD
LDN0506799 SJ1398799 130GLA7882 DHL DANZAS
LDN1352394 502651234 130GLA2698 TEXTILE CONCEPT
LDN1350111 503048824 130GLA2405 DIAGEO SCOTLAND LTD
LDN1532590 504339428 130GLA2405 DIAGEO SCOTLAND LTD
Sheet 2 :
InvoiceRef BLNo CustomerCode CustomerName
LDN1095699 SJ1528553 130GLA16122 FOXTEQ UK LTD
LDN0506799 SJ1398799 130GLA7882 DHL DANZAS
Sheet 3 :
InvoiceRef BLNo CustomerCode CustomerName
LDN1352394 502651234 130GLA2698 TEXTILE CONCEPT
LDN1350111 503048824 130GLA2405 DIAGEO SCOTLAND LTD
LDN1532590 504339428 130GLA2405 DIAGEO SCOTLAND LTD
Now if you compare Sheet2 & Sheet3 data with "Main Data(Sheet1)" there some
data in Sheet2 & some of them are in Sheet3.
So I need formula which can look values from Main Data into Sheet2 & Sheet3
& give me proprt output...
Appreciate your help.
Best Regards,
Kam.
I believe that is clear, however look in the help on line the function
HLOOKUP, thanks.
The formula, written in Sheet1, look for the data in Sheet2 or, in not
found, in Sheet3.
This formula, in XL2000 Italian find the CustomerName (the 4st element)
be kind enough to change the riferiments in accord with your ranges.
=SE(CONTA.SE(Foglio2!$A$2:$A$13;$A2)=1;CERCA.VERT($A2;Foglio2!$A$2:$D$13;4;FALSO);CERCA.VERT($A2;Foglio3!$A$2:$D$13;4;FALSO))
traslated in English, i believe is:
=IF(COUNTIF(Sheet2!$A$2:$A$13,$A2)=1;VLOOKUP($A2,Sheet2!$A$2:$D$13,4,FALSE);VLOOKUP($A2,Sheet3$A$2:$D$13,4,FALSE))
Regards
Eliano