Combine Text & Cell Reference, shape text box

ilcaa

Well-known Member
Joined
May 25, 2005
Messages
751
Office Version
  1. 365
Platform
  1. Windows
i dragged a shape text box onto a chart. I want to display text and cell reference..

i select the shape textbox, formula bar ="QTD" & $i$96" error: "The Formula is missing a range reference or a defined name"

alone cell reference works fine.. how do i make this work. thanks
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Select an empty cell, for example, let's say that's Z1.
In Z1 enter ="QTD"&$I$96
Select the textbox and press F2 key to place the cursor in the formula bar
enter =Z1 and press enter
 
Upvote 0
Solution
Select an empty cell, for example, let's say that's Z1.
In Z1 enter ="QTD"&$I$96
Select the textbox and press F2 key to place the cursor in the formula bar
enter =Z1 and press enter
oh so everything needs to be in the cell, cant concat within formula bar with shape text....got it! thanks
 
Upvote 0
oh so everything needs to be in the cell, cant concat within formula bar with shape text....got it! thanks
Select an empty cell, for example, let's say that's Z1.
In Z1 enter ="QTD"&$I$96
Select the textbox and press F2 key to place the cursor in the formula bar
enter =Z1 and press enter

You are welcome - thanks for the reply.

is there a way to enter a newline char in this cell to display in shape textbox as newline... i entered 'alt+enter' in cell it shows as newline but not in textbox...thanks
 
Upvote 0
is there a way to enter a newline char in this cell to display in shape textbox as newline... i entered 'alt+enter' in cell it shows as newline but not in textbox...thanks
In Z1: ="QTD"&CHAR(10)&$I$96
 
Upvote 0

Forum statistics

Threads
1,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top