Solved

CONDITIONAL FORMAT FORMULA

Posted on 2012-03-30
4
531 Views
Last Modified: 2012-08-14
Hi,

In column "E" I need to add a Conditional Format Formula that higlight the cell in red when the value format typed is NOT as need it.

The values un column "E" must be like this:  J-31473021-5
(Letter "J" or "G" followed by "-" then 8 numbers then "-" and finally 1 number).

¿There is a way to do it ?

Thank you in advance for your help.

Regards,
Roberto.
0
Comment
Question by:Pabilio
  • 2
4 Comments
 
LVL 11

Expert Comment

by:netballi
ID: 37786493
Depending on you excel version you can do it via menu bar. following link should help in understanding the different condition you can use conditional formatting.


http://www.contextures.com/xlcondformat03.html
0
 
LVL 5

Author Comment

by:Pabilio
ID: 37786511
Hi,

Thanks for the link netballi, it has nice conditional format samples... But I still  have no idea on how the formula that I need should be ?.

Regards,
Roberto.
0
 
LVL 50

Accepted Solution

by:
teylyn earned 500 total points
ID: 37786522
Hello,

select column E, add a condition that is based on a formula (in 2007 and later it is called a new rule and "use a formula to determine...") and enter

=NOT(AND(OR(LEFT(E1,1)="J",LEFT(E1,1)="G"),MID(E1,2,1)="-",ISNUMBER(MID(E1,3,8)+0),MID(E1,11,1)="-",ISNUMBER(RIGHT(E1,1)+1)))

Select a format and click OK. See attached.

cheers, teylyn
Book1.xlsx
0
 
LVL 5

Author Closing Comment

by:Pabilio
ID: 37786551
Dear Teylyn,
I wish that God Blesses each neuron and synapse of your brain.
The formula is just as need it.
Thank you VERY much !!.
Roberto.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now