text and formula within the same cell

  • Thread starter Thread starter Lucy
  • Start date Start date
L

Lucy

Hi. I want to include text and formula within the same cell in Excel.
Does anyone know how I can do it?

I am trying to acheive (A4*B7)membership+(C3*D10)journals so it
appears as a number (say 100) but anyone looking at the formula can see
what it relates to.

Can anyone help please?

Thanks
 
=a4*b7 +N("membership") + c3*d10 +N("Journals")
works with numbers.

And something like:

=A1 & " " & b1 & TEXT("this is a comment",";;;")
will work when you want to return Text.
 
Maybe this.......

=A4*B7&" Membership + "&C3*D10 &" Journals"

Vaya con Dios,
Chuck, CABGx3
 
It would probably be better to use a standard formula like
=(A4*B7)+(C3*D10)
and then insert a comment to explain the formula (right click cell -> insert
comment). I don't think you can add notes to a formula inside the formula.
 
Sorry, I mis-read your post.....probably this will do as you wish.....

=(A4*B7)+(C3*D10)+N("Membership + Journals")


hth
Vaya con Dios,
Chuck, CABGx3
 
Sloth

It is possible to add explanatory notes inside a formula.

Look at Dave P's post or see below...........

=a2*a1+n("my wage+bonus-4 weekly loan repayments")

The text after the n will show in the formula bar but not in the cell.


Gord Dibben MS Excel MVP
 
Thank you to everyone who replied

Lucy

Gord said:
Sloth

It is possible to add explanatory notes inside a formula.

Look at Dave P's post or see below...........

=a2*a1+n("my wage+bonus-4 weekly loan repayments")

The text after the n will show in the formula bar but not in the cell.


Gord Dibben MS 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