Formulas to highlight cell if condition is met

  • Thread starter Thread starter hmmm
  • Start date Start date
H

hmmm

i wonder if there is any way i can highlight a cell if a condition is
met?

eg i want to highlight the cell if the num in the cell is greater than
1. do i hv tio use macros?
 
No you can use conditional formatting

Select the cell
Menu Format>Conditional Formatting
Set to greater than
Set value to 1
Click the Format button
Select the Pattern Tab
Select an appropriate highlighting colour
OK


You could even use Data validation to not allow entry of greater than 1

Select the cell
Menu Data>Validation
Change ALlow to Decimal
Change the operator to Less than or equal to
Set a value of 1
OK

With DV, you can even set your own error message.


--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top