GOOGLE SHEETS: Formula for elapsed dates

chammy

New Member
Joined
Aug 8, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Web
Hi, I'm trying to edit a spreadsheet where we have a column for 'date sent' (A)!!, and a column for 'date received back'(B).
I am trying to make it so that if a date is elapsed by 5 days, the cell turns orange. If the date passes by 10 days I would like it to turn red.
If possible, I would also like to make it so that if there is a date entered in column B, column A turns back to white.
Here is an example of how I would like it to look:
IMG-20240809-WA0005.jpg
Thank you in advance!
Note: I am using Google Sheets, Not sure how much of a difference this makes.
 
Last edited by a moderator:

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I think you want to check out Conditional Formatting. In Google Sheets, you can search the menu with the first spyglass looking icon. Your first formula is just a =isblank(b2) and you set the format as desired. Then add a formula that just takes =b2-b1>10 and format that to Red. Hope that works for you.
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,157
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top