I need help making a scrip on google sheets spread sheet note its not excel is it…
- User
I need help making a scrip on google sheets spread sheet note its not excel is it possible to make a red or green colored notification weather its been 12 hours since a referenced time
Assistant
Yes, it's definitely possible to create a colored notification in Google Sheets that turns red or green based on whether it's been 12 hours since a referenced time. Here's how to do it with conditional formatting:
- Select the cell(s) you want to change color
- Click Format → Conditional formatting
- Under "Format rules" choose "Custom formula is"
- For the formula, use something like:
=NOW()-A1>=0.5(where A1 contains your reference time and 0.5 represents 12 hours as a fraction of a day) - Set the formatting style to fill the cell with green
- Add another rule with the formula:
=NOW()-A1<0.5 - Set this formatting style to fill the cell with red
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.