if statement

hi experts, the following if statement is producing a "value error" and i dont understand why, could you assist?

=IF(AND(J3=$K$1,"now due",J3>$K$1,"overdue"),"")
Frank .SBuilding EstimatorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NorieAnalyst Assistant Commented:
Try this.

=IF(J3=$K$1,"now due",IF(J3>$K$1,"overdue",""))
Frank .SBuilding EstimatorAuthor Commented:
hi norie, thankyou and is there a way i can protect the column & hide the formula where i have this ifstatement?
Frank .SBuilding EstimatorAuthor Commented:
hi norie, i copy & pasted your formula down the same column but found all the cells would have the red background fill colors when it should only be the ones which meet the condition, please see screenshot below.

background fill to all cells
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

NorieAnalyst Assistant Commented:
Are you using conditional formula?

If you are what options/formula are you using?
Frank .SBuilding EstimatorAuthor Commented:
im not, please see screenshot below

screenshot 2
NorieAnalyst Assistant Commented:
Oops, I meant conditional formatting not conditional formula.
Frank .SBuilding EstimatorAuthor Commented:
i dont follow..
NorieAnalyst Assistant Commented:
I was correcting a typo in  previous post.
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
try upload a sample here?
Frank .SBuilding EstimatorAuthor Commented:
hi ryan chong, i have uploaded the file here for you.
protect---ifstatements_3.xlsx
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
you can modify the attached.

for your 3rd requirement:
3. all cells in column e are to be pwd protected so that the creator of this sheet can only enter data or change the data in this column, no other users can

check this out:

XL: How to Lock Individual Cells in a Worksheet
https://support.microsoft.com/en-us/help/214081/xl-how-to-lock-individual-cells-in-a-worksheet
protect---ifstatements_3_b.xlsx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.