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


<colgroup><col width="42"></colgroup><tbody>
</tbody>
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,214,419
Messages
6,119,389
Members
448,891
Latest member
tpierce

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