If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 How do you create IF function with YES/NO, and Color fill
 Author Name Remember Me? Password
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## How do you create IF function with YES/NO, and Color fill

 Thread Tools Display Modes
#1
April 11th 08, 07:50 PM posted to microsoft.public.excel.worksheet.functions
 Brandon external usenet poster Posts: 58
How do you create IF function with YES/NO, and Color fill

How do you create an IF function to color fill a cell with, for example,
green if YES is entered, or red if NO is entered?? For example: IF(I3:I120,
"YES" THEN COLOR=0,176,80) and IF(I3:I120, "NO" THEN COLOR=255,0,0).

thanks,
Brandon
#2
April 11th 08, 08:16 PM posted to microsoft.public.excel.worksheet.functions
 Bob Phillips external usenet poster Posts: 10,594
How do you create IF function with YES/NO, and Color fill

Use conditional formatting.

See http://www.contextures.com/xlCondFormat01.html

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Brandon" > wrote in message
...
> How do you create an IF function to color fill a cell with, for example,
> green if YES is entered, or red if NO is entered?? For example:
> IF(I3:I120,
> "YES" THEN COLOR=0,176,80) and IF(I3:I120, "NO" THEN COLOR=255,0,0).
>
> thanks,
> Brandon

#3
April 11th 08, 09:00 PM posted to microsoft.public.excel.worksheet.functions
 Dave external usenet poster Posts: 1,389
How do you create IF function with YES/NO, and Color fill

Hi,
Excel has no built-in "Color" function, (that I know of). You could write
one, but Conditional Formatting is easier.
Dave.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

 Similar Threads Thread Thread Starter Forum Replies Last Post Excel Function make calculations using fill color as identifier? wccjr Excel Worksheet Functions 2 August 3rd 07 09:40 PM Can you do an IF function whether a cell has a fill color of Rose Kays Excel Question Excel Worksheet Functions 3 December 27th 05 08:49 PM color fill cells based on IF function or formula Victor Jones Excel Worksheet Functions 1 November 23rd 05 03:17 PM Fill Color with Keyboard Function Matt Cromer Excel Discussion (Misc queries) 5 November 4th 05 05:29 PM Using boolean function for color fill Kanchi Excel Worksheet Functions 2 September 7th 05 01:19 AM

All times are GMT +1. The time now is 10:40 PM.

 - Contact Us - ExcelBanter forum home - FAQ - Links - Privacy Statement - Top