Formula Assistance
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
I 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:
- Select the range of cells in column B where you want the conditional formatting to apply (e.g., B2:B100).
- Click on "Conditional Formatting" in the toolbar.
- In the dropdown menu, select "New Rule".
- Choose "Use a formula to determine which cells to format".
- Enter the following formula in the formula box:
=AND(NOT(ISBLANK(B2)), B2-TODAY()<=2, B2-TODAY()>=0, C2<>"Completed")
- Choose the desired formatting options (e.g., red background color).
- Click "Done" or "Apply".
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.