Forum Discussion

a_bonsey's avatar
a_bonsey
Brass Contributor
Apr 20, 2022
Solved

Data Validation for previous rows

Hi All, I'm trying to avoid using VBA as this will cause issues when sharing with clients so looking for a solution (if possible) using data validation.   I have users entering data as follows: C...
  • Lorenzo's avatar
    Lorenzo
    Apr 20, 2022

    a_bonsey 

     

    Re. We're currenthly validating LEN>0 if that helps
    If the SUMPRODUCT formula previously shared does what you want with regard to columns C,F,H no update is required

     

    Can that code also include a check that columns B-H cannot be populated unless A is also populated?

    A different Data Validation rule must apply to columns B-H then:

     

    With the above example

    - Select B2:H16

    - Data Validation rule Custom: =$A2 <> "" AND uncheck option Ignore blank:

     

    Sample updated and attached

Resources