leopardhawk
Well-known Member
- Joined
- May 31, 2007
- Messages
- 611
- Office Version
- 2016
- Platform
- Windows
Cell C1 has the name 'Bob' in it and cell D1 has the name 'Sue' in it (without quotes).
The formula below is returning 'Bob combined net income (before retirement)' just as it should and if C1 is blank, it is returning 'Name & Spouse/Partner combined net income (before retirement)'. This is all good.
I need help to modify the formula so that it returns both names, Bob & Sue, so that the result would be 'Bob & Sue combined net income (before retirement)'. I keep running into errors, maybe from the ampersand between the two names? Or from where I am placing the double-quotes? I would prefer to have the ampersand between the two names if possible. Could sure use some help.
Appreciate any advice.
The formula below is returning 'Bob combined net income (before retirement)' just as it should and if C1 is blank, it is returning 'Name & Spouse/Partner combined net income (before retirement)'. This is all good.
I need help to modify the formula so that it returns both names, Bob & Sue, so that the result would be 'Bob & Sue combined net income (before retirement)'. I keep running into errors, maybe from the ampersand between the two names? Or from where I am placing the double-quotes? I would prefer to have the ampersand between the two names if possible. Could sure use some help.
Code:
=IF(C1=0,"Name & Spouse/Partner combined net income (before retirement)",C1&" combined net income (before retirement)")
Appreciate any advice.