I need to consolidate sheet1 (2 columns: A=REFERENCE and B=QTY) and sheet2 (2 columns: B=REFERENCE and C=QTY) with the result in sheet3, like: A=REFERENCE of sheet1 with sheet2 (unique data) and B=SUM of QTY sheet1 and C=SUM of QTY sheet2.
Sheet3: Result and differences only in columns: A, B and C the others have procv.
I used the 'Record Macro' and the workbook if in another PC doesn't work.
Sub consolidar()
'
' consolidar Macro
'
'
Selection.Consolidate Sources:=Array( _
"'C:\Users\epontes\Desktop\[APR GR e PICAGEM RENAULT VBA.xlsm]02 GR RENAULT (Consolidar)'!R1C1:R1000C2" _
, _
"'C:\Users\epontes\Desktop\[APR GR e PICAGEM RENAULT VBA.xlsm]03 CONTAGEM JAP'!R2C2:R1401C3" _
), Function:=xlSum, TopRow:=True, LeftColumn:=True, CreateLinks:=False
Range("A3").Select
End Sub