?
Solved

Conditional Format Formula

Posted on 2013-01-04
8
Medium Priority
?
362 Views
Last Modified: 2013-01-05
Hi,

Attached is a sample file with a dummy data and the result as I need it.

I'm looking for a formula to highlight Green the cells when an ORDER (column "A") has ALL it`s items whit the STATUS "READY" (Column "D").

Could you help ?

Regards,
Roberto.
SAMPLE-FILE.xls
0
Comment
Question by:Pabilio
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 10

Expert Comment

by:etech0
ID: 38744484
Put this formula into another column:
=COUNTIFS(A:A,A4,D:D,"PRODUCTION")

Then use conditional formatting to highlight any rows where that columns value is zero.

Do you know how to do that?
0
 
LVL 13

Expert Comment

by:Shanan212
ID: 38744510
=COUNTIF($A$4:$A$33,$A4)=COUNTIFS($D$4:$D$33,"READY",$A$4:$A$33,$A4)

Select cell A4 and set conditional formatting with formula using the above
Then copy the cell A4's formats to rest of the cells (on A column)
See attached for example
SAMPLE-FILE.xls
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 38744996
Perhaps turn that round a little - you can do as Shannan212 suggests but with this shorter formula

=COUNTIFS(A:A,A4,D:D,"<>ready")=0

regards, barry
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 5

Author Comment

by:Pabilio
ID: 38745636
Hi,


I'm sorry that I did not give you some important details:

- We are using Excel 2003

- The CF should be for all Column "A" due that data comes from a Sql Database and it change a lot.

Due to this two conditions I can not use COUNTIFS or SUMIFS and (I believe) neither SUMPRODUCT

Any ideas ?

Thank you for your time.
Regards,
Roberto.
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 total points
ID: 38745680
Most Excel 2003 formulas (of the sort you need here) will be unable to reference the whole column. You can use a formula that would look at most of the column, but it's best to restrict it as much as you can. This will work in Excel 2003

=SUM((A$1:A$50000=A1)*(D$1:D$50000<>"ready"))=0

see attached

If you need more rows you can use all but one row of the spreadsheet, e.g. A1:A65535

regards, barry
SAMPLE-FILE-barry.xls
0
 
LVL 5

Author Comment

by:Pabilio
ID: 38745713
Thank you very much Barry...

I restricted the formula to 10,000 Rows...The formula works perfectly and it does not slow down the sheet calculations.

If is ok with you, I'll give the chance to the other experts in case they have a different solution.

Regards,
Roberto.
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 38745788
No problem

There are several similar ways I know of, e.g. this version with MATCH will also work

=ISNA(MATCH(1,(A$1:A$10000=A1)*(D$1:D$10000<>"ready"),0))

regards, barry
0
 
LVL 5

Author Closing Comment

by:Pabilio
ID: 38747224
Thank you very much Barry.
I wish you have a great and happy new year.
Regards,
Roberto.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

762 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