H
Houston
This is my (disgustingly beginner's) function:
=IF(AND('Worksheet2'!A5:A12="", 'Worksheet2'!B5:B12=""), "Both Columns
Null", IF(AND('Worksheet2'!A5:A12<>"", 'Worksheet2'!B5:B12=""), "All of
column A range populated", "Some of Column B range populated"))
The important part is where I am specifying the range in a different
worksheet ('Worksheet2'!A5:A12="") and testing the cells for nulls. The rest
of the function is just retesting the same cells for different null
conditions and displaying different values in the field dependant on the
results. I am assuming that when I specify the range, Excel first calculates
the total value of the range, then tests that total value for a null?
If this assumption is correct, how can I tell Excel to test each cell on a
different worksheet within a range for a null value, without doing the
painstaking A5="", A6="", A7="", A8="", etc. Terribly error prone and a
maintenance nightmare, tell me what I'm doing wrong!
=IF(AND('Worksheet2'!A5:A12="", 'Worksheet2'!B5:B12=""), "Both Columns
Null", IF(AND('Worksheet2'!A5:A12<>"", 'Worksheet2'!B5:B12=""), "All of
column A range populated", "Some of Column B range populated"))
The important part is where I am specifying the range in a different
worksheet ('Worksheet2'!A5:A12="") and testing the cells for nulls. The rest
of the function is just retesting the same cells for different null
conditions and displaying different values in the field dependant on the
results. I am assuming that when I specify the range, Excel first calculates
the total value of the range, then tests that total value for a null?
If this assumption is correct, how can I tell Excel to test each cell on a
different worksheet within a range for a null value, without doing the
painstaking A5="", A6="", A7="", A8="", etc. Terribly error prone and a
maintenance nightmare, tell me what I'm doing wrong!