Questions tagged [google-sheets-dates]

Use for questions related to how Google Sheets handle dates, times, durations.

Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

When typing a date into cell as 12/24, parse it as Dec 1 2024, instead of Dec 24, 2020. (dd/dd to Month Year rather then Month Day)

Going to a new cell, if I type 07/22, if the column data format is set to a date, it interprets this to July 22, 2020 (where 2020 is the current year). I want it to use the 22 as the year, I don't ...
3
votes
2answers
52 views

How to get a difference of “X years, Y months, Z days” between two dates?

I have two dates: 29/05/2020 and today. How can I get a date diff of these 2 dates, in a meaningful format such as "Z years, X months, Y days" separating these dates? Ideally this should ...
0
votes
1answer
27 views

When setting a duration, hide the hours?

What I needed for a spreadsheets is specifically times "mm:ss.ms" for example: 00:30.522 (which is 1823 frames @59.7275fps). If possible, 30.522, but that's not a big deal. I was able to get ...
0
votes
2answers
58 views

How to get DATEVALUE to recognize RSS 2 pubDate (RFC822)?

My formula contains an RFC822 pubDate, e.g. as pulled from Google's RSS2 Feed. =DATEVALUE("Thu, 01 Oct 2020 10:00:00 +0000") but it results in Error DATEVALUE parameter 'Thu, 01 Oct 2020 10:...
1
vote
1answer
87 views

How to show Day of Week in Order by Day of Week in Google Sheets

I have the following formula that displays a total by Day of Week (weekday) from a date in J and amount in K Example J contains 1/1/2020 ... until 9/29/2020 K contains numeric value 123 ... 1999 =...
1
vote
0answers
43 views

Sheets - display ISO8601 string as localized date

In Google Sheets, is there a way to have a cell display its value as a localized date (and time) but actually still have and accept its value as an ISO8601 date string? The use case is that I have ...
0
votes
1answer
16 views

Google Sheet average a row from last 10 days to the current date

I am looking for a formula that would automatically average their own row on C3 to C10 based on the last past 10 days from the current day as seen on their right side. The list doesn't have the ...
0
votes
2answers
32 views

How do I change the date to the coming Monday every Friday at 9:30 pm in Google Sheets?

I would like to write a function that checks what day of the week today is, and whenever it is Friday 9:30 pm it should populate the cell with the date of the coming Monday. So since today is Friday ...
0
votes
1answer
218 views

FedEx Tracking in Google Sheets

I work for a company that sends packages out daily. We track the numbers in a Google sheet that populates via a Google form we use. Recently we have had some packages go missing and I have been tasked ...
0
votes
1answer
10 views

I'm having trouble getting this to export military time

Can you tell me how to modify the date/time format to give me military time? I'm Los Angeles time which is GMT-08:00 It's giving me 07:28 but what I want is 19:28.
0
votes
0answers
18 views

Can't get chart to display weeks from specified day

I can't for the life of me get my chart to display every Monday (starting from 13/07, instead it displays every Sunday (starting with 12/07).The chart also starts with 6 data points (minor lines) and ...
2
votes
2answers
55 views

Calculate Total DateDif Average Between 2 Columns (start, end) according to year expressed in days, hours, minutes

I'm having trouble getting a formula to work to calculate the total average time between times (start and end). Sheet: https://docs.google.com/spreadsheets/d/...
0
votes
0answers
18 views

Is there a way I can format text to change color in Google Sheets based on the time and date?

I have a weekly schedule that I have set up in Google Sheets in the following way: I have a weekly schedule that I have set up in Google Sheets in the following way: I use this to schedule ...
0
votes
1answer
31 views

How can I use TODAY() as part of a formula checking against a list of dates in Google Sheets?

I'm trying to use the TODAY() formula to check against a long column of date cells, and mark them as 'LIVE' if the given date is less than (or equal to) today. Crucially though, if the date cell is ...
0
votes
1answer
23 views

How to convert a numeric value into a time format inside a formula that also contains a string

I have a "mixed" formula (containing numbers and text) and I need to convert the numeric values into a time format. Here is my formula: =count(J8:J11)*2/24&" / "&sum(K8:K11)...
0
votes
1answer
22 views

Create Columns via Formula for two dates

