Solved

conditional formatting formula error

Posted on 2016-11-15
4
23 Views
Last Modified: 2016-11-15
Hi Experts using excel 2010

I have the following formula applying to cell U4

=And(X4<>"",Y4="C")
In cell X4 I have a date in the format 12/04/16 and cell Y4 text C..

Cannot get the CF to work.
0
Comment
Question by:route217
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
Missus Miss_Sellaneus earned 500 total points
ID: 41888229
Is it giving you an error? What are the data types for X4 and Y4?

Break it down. Put =X4<>"" in one free call and =Y4="C" in another free cell. What are the results?
0
 

Author Comment

by:route217
ID: 41888244
Solved
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 41888251
If you copy the whole formula into a spare cell, the result has to be TRUE for the CF to work.

I suspect the issue is with cell Y4, if the cell has "C" and leading or trailing spaces comparing to just "C" will give False result.

If X4 contains anything, date or other value, checking against <>"" will give TRUE.
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 41888276
Out of interest, and completeness for the thread, what was the issue in the end?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
highlight duplicate entry 16 30
How to add the word OR to the front of each Excel value 4 36
Excel Score Formula 5 49
Copy value from a certain cell 5 24
Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

896 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

11 Experts available now in Live!

Get 1:1 Help Now