A cell with text and a formulae, then more text

Mabocat

Board Regular
Joined
Apr 20, 2011
Messages
74
I have a cell N40 with this info
After MG1 arrives at 3:30, then advise

What I would like is the 3:30 refer to a cell N33 which has a time based on a main cell N31 elsewhere
eg main cell N31 has 3:15, secondary cell N33 has this formulae =N31+TIME(0,15,0) which shows as 3:30 which is used in my sentence above so that if N31 is altered, both N33 & the time info in cell N40 also changes.

any ideas please?

Ron
[TABLE="width: 42"]
<colgroup><col width="42"></colgroup><tbody>[TR]
[TD="class: xl65, width: 42"]
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Code:
="After MG1 arrives at "& N33 & ", then advise"

EDIT: sorry that might now work because it's referring to a cell with time in it

EDIT EDIT: try this

Code:
="After MG1 arrives at "& TEXT(N33,"H:MM") & ", then advise"
 
Last edited:
Upvote 0
further to my question - how do I make the last bit of text after the "& TEXT(N33,"H:MM" formula , bold in format ?
 
Upvote 0
You can't make part of a cell bold with a formula. It can be done with VBA, but it would have to convert it to text and you would lose the formula.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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