• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Using Excel to validate data

SteveA

New Member
Hi - I'm trying to use excel to validate a column of data for 2 specific values. What I'd like to do is have one formula that looks at the cell range (j15:j503) and tests that range for 2 acceptable values either blank or the text string "xyz123". If all cells conform, display "Good" on the formula cell, if any cells don't conform display "Bad".
 
=IF(ROWS(J15:J503)=COUNTIF(J15:J503,"xyz123")+COUNTBLANK(J15:J503),"Good","Bad")
 
Back
Top