Hello! Is it possible to lock the cells in one range (D13:E22) if there is any non-zero data in another (B13:C22) and vice-versa?
The sheet defaults to all 40 of these cells being editable and at $0. There is also VBA being used to ensure that when data is deleted, it defaults back to $0. There is a 5th column that is looking at all 4 columns and taking B-C+D+E, but that is because users should only use B and C or D and E. The code would help prevent any issues in accidental entries that use more than the 2 columns that are needed.
Also - Would this be easier/possible with data validation? I attempted this and was able to get it to work on one half (an error would pop up asking you to delete out the other 'side'), but I wasn't able to duplicate it when I attempted to set up the same rules for the other side.
Thanks in advance!
The sheet defaults to all 40 of these cells being editable and at $0. There is also VBA being used to ensure that when data is deleted, it defaults back to $0. There is a 5th column that is looking at all 4 columns and taking B-C+D+E, but that is because users should only use B and C or D and E. The code would help prevent any issues in accidental entries that use more than the 2 columns that are needed.
Also - Would this be easier/possible with data validation? I attempted this and was able to get it to work on one half (an error would pop up asking you to delete out the other 'side'), but I wasn't able to duplicate it when I attempted to set up the same rules for the other side.
Thanks in advance!