Jan 07 2019 06:28 AM
Hi,
I have created a formula which changes the colour of a cell depending on certain inputs on the worksheet. However, I need the cell to change colour from red to green and include the phrase "complete".
Is there a simple solution to the above issue?
The formula I use is: =IF(D5>0,IF(ISBLANK(I5),"Red","Green"),"white")
Thank you
Feb 10 2024 02:09 AM
If you have a similar problem, please provide detailed information about your setup, and if possible, attach a small sample workbook without sensitive information. Alternatively, upload it to for example Google Drive, OneDrive or Dropbox and post a link to the uploaded file in a reply.
Feb 10 2024 02:51 AM
Feb 10 2024 02:55 AM - edited Feb 10 2024 02:58 AM
Here goes.... I have no idea what I am doing but somehow continue to figure it out lol!! Here and YouTube are invaluable!!
Here is what I need -
In cell Z8 is the total hours worked. In Z9 I would like it to reflect total break time. Every 5 hours I deduct 0.5.
0-4 hrs worked - 0
5-9hrs - 0.5hrs
10-14hrs - 1hr
15-19hrs worked - 1.5hrs
20-24hrs worked - 2hrs
25-29hrs worked - 2.5hrs
30-34hrs worked - 3hrs
Does that make sense? Basically I need to show the total scheduled AND total break times - then cell AA8 would be =Z8-Z9.
Feb 10 2024 07:24 AM
Feb 10 2024 12:55 PM - edited Feb 10 2024 12:59 PM
@HansVogelaar
AMAZING....but.... I just realized -
I need to take .5 off for every 5 hours works but NOT on the total at end of week. Reason is - if someone works a 3 hours shift one day, and a 7 hour shift one day it takes off 1 whole hour when in reality they did not take a break on the 3hr shift and only 30 mins on the 7 hour shift. The formula reads the total as 10 hours so deducts two breaks....
SO SORRY if I just made this more complicated!!!
MANY MANY THANKS!!!!
Feb 10 2024 01:01 PM
In which cells do you record the hours worked per day?
Feb 10 2024 01:19 PM
Feb 10 2024 02:10 PM
thanks!
In X8:
=SUM(QUOTIENT(E7,5),QUOTIENT(H7,5),QUOTIENT(K7,5),QUOTIENT(N7,5),QUOTIENT(Q7,5),QUOTIENT(T7,5),QUOTIENT(W7,5))/2