Avatar of Bill Golden
Bill Golden
Flag for United States of America asked on

Inserting the value of a cell within a text cell in Excel

I have a text cell, for example purposes, A4, that reads:

'Using [   ]Discounted  [   ]Cash Flow  [   ]Both

IF, A1 has an "X" in the cell, I want the line to read...

'Using [ X ]Discounted  [   ]Cash Flow  [   ]Both

IF, A2 has an "X" in the cell, I want the line to read...

'Using [ X ]Discounted  [ X ]Cash Flow  [   ]Both

IF BOTH, A1 and A2 have "X"s in their respective cell, I want the line to read...

'Using [   ]Discounted  [   ]Cash Flow  [ X ]Both

Because of this spreadsheet being used by different versions of Excel, I DO NOT want to use a script or any add-in language.  I know the cell will be somewhat convoluted but it is the best I can do given the task.
Microsoft ExcelSpreadsheetsOffice Productivity

Avatar of undefined
Last Comment
Bill Golden

8/22/2022 - Mon
Matthew Kelly

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Bill Golden

After playing with the formula just a little (the default with nothing checked had Both checked as the default) it worked.  

Thanks, I have two more to work out which I will post if I cannot reason them out with what I learned by your solution.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck