View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
David
 
Posts: n/a
Default Can you put a formula in the middle of text?

cereldine wrote


would the same formula/method apply for making a chart haeading label
responsive?

My chart is driven by the vaue of A1 which is defined by a combo box. I
would like the chart heading to look something like

= "estimated VAT For" & A1



The way I accomplished this was to tuck the source for the chart title away
in a cell (say B30) in a hidden row (30) and then refer the chart title box
to that:
B30 ="estimated VAT For" & A1
Chart Title reference: =Sheet1!B30 <--Sheetname needed for some reason.
Once you place your formula in the cell you will eventually hide (for
cosmetic reasons), you can click the Chart Title box, type =, and click the
cell with the formula and the sheet name will automatically be added.
Hope I haven't confused you too much.

--
David