ExcelEngieer
New Member
- Joined
- Aug 28, 2014
- Messages
- 3
Hi,
First post here so go easy on the (possibly) stupid question.
I'm attempting to use conditional formatting to identify and highlight incorrect entries on a sheet, the entries are numeric and alphabetic, I have the numeric one working how I want it to but the alphabetic is just returning an error.
The Numeric conditioning:
=NOT(OR($G$7=" ",$G$7=1, $G$7=2, $G$7=4, $G$7=8, $G$7=12, $G$7=24, $G$7=48, $G$7=96))
Works and returns a change in colour as expected.
These return a formula error, and I'm not sure why?:
=NOT(OR($H$7=" ", $H$7="ME”, $H$7="OP”, $H$7="EL”, $H$7="CO”))
=NOT(OR($J$7=" ", $J$7=“YES”, $J$7=“NO”))
=NOT(OR($L$7=" ", $L$7=“PM”, $L$7=“PDM”, $L$7=“CM”))
And this (Intending to be used to display a previously hidden error message if there are any incorrect values entered) doesn't work either, it doesn't display an error but doesn't function to change the cell format:
=NOT(OR($G$7:$G$21=" ",$G$7:$G$21=1, $G$7:$G$21=2, $G$7:$G$21=4, $G$7:$G$21=8, $G$7:$G$21=12, $G$7:$G$21=24, $G$7:$G$21=48, $G$7:$G$21=96))
Any help would be greatly appreciated, If I haven't been clear enough pleas let me know and I will try to elaborate.
Regards,
Joe
First post here so go easy on the (possibly) stupid question.
I'm attempting to use conditional formatting to identify and highlight incorrect entries on a sheet, the entries are numeric and alphabetic, I have the numeric one working how I want it to but the alphabetic is just returning an error.
The Numeric conditioning:
=NOT(OR($G$7=" ",$G$7=1, $G$7=2, $G$7=4, $G$7=8, $G$7=12, $G$7=24, $G$7=48, $G$7=96))
Works and returns a change in colour as expected.
These return a formula error, and I'm not sure why?:
=NOT(OR($H$7=" ", $H$7="ME”, $H$7="OP”, $H$7="EL”, $H$7="CO”))
=NOT(OR($J$7=" ", $J$7=“YES”, $J$7=“NO”))
=NOT(OR($L$7=" ", $L$7=“PM”, $L$7=“PDM”, $L$7=“CM”))
And this (Intending to be used to display a previously hidden error message if there are any incorrect values entered) doesn't work either, it doesn't display an error but doesn't function to change the cell format:
=NOT(OR($G$7:$G$21=" ",$G$7:$G$21=1, $G$7:$G$21=2, $G$7:$G$21=4, $G$7:$G$21=8, $G$7:$G$21=12, $G$7:$G$21=24, $G$7:$G$21=48, $G$7:$G$21=96))
Any help would be greatly appreciated, If I haven't been clear enough pleas let me know and I will try to elaborate.
Regards,
Joe
Last edited: