#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default IF Statements

I have in my spreadsheet a number for Budget and a space for putting in
amounts spent. I have an IF statement which displays the words "YOU HAVE
EXCEEDED THE BUDGET FOR THIS SUB-PROJECT" if the amounts spent exceed budget.
Is it possible to use the IF statement to display a red flag when this
happens?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default IF Statements

Actually, you want to use conditional formatting (Format - Conditional Format)

Either set the cell to display red (either change font color, or pattern)
when those words or displayed, or use a formula with something like
=A1<B1

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Ben Joseph" wrote:

I have in my spreadsheet a number for Budget and a space for putting in
amounts spent. I have an IF statement which displays the words "YOU HAVE
EXCEEDED THE BUDGET FOR THIS SUB-PROJECT" if the amounts spent exceed budget.
Is it possible to use the IF statement to display a red flag when this
happens?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default IF Statements

Thanks Luke. This worked just like you explained.

"Luke M" wrote:

Actually, you want to use conditional formatting (Format - Conditional Format)

Either set the cell to display red (either change font color, or pattern)
when those words or displayed, or use a formula with something like
=A1<B1

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Ben Joseph" wrote:

I have in my spreadsheet a number for Budget and a space for putting in
amounts spent. I have an IF statement which displays the words "YOU HAVE
EXCEEDED THE BUDGET FOR THIS SUB-PROJECT" if the amounts spent exceed budget.
Is it possible to use the IF statement to display a red flag when this
happens?

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
Mid Statements kgiddens Excel Worksheet Functions 4 July 21st 08 10:05 PM
if statements Harley Excel Discussion (Misc queries) 2 March 6th 08 02:18 PM
Help with IF statements Lil Excel Worksheet Functions 0 May 4th 07 06:02 AM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
If statements... Neil Excel Worksheet Functions 2 October 20th 05 05:16 PM


All times are GMT +1. The time now is 12:02 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"