Hi Kim,
I did it in the attachment but here's how you do it. You want an Event driven macro (in this case, one that runs when you change something in G or H). This code would go in the worksheet module that you are using (in your example, sheet1). Right click on the sheet tab and "View Code" That opens the VBA editor. Paste this code in the text window (the code window)
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("H68:H118")) Is Nothing Then
Target.Offset(0, 1).ClearContents
ElseIf Not Intersect(Target, Range("G68:G118")) Is Nothing Then
Target.Offset(0, 1).ClearContents
Target.Offset(0, 2).ClearContents
End If
End Sub
You'll need to modify the ranges if your spreadsheet is different. If you insert rows, unlike formulas, these will not auto adjust so you'll need to fix them.
Save the workbook with xlsm extention instead of xlsx.
You will need to "enable content" when you open this file.
Does this work for you?
Bookmarks