I have no experience when it comes to this type of query and i'm stuck.
I've found a working query that i have used, here is the logic:
"If any cell in Sheet2 Column A = Any cell in Sheet1 Column B, change sheet2 column A cell value to sheet1 column A value"
The formula for this is:
Sub Test1()
Application.ScreenUpdating = False
Dim cell As Range, varFind As Variant
With Sheets("Sheet1")
For Each cell In Sheets("Sheet2").Columns(1).SpecialCells(2)
Set varFind = .Columns(2).Find(What:=cell.Value, LookIn:=xlFormulas, LookAt:=xlWhole)
If Not varFind Is Nothing Then cell.Value = .Cells(varFind.Row, 1).Value
Set varFind = Nothing
Next cell
End With
Application.ScreenUpdating = True
End Sub
That works fine for me, but I need it slightly different. It needs to follow this logic:
"If any cell in Sheet2 Column A = Any cell in Sheet1 Column B, change sheet1 column A cell value to sheet2 column B value"
Can anyone help please?