Hello,
Please help me write an IFformula:
Cell B1 must equal A1. If not, return a red border around cell B1.
Thank you in advance.
Hello,
Please help me write an IFformula:
Cell B1 must equal A1. If not, return a red border around cell B1.
Thank you in advance.
that would be done with conditional formating, use the formula
=B1<>A1
in your conditional format, then set a red border.
If you liked my solution, please click on the Star -- to add to my reputation
If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.
Sorry the solution did not work. I've attached a sample spreadsheet. Thank you.
What cells are you trying to compare? Cell A1 = "Pay Period" and Cell B1 = "Start" as these are text, i don't suspect this is the cells you meant.
in the attached spreadsheet I am trying to compare total hours worked and total hours paid.
shade total hours paid red if it does not equal total hours worked
thank you
Alright, I went ahead and did the conditional formatting.
All you have to do in the real version is add a conditional formatting rule to the "total hours paid" cells using the rule type "Use a formula to determine which cells to format". Then use the formula "= (total hours paid cell) <> (total hours worked cell)" ie... =V8<>I8. Then set the format to a red border, red highlight, or whatever you want when the result is true.
Thank you this worked
no problem,
could you please mark this thread as solved? To do so, go to thread options at the top, and select mark as solved.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks