Solved

CONDITIONAL FORMAT FORMULA

Posted on 2012-03-30
4
537 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:
Ingeborg Hawighorst 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

772 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