May 01 2024 07:59 PM
Hi there
I would be grateful for some help with creating a formula please. I've attached a screenshot below.
I have a spreadsheet where staff enter each new job as it comes into the office. I want the cells in the Date Required column to automatically fill themselves as the staff member enters a date in the Date Received column. The date to automatically fill should be 14 days after the date entered in the Date Received column.
THEN we would like to quickly see which jobs in the Date Required column are about to come due. To do this we would like see the cell which is displaying a date within 2 days of todays date to turn red (background colour of the cell not the letters) unless the word 'Completed' is written in the Job Status column.
I trust this makes sense and hope someone can help me.
Thank you very much.
Kim
May 01 2024 09:29 PM
You can achieve both of these tasks using Excel formulas and conditional formatting.
Here is how you can do it:
=IF(A2<>"", A2+14, "")
=AND(B2<>"" , B2-TODAY()<=2, B2-TODAY()>=0, C2<>"Completed")
Now, the Date Required cells will automatically fill with a date 14 days after the Date Received column is filled, and cells in the Date Required column that are within 2 days of today's date will be highlighted in red, unless the corresponding Job Status cell in column C contains the word "Completed".
This setup should help you manage your job deadlines effectively.
AI was partially deployed to support the text.
*File with example is included.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark as best response and Like it!
This will help all forum participants.
May 05 2024 07:50 PM
Hi NikolinoDE
Thank you very much for your assistance. I have implemented your clear instructions. The automatic filling of the Date Required column is working however the Conditional Formatting isn't, ie. the cell isn't turning red when I'm within 2 days of the Date Required date being due. Looking into it further and your example I note that I'm using Excel in One Drive and your example appears to be not in One Drive. When I go to Conditional Formatting in Excel OneDrive I only see a few Rule Types (see examples below) so I chose Formula and then put the rule you gave me into the box provided. When I open the example you sent me on my desktop you see a different menu than you do. I'm wondering if this is the problem???? I have to use Excel via One Drive as this is a shared workbook.
I hope you can help me.
Thanks NikolinoDE.
Kind regards
Kim
May 05 2024 11:09 PM
SolutionI would like to point out that without minimal information from the beginning about the Excel version, operating system and storage medium, it is a guessing game that not everyone has the time to invest in. Without this minimal information it takes a lot of useless time.
Welcome to your Excel discussion space!
Anyway…
It sounds like you are encountering some limitations with conditional formatting in Excel Online (OneDrive).
Unfortunately, Excel Online does have some differences and limitations compared to the desktop version of Excel.
Conditional formatting in Excel Online is more limited in terms of the types of rules you can create compared to the desktop version. However, you should still be able to achieve your desired outcome with a formula-based rule.
Here is how you can adjust the formula for conditional formatting in Excel Online:
=AND(NOT(ISBLANK(B2)), B2-TODAY()<=2, B2-TODAY()>=0, C2<>"Completed")
This adjusted formula should work within the limitations of Excel Online and still achieve the desired result of highlighting cells within 2 days of the Date Required date, unless the corresponding Job Status cell contains the word "Completed".
If you continue to experience issues or if the provided solution doesn't meet your needs due to the limitations of Excel Online, you may need to consider alternative approaches or using the desktop version of Excel for more advanced conditional formatting.
May 06 2024 01:50 PM
May 05 2024 11:09 PM
SolutionI would like to point out that without minimal information from the beginning about the Excel version, operating system and storage medium, it is a guessing game that not everyone has the time to invest in. Without this minimal information it takes a lot of useless time.
Welcome to your Excel discussion space!
Anyway…
It sounds like you are encountering some limitations with conditional formatting in Excel Online (OneDrive).
Unfortunately, Excel Online does have some differences and limitations compared to the desktop version of Excel.
Conditional formatting in Excel Online is more limited in terms of the types of rules you can create compared to the desktop version. However, you should still be able to achieve your desired outcome with a formula-based rule.
Here is how you can adjust the formula for conditional formatting in Excel Online:
=AND(NOT(ISBLANK(B2)), B2-TODAY()<=2, B2-TODAY()>=0, C2<>"Completed")
This adjusted formula should work within the limitations of Excel Online and still achieve the desired result of highlighting cells within 2 days of the Date Required date, unless the corresponding Job Status cell contains the word "Completed".
If you continue to experience issues or if the provided solution doesn't meet your needs due to the limitations of Excel Online, you may need to consider alternative approaches or using the desktop version of Excel for more advanced conditional formatting.