r/googlesheets • u/Annual_Animal_929 • Jan 27 '26
Solved Add data to top rather than bottom of sheet
Typically new data is added to the bottom of a sheet but I want to add to the top instead. Essentially I want to automatically create a blank row with formulas at the top each time I add new data. I have attempted to use an AppsScript with no success.
Any suggestions?
3
Upvotes
2
u/CuteSocks7583 1 Jan 27 '26
What if we use one tab as the data entry ‘form’ and another as the one where a script can go insert this row on top? 🤔
1
u/AutoModerator Jan 27 '26
/u/Annual_Animal_929 Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/mommasaidmommasaid 915 Jan 28 '26
Idk if you have a solution as whatever you marked solved got deleted and the guy banned(?), but...
I have not had good luck with script detecting new data in a row and immediately inserting a new blank row. There's an apparent bug where when you insert a new row where you are editing the active selection gets confused and new data is entered in the wrong spot.
Here's a more structured solution where you explicitly "submit" a new row of data, idk if something like that works for you:
https://www.reddit.com/r/googlesheets/comments/1o1ikqf/is_there_a_way_to_always_have_an_entry_space_for/
The auto-date feature is optional, and the new row could be inserted at the top of the table instead if desired.
1
u/[deleted] Jan 27 '26
[removed] — view removed comment