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

  • Home
  • SEARCH
  • 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 7789163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:12:55+00:00 2026-06-01T21:12:55+00:00

I need to make Data Validation on a range of cells. I want a

  • 0

I need to make Data Validation on a range of cells. I want a dropdown list, where the only option is the current date. To get the current date, I can use =TODAY(). The problem is, that the dates don’t remain static. When the sheet recalculates, so will all the dates. I need the dates to remain the same.

How can I work around this?

I found a blog where the answer might be, but I can’t see how the author has made his spreadsheet.

  • 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-01T21:12:57+00:00Added an answer on June 1, 2026 at 9:12 pm

    I will have a dropdown item which says “dags dato”. Next i use an eventlistener that checks if the text in a cell is changed to “dags dato”.

    if so, it puts the current date in the cell, like this:

    function onEdit(event)
    {
      var ss = event.source.getActiveSheet();
      var r = event.source.getActiveRange();
    
      var currentValue = r.getValue();
    
      if(currentValue == "dags dato")
      {
        var dd = Utilities.formatDate(new Date(), "GMT", "yyyy-MM-dd");
        r.setValue(dd);
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm wondering what is the best way to make data thread-safe. Specifically, I need
I need to make a ListAdapter that presents data from multiple ContentProviders. The ContentProviders
I need a SQL query to make all data in a column UPPER CASE?
I need to make a file format for my software. The data is basic
Following is the sample data. I need to make 3 copies of this data
I need to make a proxy script that can access a page hidden behind
Rails has a very convenient uniqueness validation. ASP.NET MVC doesn't. I need to make
I need to make a div layer so that when you click on it
I need to make this function work everywhere, except IE6-7 $(function(){ window.scrollTo(0,300); }) Please
i need to make my window top level when i need. Code of creating

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.