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
10 views

How can I calculate the difference between two time fields, being the second greatest than the first one?

I'm having trouble getting negative hour as a result. For instance: G H 08:30 06:00 I would like to get a column with the difference between H and G. So I would be filled with -02:30. ...
0
votes
1answer
9 views

Transpose Time Google Sheets

I love the transpose date function above. Can you do the same thing with time in hour increments? If someone checks in at 2pm and checks out at 7pm, the cells to the right would count 2pm, 3pm, 4pm, ...
1
vote
1answer
12 views

Count number of rows with a specific MONTH in the date of a specific cell and a Boolean condition in another cell

Let's say I have a number of dates and whether they occupy full or half a day: DATE | WHAT | HALF? ... 2021-4-1 | Something Something | false 2021-4-2 | Something Something | false ...
1
vote
1answer
20 views

Add '/' character in between a number (which should be formatted as a date) and turn it to a date

I have received a spreadsheet which has the dates formatted with only numbers without separators and I would like to transform them into a date format. For example, I would like to change the number ...
0
votes
1answer
14 views

How can I highlight a column of cells (H) if the date in the cell is more than a week old, and the cell next to it (I) is blank?

I'm trying to make a spread sheet to track open purchase orders. One PO per row. One column has the order date in it, and the next column has the receive date for the order. I'd like the cell with the ...
2
votes
2answers
29 views

LOOKUP-like behaviour adding up rows down to the found one

I have a table with dates in column A and values in column B. A B 1 2020-12-30 1 2 2020-12-31 2 3 2021-01-04 4 Given a DATE, I can LOOKUP the last value before (including) ...
0
votes
1answer
31 views

How do I update Google worksheet with data from separate worksheet based on dates

I have a worksheet of "Loads" that contains a growing list of loads done by drivers. This worksheet grows with new rows daily. I am wanting to have a seperate worksheet called "New ...
0
votes
1answer
13 views

Why does VLOOKUP find a match in a sequence of dates when there is none?

I am working on spreadsheet that works with a school calendar. I have a sequence of dates that is a list of Wednesdays. I am trying to do a VLOOKUP on it to find out what type of day a specific date ...
0
votes
1answer
19 views

Is there a way to add a new sheet tab to a Google Sheet based on the timestamp date?

Students take a weekly survey on Google Forms, and it is transferred to a Google Sheet. I want the Google Sheet to automatically generate a new tab based on the date (timestamp) so that each week has ...
0
votes
1answer
31 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
53 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
36 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
60 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
145 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
65 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
19 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
65 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
413 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
68 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 ...
1
vote
1answer
35 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
55 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
23 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
72 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
33 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
37 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
124 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
133 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
30 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
54 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
100 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
87 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
46 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
1k 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
29 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
2k 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
25 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
173 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 ...