How do you do this with columns instead of rows? =ARRAYFORMULA(TEXT(ROW(INDIRECT("A"&DATEVALUE("2018-4-13")& ":A"&DATEVALUE(&...
0
votes
1answer
29 views

How to create a bill checker with Google Sheet

What I'm trying to do is to create a Google Sheet to check my internet bill, but something doesn't seem to work. FROM TO TOT DAYS PRICE CALCULATED PRICE OF BILL 5/3/2020 ...
1
vote
1answer
49 views

Convert string to real date time value?

Here is my current input: 14.05.20 12.37.01 And yes, as it shows, there is a line break in the cell... Here is example sheet: https://docs.google.com/spreadsheets/d/...
0
votes
0answers
23 views

Count mismatches between rows in google sheet

Need some help on this cause I'm getting an issue I've this three columns (Time, R1 and R2) and I'm trying to count the mismatches between R1 and R2 but for each month (on the time column) I already ...
2
votes
1answer
21 views

How to autofill specific cell when any next cell is filled

+------------+---------+---------+ | Date | Col1 | Col2 | +------------+---------+---------+ | 2018-01-01 | Value 1 | Value 1 | | 2018-01-01 | Value 2 | Value 2 | | 2018-01-01 | Value 3 | ...
0
votes
1answer
34 views

Google Sheets formula for difference from prior day

I have a monthly sheet w/ dated tabs. I am looking for the formula for the difference between today's data (in the cell) and data from previous day's tab. Today is the 30th so what I am currently ...
1
vote
1answer
57 views

Query Google Sheets Using Week Num to order dates

I was finishing ordering timestamps and dates, and I can't quite get it to work: =QUERY(Sheet3!A:I, " SELECT D, SUM(I) GROUP BY WEEKNUM(D) ORDER BY D DESC LABEL SUM(I) 'Balance Semanal' ...
1
vote
1answer
31 views

Editing cell value changes its formatting

Enter the value 18/04/2020 08:10:00 in a sell. Set the formatting of the sell to Hour(1):Minute(01) Actual value 18/04/2020 08:10:00 Display value: 8:10 Edit the value of the sell to become 18/04/...
1
vote
1answer
34 views

Sum category column in one sheet based on a dates column in another sheet [duplicate]

I have a sheet, Transactions, that looks like this: +--------------+-------------+-------------+-----------+ | Date | Payee | Category | Amount | +--------------+-------------+----...
2
votes
1answer
36 views

Query a column based on current date

I'm trying to query a column based on the current day. Examples: If today is 1st day of the month I need to: =QUERY(table,"SELECT A WHERE B CONTAINS 'this text'") If today is 12th day of the month ...
4
votes
2answers
123 views

How to get a new date when calculating from today plus an integer

I use Google Sheets to calculate my word count & rate for daily writing sessions. I'm trying to come up with a formula that will return the estimated date of hitting a goal, based on my current ...
1
vote
1answer
22 views

get value left of max value

I have a sheet that looks like: Date Value Highest Lowest ---------------------------------------------------------------- 1-1-2020 23 26 20 2-1-2020 20 3-...
3
votes
1answer
117 views

Print incremental numbers in Google Sheets

Cell A1 holds a numerical value (e.g. 10), and I'd like to output the list of numbers from 1 to that number in B1: What's the formula I need for B1? It seems trivial, and I know it probably requires ...
0
votes
1answer
29 views

Prevent a Google Script from Modifying Date

I have a Google Sheet that I am applying an onEdit script to. That script (borrowed from WebApps:Convert all text to UPPERCASE in a Google Spreadsheet) capitalizes all new entries in every field of ...
0
votes
0answers
18 views

How to create a formula that permanently records the output of another cell on a specific date

I have a Google sheet to track my investments over time. The sheet has one tab that tracks my current position as of today. I'm trying to build a separate sheet to track my investments historically. ...
1
vote
2answers
51 views

Conditionally format if date is same/greater or smaller than current date

I'm trying to get my Google sheet to automatically colour a cell red if the current date is the same or greater than the date in the cell. Example: today is 21/02/2020. The date in the cell is 25/...
1
vote
1answer
82 views

How to extract time out of text in Google Sheets

I have the following issue and I would appreciate your help. I need to get the time values out of this string: SomeText 02/02/2020 9:00 AM-02/02/2020 9:15 AM;"Text" 02/02/2020 10:45 AM-02/02/2020 11:...
0
votes
2answers
42 views

How can I calculate a future date in google sheets when I know the number of months?

I have a date (TODAY()), and I have a number of months in a google sheet. How can I get a future date from this? I tried =DATE(TODAY()+MONTH(B63)). But the problem is that the months in B63 are not in ...
2
votes
0answers
42 views

How to make a cell autopopulate the date dependent on another cell

I'm trying to make a recruitment sheet for an online community I help run. What I'm currently attempting to do is that when we record a person has joined the Discord to column B, it'll automatically ...
2
votes
1answer
830 views

Using dates as criterion for COUNTIFS in Google Sheets

So I'm currently making a recruiting data sheet for an online community. I'm trying to make it as automated as possible without actually making a bot to do it. How can I make a COUNTIF(or similar) ...
0
votes
2answers
28 views

Weekday Formula Error

I'm trying to use the Weekday formula. However, instead of getting a 0-7 number returned, I am getting 12/31/1899. I have watched several videos, tried on different browsers and devises. What can I do?...
1
vote
0answers
19 views

Google Sheets Area Graph(s)

I need (want) to create a Google Sheets Area Graph (Chart). The Graph/Chart will represent "Date"s. I need the Xaxis to be the dates (as days) between these start and end dates: 01/27/2020, 4/25/2020 ...
2
votes
2answers
1k views

How to increment dates by exactly one month from a given date in Google Sheets

I'm using Google Sheets and want to set a date in say E:7, then in Column B I want the first row to be the value E:7 and then all the rows below that to be incremented by exactly one month from the ...
0
votes
0answers
23 views

How to calculate the difference between two times accurately across midnight? [duplicate]

I've seen this answer on a related question which is an excellent simple solution to calculating the difference between two times. However I've run into an issue when trying to calculate the ...
0
votes
0answers
32 views

Format dates in Google spreadsheets script?

First of all,please excuse me for my bad English. I am splitting multi-line cell into different rows These are the scripts I use // Main of this script. function result(range) { var output = []; ...
0
votes
2answers
136 views

Google Sheets interpreting dates from CSV in a weird way

I'm opening a csv report in Google Sheets. The Google Drive preview shows the dates like this: When I open this file in Google Sheets the dates now look like this: And if I try and convert the date ...
0
votes
0answers
34 views

Calculate value for first day of month from values for arbitrary dates

I have a series of energy meter readings in a sheet, taken at various dates over the last year. So some months have multiple readings, others only 1 or 2. Simplified example (most of my readings are ...
1
vote
1answer
31 views

Formula Error: =IF( SEARCH() ); Visual Reference to Question

I know I'm very close with my formula: =IF(SEARCH("Wednesday", (A3:A)), "workday", 0), But I must be missing something here...: I can't get this formula to display the value "-" when I run it on a ...
0
votes
1answer
39 views

Change a date reference as text to Google Sheets date format

Need to change "December 23, 2019 at 08:31PM" to a date Google Sheets recognize.
1
vote
1answer
94 views

Query/Filter function finding the closest date that is less than the order date for an array of dates using a given variable

Overview I need to get the cost of something by comparing item dates against an order date for one or more of the same item with different item dates, and making sure to select the item date that is ...
0
votes
1answer
886 views

Google Sheets: Fill out dates and replace blank cells with zeroes

I'm trying to make a timeline graph of seed sales, and right now it's almost completely unuseable: I think there are two reasons for this: Not all dates have values associated with them, and ...
-1
votes
1answer
41 views

Google Sheets - If? ISBLANK? Not sure how to pull this one off

I am trying to find a formula for the following: If cell A1 has a date in it, copy that date to cell F1. If A1 does not have a date in it, copy the date from cell B1 into cell F1. I have a receipt ...
2
votes
1answer
96 views

How to access the “unformatted” date in Google Sheets?

I am working with a spreadsheet that includes a row where each cell contains the date of the first day in each month in a series of years: 1-Jan-18, 1-Feb-18, 1-Mar-18, ... , 1-Dec-18, 1-Jan-19, 1-Feb-...
3
votes
1answer
52 views

Rolling Year Formula

I have a Google sheet where I would like a score based on a rolling year figure. I have managed to do these separately using the formulas: =query(A2:B," where A >= date '"&TEXT(today()-E1,"...
0
votes
1answer
31 views

Sheets date formula help

Im trying to find a way to input a due date associated with a task with a column next to it with check marks that can clicked once the task is complete, if it doesnt get checked by the due date I'd ...