VBA: Lookup A Value and Deduct A Value
Closed
JC
-
Oct 28, 2016 at 09:53 PM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Nov 1, 2016 at 12:02 PM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Nov 1, 2016 at 12:02 PM
Related:
- VBA: Lookup A Value and Deduct A Value
- Vba case like - Guide
- Number to words in excel formula without vba - Guide
- Vba check if value is in array - Guide
- Vba color index - Guide
- How to open vba in excel mac - Guide
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Nov 1, 2016 at 12:02 PM
Nov 1, 2016 at 12:02 PM
Hi JC,
That actually does make sense!
Try the following code:
Best regards,
Trowa
That actually does make sense!
Try the following code:
Sub RunMe() Dim vFind As Range Set vFind = Columns("C:C").Find(Range("M1")) If vFind Is Nothing Then Exit Sub Range("J" & vFind.Row).Value = Range("J" & vFind.Row).Value + Range("N1").Value End Sub
Best regards,
Trowa