Color formatting within a formula.

omkar94

New Member
Joined
Apr 26, 2017
Messages
24
Hello Guys,

Need some help on this one.

This is my formula =TEXT("3rd (E-L) / ","[Grey]#")&IF(MONTH($A$15)=12,10,5)&"th business day by 5 p.m."
This is what it displays = 3rd (E-L) / 5th business day by 5 p.m.

This is how i want it to display= 3rd (E-L) / 5th business day by 5 p.m.

I want the "3rd (E-L)" to be in grey.

I tried using the text formula, but no luck.

Please help!!! And no macros/vba please.

Thanks.
 
Last edited:

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
59,980
Office Version
  1. 365
Platform
  1. Windows
AFAIK you cannot do that without VBA.
 

philwojo

Well-known Member
Joined
May 10, 2013
Messages
533
I can confirm what Fluff said, i had asked this before, other than VBA there is now way to do it in Excel, CF can't do it either.
 

omkar94

New Member
Joined
Apr 26, 2017
Messages
24
Thanks guys, for the help.
Can you please help me with the vba code then?
 

Forum statistics

Threads
1,136,435
Messages
5,675,849
Members
419,587
Latest member
leronardo092004

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
Top