G
Guest
Hi can anyone help...
I am trying to validate a form so that the Data cannot be saved if all the fields have not been filled in on the form and will return an error message
How I have done this is to use If statement on each individual cell so that it returns a value of 0 or 1 dependant on whether the field is empty or not. (This works fine
Then what I want to do is sum the value of these cells with an If statement to return a value of 0 or 1 which can then be used with the validation macros I have set up to either save the data or not dependant on the conditions...
So I tried =IF(SUM(A1
1)=0,"1","0"
This didn't work and I thought it may have something to do with the SUM formul
So I tried =SUM(A1
1
now the range of A1
1 have their values assigned by the following IF Statement...
A1=IF(B32=0,"1","0"
Where B32 is one of the fields that must be filled in and so on and so forth and this works...
But when I try to sum the Range of A1
1 it always gives me a value of 0............
Can anyone hel
I am trying to validate a form so that the Data cannot be saved if all the fields have not been filled in on the form and will return an error message
How I have done this is to use If statement on each individual cell so that it returns a value of 0 or 1 dependant on whether the field is empty or not. (This works fine
Then what I want to do is sum the value of these cells with an If statement to return a value of 0 or 1 which can then be used with the validation macros I have set up to either save the data or not dependant on the conditions...
So I tried =IF(SUM(A1
![Stick Out Tongue :p :p](/styles/default/custom/smilies/tongue.gif)
This didn't work and I thought it may have something to do with the SUM formul
So I tried =SUM(A1
![Stick Out Tongue :p :p](/styles/default/custom/smilies/tongue.gif)
now the range of A1
![Stick Out Tongue :p :p](/styles/default/custom/smilies/tongue.gif)
A1=IF(B32=0,"1","0"
Where B32 is one of the fields that must be filled in and so on and so forth and this works...
But when I try to sum the Range of A1
![Stick Out Tongue :p :p](/styles/default/custom/smilies/tongue.gif)
Can anyone hel