Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default if statement and cell formatting

Hi everyone
Here is what I'm trying to do,
I have that spreadsheet and I need to make a if statement for a cell
that will compare 2 other cell and change the background color to
yellow whenever cell1 0.8*cell2.

thx for your help

malpropio.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default if statement and cell formatting

You'll have to use conditional formatting. Assuming that cell 1 is A1,
Cell 2 is A2, and the cell with the formatting is A3. Select cell A3
and then go to Format-Conditional Formatting and pick 'Formula Is"
and type the formula:
=A10.8*A2
The click the Format button, got to patterns and pick the color you
want the cell to be.

On Mar 13, 1:17 pm, "malpropio" wrote:
Hi everyone
Here is what I'm trying to do,
I have that spreadsheet and I need to make a if statement for a cell
that will compare 2 other cell and change the background color to
yellow whenever cell1 0.8*cell2.

thx for your help

malpropio.



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell Formatting of a Conditional Statement RobFJ[_4_] Excel Worksheet Functions 3 April 27th 10 10:44 AM
Cell formatting and if statement Cortez Excel Discussion (Misc queries) 3 February 12th 08 09:35 PM
IF statement and color formatting for cell B1 for condition in A1 Rossta Excel Worksheet Functions 1 July 27th 06 12:37 AM
formatting a cell with a function (IF statement) Dreaming Excel Worksheet Functions 3 June 30th 05 02:26 AM
Formatting a cell with a function (IF statement) Dreaming Excel Worksheet Functions 2 June 30th 05 02:12 AM


All times are GMT +1. The time now is 11:07 AM.

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"