We have 3 columns of email addresses(student, home and work) in the report I need
case 1-sometimes column 1 or 2 might be empty, then I need 3rd email.
case 2- sometimes column 1 or 3 might be empty then I nedd 2nd email.
case 3-sometimes 1,2 or 1,3 or 2,3 columns are empty then I need the available one
case 4--- if all 3 columns have data , then I need all email adresses.
Can anyone help? I tried using isnull but I do not get if 2 columns are empty.
Please help, thanks