Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Data Validation & Conditional Formatting

I want to use data validation and conditional formatting together, so that...

1) the user is limited to entering a number = 0
2) if the value is 0 the cell is red
3) if the value is 0 the cell is green
4) if the value is nothing (blank) the cell stays the same.

I'm using Excel 2000, and can't seem to get the combination of these 2
things to give me the results I want. Any ideas?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 196
Default Data Validation & Conditional Formatting

Hi Shelly

1. Say it is A1:A100 you want to format this way, select A1:A100.
2. Go DataValidation and change to Custom and use:

=A1=0

and making sure "Ignore blanks" is checked click OK

3. Go FormatConditional Formatting and change to Formula Is
4. Type in

=AND(A1<"",A1=0)

and select format of red pattern
5. Add condition and go Formula Is and use:

=A10

and select format of green pattern.
6. Click OK. Your conditionaql formatting/validation should now be set!

Hope this helps!

Richard

Shelly wrote:
I want to use data validation and conditional formatting together, so that...

1) the user is limited to entering a number = 0
2) if the value is 0 the cell is red
3) if the value is 0 the cell is green
4) if the value is nothing (blank) the cell stays the same.

I'm using Excel 2000, and can't seem to get the combination of these 2
things to give me the results I want. Any ideas?

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Data Validation & Conditional Formatting

EXCELLENT! PERFECT! Thank you!!

"RichardSchollar" wrote:

Hi Shelly

1. Say it is A1:A100 you want to format this way, select A1:A100.
2. Go DataValidation and change to Custom and use:

=A1=0

and making sure "Ignore blanks" is checked click OK

3. Go FormatConditional Formatting and change to Formula Is
4. Type in

=AND(A1<"",A1=0)

and select format of red pattern
5. Add condition and go Formula Is and use:

=A10

and select format of green pattern.
6. Click OK. Your conditionaql formatting/validation should now be set!

Hope this helps!

Richard

Shelly wrote:
I want to use data validation and conditional formatting together, so that...

1) the user is limited to entering a number = 0
2) if the value is 0 the cell is red
3) if the value is 0 the cell is green
4) if the value is nothing (blank) the cell stays the same.

I'm using Excel 2000, and can't seem to get the combination of these 2
things to give me the results I want. Any ideas?

Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Data Validation & Conditional Formatting

Select your range
Conditonal Formatting
Conditon 1
Cell Value Is next tab select equal to next tab enter 0
format cell as red

Condition 2
Cell Value Is next tab select greater than next tab enter 0
format cell as green

"Shelly" wrote:

I want to use data validation and conditional formatting together, so that...

1) the user is limited to entering a number = 0
2) if the value is 0 the cell is red
3) if the value is 0 the cell is green
4) if the value is nothing (blank) the cell stays the same.

I'm using Excel 2000, and can't seem to get the combination of these 2
things to give me the results I want. Any ideas?

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Manual control of link updating for downloaded quotes? dk_ Excel Discussion (Misc queries) 9 November 15th 06 01:04 PM
data validation mattdsc Excel Worksheet Functions 4 July 26th 06 11:30 AM
data validation and formatting Laurie Excel Discussion (Misc queries) 1 May 2nd 06 03:18 AM
Conditional Formatting not applied to data exported from Access Mark A Excel Worksheet Functions 5 October 24th 05 12:11 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM


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