How do you use text in a formula so it will calc, but ignores txt

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I thought there use to be a way to put text/info/label next to a number in a
formula that would still let it calculate but just ignore the text? In other
words, just in a simple formula like 2+3, you could type text next to each
number and the cell would still say 5?
I'm working with XP right now and maybe that feature does not exist anymore?
 
You could do a custom format, such as "abc-"0
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com



RLP said:
I thought there use to be a way to put text/info/label next to a number in a
formula that would still let it calculate but just ignore the text? In other
words, just in a simple formula like 2+3, you could type text next to each
number and the cell would still say 5?
I'm working with XP right now and maybe that feature does not exist
anymore?
 
RLP

Try this....

=2+3+n("my wage+bonus-4 weekly loan repayments")

You will see the text in the formula bar but not in the cell.

The cell will calculate to 5 as you wish.

Note: you can also use cell references as in

=A2*A1+N("my wage+bonus-4 weekly loan repayments")

You could alternatively use a cell Comment to display the text.


Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top