Hello.
I have a problem that I can not solve. I am not VBA-savvy but more of av excelnoob, nevertheless I got it...
We have an excelsheet with the data (a lokal adressbook) that contains names and adresses. Columns and rows look like this:
Housenumber SurName1 FirstName1 SurName2 FirstName2 phone
10 Jones Jill Peter 123456
12 Doe Jen Brown Dean 234567
14 Smith Bella 345678
...
What we see is that some people are married, some are not and some are singles. Some are null depending on marital (?) status.
If they are married I need to have an outputrow that looks like this:
No 10, Jill & Peter Jones, 123456
If they are not married I need to have an output row that looks like this:
No 12, Jen Doe & Dean Brown, 234567
If they are single I need to have an outputrow that looks like this:
No 14, Bella Smith, 345678
I have tried to do some IF-statements but they get heavily nested.
Please help...
/Pat
I have a problem that I can not solve. I am not VBA-savvy but more of av excelnoob, nevertheless I got it...
We have an excelsheet with the data (a lokal adressbook) that contains names and adresses. Columns and rows look like this:
Housenumber SurName1 FirstName1 SurName2 FirstName2 phone
10 Jones Jill Peter 123456
12 Doe Jen Brown Dean 234567
14 Smith Bella 345678
...
What we see is that some people are married, some are not and some are singles. Some are null depending on marital (?) status.
If they are married I need to have an outputrow that looks like this:
No 10, Jill & Peter Jones, 123456
If they are not married I need to have an output row that looks like this:
No 12, Jen Doe & Dean Brown, 234567
If they are single I need to have an outputrow that looks like this:
No 14, Bella Smith, 345678
I have tried to do some IF-statements but they get heavily nested.
Please help...
/Pat