![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Location: London, UK
Posts: 34
|
Using Excel 2000, how can I include formatting in cells that contain conditional statements?
eg =IF(A1=0,"fa","fb") where the characters 'a' and 'b' are a suffix, bold, or different fonts, etc. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Posts: 7,743
|
Budd,
You only want a or b to be formatted and not fa or fb by conditional formatting? |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Location: London, UK
Posts: 34
|
Its not important how much of the text is formatted, as this is only an example. However, whatever the solution proves to be, it must also work when the sheet is protected.
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
=OR(A1=0,A1="fa",A1="fb") Hope This Helps!
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|