Excel -- texting formatting issue in formula

Experts:

I am using text formatting in a formula.   Per attached XLS, the combination of cell referencing and text formatting results in some erroneous output.

That is, cell range H2:H4 has input values.   Once I include these references, however, the cell output differs.   The attached XLS provides more detail on this issue.

My question: Is there anything wrong with the **formatting** (text in formula) that causes the incorrect output?   If so, how can this be fixed?

Thanks,
EEH
Formatting-text-in-formula.xlsx
ExpExchHelpAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Try this....

="Y-bar = "&TEXT(K17,"#,###.#")&" + ("&TEXT(K18,"#,###.#")&") ("&H2&")"&" + ("&TEXT(K19,"#,###.#")&") ("&H3&")"&" + ("&TEXT(K20,"#,###.#")&") ("&H4&")"

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ExpExchHelpAuthor Commented:
Perfect!!!   Thank you so much for the prompt help... :)
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome. Glad I could help. :)
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

ExpExchHelpAuthor Commented:
I'm now working on similar configurations.   I already ran into a similar problem (again).   I compared the two formulae (yours and mine).   What exactly seemed to cause the problem?

EEH
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
The Text Formula has two argument like =TEXT(value,format_text). In your previous formula the text function was not properly closed.

If you want to compare both the formulas and identify the changes between them, format two cells on your worksheet as Text and paste both the formulas in these two cells, that way you can easily identify the difference in them.
0
ExpExchHelpAuthor Commented:
Copy that .... thank you sktneer.
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.