+ Reply to Thread
Results 1 to 5 of 5

GoogleSheet IMPORTDATA with timestamp

  1. #1
    Forum Contributor
    Join Date
    11-10-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    364

    GoogleSheet IMPORTDATA with timestamp

    Hi, I am trying to use IMPORTDATA in GoogleSheet with URL and TimStamp

    =IMPORTDATA(https://www.amfiindia.com/spages/NAVAll.txt?t=,TEXT(NOW(),"ddmmyyyhhmmss"))


    ERROR This function is not allowed to reference a cell with NOW(), RAND() or RANDBETWEEN()
    Last edited by 6StringJazzer; 03-12-2023 at 07:23 PM. Reason: fixed title from "GooleSheet IMPORTA data with timestamp"

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2407
    Posts
    26,128

    Re: GoogleSheet IMPORTDATA with timestamp

    It is not allowed because the prohibited functions are volatile and this will cause your data import to be constantly refreshed. I suggest you have a second cell with

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and a third cell where you copy and paste-values from the second cell. This third cell is what you will reference in IMPORTDATA.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,063

    Re: GoogleSheet IMPORTDATA with timestamp

    @6SJ: why do you need three cells? Couldn't you have that formula in one cell and Paste Special | Values into a second? Just a thought
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2407
    Posts
    26,128

    Re: GoogleSheet IMPORTDATA with timestamp

    First cell is the one with the IMPORTDATA formula
    Second cell has the TEXT(NOW) formula
    Third cell has a static value copied from the second cell

    Maybe I don't understand your suggestion.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,063

    Re: GoogleSheet IMPORTDATA with timestamp

    No. My misunderstanding. I was just thinking about the date and forgetting the IMPORTDATA formula.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 04-19-2022, 01:42 PM
  2. Timestamp macro that cannot be overwritten by another timestamp
    By xgingerkingx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-12-2020, 01:06 PM
  3. Replies: 2
    Last Post: 11-09-2016, 02:23 PM
  4. Timestamp data entry and highlight when no data entered after 10 minutes
    By jdcarter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2015, 08:19 AM
  5. [SOLVED] inserting a timestamp on the data sheet when a raw data file is imported
    By macrorookie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2014, 02:18 PM
  6. Processing Timestamp Data
    By PanosH in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2013, 12:27 PM
  7. When a timestamp doesn't behave as a timestamp
    By mredekopp in forum Excel General
    Replies: 3
    Last Post: 03-07-2011, 03:39 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1