Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8939063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:45:18+00:00 2026-06-15T10:45:18+00:00

I have a spreadsheet with column A which holds a timestamp and updates daily.

  • 0

I have a spreadsheet with column A which holds a timestamp and updates daily. Column B holds a value. Like the following:

+--------------------+---------+
| 11/24/2012 1:14:21 | $487.20 |
| 11/25/2012 1:14:03 | $487.20 |
| 11/26/2012 1:14:14 | $487.20 |
| 11/27/2012 1:14:05 | $487.20 |
| 11/28/2012 1:13:56 | $487.20 |
| 11/29/2012 1:13:57 | $487.20 |
| 11/30/2012 1:13:53 | $487.20 |
| 12/1/2012 1:13:54  | $492.60 |
+--------------------+---------+

What I am trying to do is get the average of the last 7, 14, 30 days.

I been playing with GoogleClock() function in order to filter the dates in column A but I can’t seem to find the way to subtract TODAY - 7 days. I suspect FILTER will also help, but I am a little bit lost.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T10:45:19+00:00Added an answer on June 15, 2026 at 10:45 am

    There are a few ways to go about this; one way is to return an array of values with a QUERY function (this assumes a header row in row 1, and you want the last 7 dates):

    =QUERY(A2:B;"select B order by A desc limit 7";0)

    and you can wrap this in whatever aggregation function you like:

    =AVERAGE(QUERY(A2:B;"select B order by A desc limit 7";0))

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a spreadsheet with multiple columns, one of which is an owner_id column.
I have a spreadsheet which has a column on it (say column A). The
I currently have a spreadsheet called DataMap which has a key/value layout. The key
I have a spreadsheet I created mid-August which has a table with one column
I have spreadsheet which has column of 404 error link and its respective 301
I have one Excel spreadsheet which has the following columns: Surname / First Name
I have a database formatting problem in which I am trying to concatenate column
I have a spreadsheet that I am sorting based on an item number column.
I have a Excel spreadsheet and I have 3 columns. column A, column B,
I have a column with a list of dates in a spreadsheet (.tsv) (some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.