Hi,
I have a worksheet with several columns and 500 rows, I need a VBA script or formula that will check one of 3 conditions
the cells are B3 H3 N3 the key cell is N3
1- if N3 contains the word ball then check the conditions of B3 and H3 and proceed to set 2 and 3. if not, then do nothing
2- If N3 contains the word "ball" and B3 contains "P1" and H3 is "=<2:00:00" hours then set H3 cell fill color to green; but if H3 is >2:00:00 set H3 fill color to Red
or if cell B3 contains "P2"
3- If N3 contains the word "ball" and B3 contains "P2" and H3 is "=<6:00:00" hours then set H3 cell fill color to green; but if H3 is >6:00:00 set H3 fill color to Red
once it check row 3 I need it to then check all the rows in the sheet and run the code as required
Bookmarks