Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Abi
 
Posts: n/a
Default Bolding with formulas and "if/thens"

#1. Can I bold part of a cell that contains a formula? The cell is text,
formula, text, and I need the information that is returned by the formula
bolded, if possible.

#2. I have a cell on a sheet that merely pulls info from a second sheet -
no calculations or anything fancy, just:

Sheet2, Cell B1 has the formula ='sheet1'!A1

What I'd like to do is make a conditional format for this cell, but I'm not
sure how to do it with the conditional formatting tool.

In plain english, I want the formula to say:

"Bring the information over from sheet1, A1. If, in any of the information
hat is brought over, it contains the word ZONE, bold this entire cell. If it
does not contain the word ZONE, treat it normally.

Can I do this? thanks!
  #2   Report Post  
Dave R.
 
Posts: n/a
Default

Select the range of cells where you want the formatting done, say A1:A10 in
this example. Formatconditional formattingformula is
=ISNUMBER(SEARCH("ZONE",A1))

If you want to find only upper case ZONE, change SEARCH above to FIND.

The formula in the cell itself would be =Sheet1!A1 (i.e., what brings "zone"
over or not).



"Abi" wrote in message
...
#1. Can I bold part of a cell that contains a formula? The cell is text,
formula, text, and I need the information that is returned by the formula
bolded, if possible.

#2. I have a cell on a sheet that merely pulls info from a second sheet -
no calculations or anything fancy, just:

Sheet2, Cell B1 has the formula ='sheet1'!A1

What I'd like to do is make a conditional format for this cell, but I'm

not
sure how to do it with the conditional formatting tool.

In plain english, I want the formula to say:

"Bring the information over from sheet1, A1. If, in any of the

information
hat is brought over, it contains the word ZONE, bold this entire cell. If

it
does not contain the word ZONE, treat it normally.

Can I do this? thanks!



  #3   Report Post  
Abi
 
Posts: n/a
Default

Thanks!

"Dave R." wrote:

Select the range of cells where you want the formatting done, say A1:A10 in
this example. Formatconditional formattingformula is
=ISNUMBER(SEARCH("ZONE",A1))

If you want to find only upper case ZONE, change SEARCH above to FIND.

The formula in the cell itself would be =Sheet1!A1 (i.e., what brings "zone"
over or not).



"Abi" wrote in message
...
#1. Can I bold part of a cell that contains a formula? The cell is text,
formula, text, and I need the information that is returned by the formula
bolded, if possible.

#2. I have a cell on a sheet that merely pulls info from a second sheet -
no calculations or anything fancy, just:

Sheet2, Cell B1 has the formula ='sheet1'!A1

What I'd like to do is make a conditional format for this cell, but I'm

not
sure how to do it with the conditional formatting tool.

In plain english, I want the formula to say:

"Bring the information over from sheet1, A1. If, in any of the

information
hat is brought over, it contains the word ZONE, bold this entire cell. If

it
does not contain the word ZONE, treat it normally.

Can I do this? thanks!




  #4   Report Post  
Myrna Larson
 
Posts: n/a
Default

As to your first question, I believe the answer is no.

On Mon, 10 Jan 2005 08:31:07 -0800, Abi wrote:

#1. Can I bold part of a cell that contains a formula? The cell is text,
formula, text, and I need the information that is returned by the formula
bolded, if possible.

#2. I have a cell on a sheet that merely pulls info from a second sheet -
no calculations or anything fancy, just:

Sheet2, Cell B1 has the formula ='sheet1'!A1

What I'd like to do is make a conditional format for this cell, but I'm not
sure how to do it with the conditional formatting tool.

In plain english, I want the formula to say:

"Bring the information over from sheet1, A1. If, in any of the information
hat is brought over, it contains the word ZONE, bold this entire cell. If it
does not contain the word ZONE, treat it normally.

Can I do this? thanks!


  #5   Report Post  
Alex Obese-Jecty
 
Posts: n/a
Default

Try this:
- Select cell B1 which contains the formula: ='sheet1'!A1
- Select Format--Conditional Formatting. Click on the Drop down list just
below Condition 1 and select: Formula is
- In the field to the right type the formula: =NOT(ISERROR(FIND("zone",
B1,1))) and choose the desired formatting

The formula in the conditional format is looking for the string "zone" in
the cell B1. If it exists then there is no error returned (not(iserror))
and the condition is met and you get the desired formatting. Of course the
converse also applies.

If you want to copy this format to other cells, beware that B1 is relative
and you may need to fix a row or column with $ as desired.

HTH,
Alex

"Myrna Larson" schrieb im Newsbeitrag
...
As to your first question, I believe the answer is no.

On Mon, 10 Jan 2005 08:31:07 -0800, Abi
wrote:

#1. Can I bold part of a cell that contains a formula? The cell is text,
formula, text, and I need the information that is returned by the formula
bolded, if possible.

#2. I have a cell on a sheet that merely pulls info from a second sheet -
no calculations or anything fancy, just:

Sheet2, Cell B1 has the formula ='sheet1'!A1

What I'd like to do is make a conditional format for this cell, but I'm
not
sure how to do it with the conditional formatting tool.

In plain english, I want the formula to say:

"Bring the information over from sheet1, A1. If, in any of the
information
hat is brought over, it contains the word ZONE, bold this entire cell. If
it
does not contain the word ZONE, treat it normally.

Can I do this? thanks!




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"