can you format part of a formula return bold?

Cloverken

Active Member
Joined
Feb 18, 2002
Messages
271
Hi All,

I was trying to figure out without VBA if you can format bold part of a result from a formula. such as

=If(A1>100,"Mr"&" Smith","")

the formula result would be Mr Smith if cell A1 is 101.

Can I make the "Mr" of this return BOLD and the Smith regular such as.

Mr Smith

Thanks
Ken
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

tactps

Well-known Member
Joined
Jan 20, 2004
Messages
3,460
Without VBA the only way would be to break this formula into 2 columns and bold the first:
=If(A1>100,"Mr","") in cell B1 (bolded)
=If(A1>100," Smith","") in cell C1 (normal)
 

Forum statistics

Threads
1,147,844
Messages
5,743,512
Members
423,800
Latest member
IuneKeiki

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