VBA to check correct data

Hello Experts,

I am looking for a VBA script to check column A_Material Name = column B_Manufacturer + column C_Model.

1.   If column A is NOT = column B + column C, please highlight these rows in yellow.
2.   If column A is  = column B + column C, please prompt a message " All data in column A_Material Name are cleared"
Attached is the sample.

Please help.  Thank You in Advance !
Kathryn TranAsked:
Who is Participating?

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

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.

Pawan KumarDatabase ExpertCommented:
ShumsExcel & VBA ExpertCommented:
Hi Kathryn,

Will formula solution work for you? Please check attached...

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
Rob HensonFinance AnalystCommented:
Formula in column D to check:

=A2=B2&" "&C2

Result will show TRUE or FALSE

Formula in E1 to show count of errors:

=IF(COUNTIF(D:D,FALSE)=0,"All data in column A_Material Name are cleared",COUNTIF(D:D,FALSE)&" items outstanding.")

Conditional formatting on data columns to highlight yellow when column D = FALSE:


Applies to Range:  =$A$2:$D$27544

See attached file.

If you really want a VBA routine then I can work on it.
Kathryn TranAuthor Commented:
This works perfectly.  Thanks so much Shums for your quick and kind help !
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 Applications

From novice to tech pro — start learning today.