SQL Query table, as new rows added, helper formulas will not autofill
Our take
I've been wrestling with this for years, and I finally want to fix it. I've searched here thoroughly but nothing seems to fix it, I tried cortana this morning and its braindead, keeps telling me to convert it to a table when it already is, Ctrl-T just dings no pop up, I have table design tab in excel when I choose it, so useless. Anyway my situation:
I have several files that import large amounts of data from our snowflake database via a connection. It imports it into a table on an excel sheet with 3 formula driven helper columns over to the far right. Whenever I do a data refresh and new rows are added the formulas in those helper columns will not auto fill. Typically what happens, say my data goes to row 100 and I refresh and there are 10 new rows so the table now goes down to row 110, there are formulas down to row 99 as they were previously then blanks down to 110 and there are formulas on row 110.
I then manually copy paste my formulas into the blanks and all is well. I've tried all the suggestions, all the auto fill and table options in excel are checked that are recommended, I've deleted these 3 helper columns entirely and rebuilt fresh making sure there are only consistent formulas all the way down. I tried making the whole table a range with the hopes of making it a table again per one suggestion, but that eliminates my query connection.
Things would work so well if it would just automatically autofill and I did not have to worry with manually fixing the table with every data update, any further suggestions?
I have a feeling it has something to do with the query and table updating rows in the middle, but I've changed table properties to "Insert entire rows for new data" which then puts the blanks at the bottom instead of 1 above the bottom, but it still will not autofill the new rows.
[link] [comments]
Read on the original site
Open the publisher's page for the full experience
Related Articles
- Auto-Size Tables Based on Feeder Tables' InputsSo this issue is not as simple as it seems. I do not want solutions for Power Query. This issue is for applying to a tool for a different end-user. We use O365 desktop software. I have two tables, Table1 and Table2, for the purpose of pasting raw CSV data. Some days there are 150 rows, other days there are 200 or 140 rows... Row counts vary. Table1 can also have an unequal number of rows compared to Table2. When adding raw data, a table naturally expands for more rows, but does not do the opposite for fewer rows. Table3 is the combined table, where I use direct references to pull in data via "=Table1[@Col1]", for as many columns as I need. Table2 data is then XLKP'd into Table3 via a primary key column in Table1 and Table3. I am effectively creating a LEFT JOIN using Table1, but need Table3 to auto-size itself. The problem is that Table3 will NOT auto-expand the number of rows when there are more rows in Table1 than Table3 currently has. I have tried named ranges instead of tables, but the user prefers pivot tables and the features of actual tables in Excel, so using ranges and dynamic arrays are not the solution this time. (I love DA's but end users need more flexibility). So I am requesting solutions on how to get Table3 to auto-expand (and even auto-shrink but I do not believe that exists). I have exhausted Google.. it keeps telling me to use PowerQuery and dynamic arrays. The LOL part is that tables HATE having dynamic arrays in them, so i think it's funny that google recommends it. Also, I believe i remember solving this problem in the past, but it eludes me. submitted by /u/gutsyspirit [link] [comments]
- How to autofill data from a row to a column on a different sheet in the same folder?I've been struggling with some solutions I've found on the forum but after 1.5hrs I'm close to giving up and manually entering data - which is bound to cost me another 28 hrs. Hoping someone has the solution I'm looking for and is willing to share.. I've exported questionnaire results from Mentimeter to Excel. The document output is formatted automatically in a way that uses columns for unique respondents, followed by their answers in the same column but along individual cells on that column's row, meaning the first entry is A2 and the last entry is in cell CQ2 or something. I would like to make this more user-friendly by: 1) putting each respondent's answers in their own sheet in the folder, and 2) by listing the questions in the first column and the answers in the next columns pretty much 'the other way around'. Currently it looks like this; the answers I need are listed in !VotersF3 to !VotersCQ3. The next respondent's answers are in !VotersF4 through to !VotersCQ4 and so on. What I'm looking for would ideally display answers in !AnswerA3 through to A80. When I manually select !AnswerA3 and click on !VotersF3, logically it does what I want. When I then drag down to autofill, equally logically the sheet enters !VotersF4 instead of !VotersB3 as it's a row vs column problem. I've tried different version of INDEX and TRANSPOSE but I can't get a working formula from that. Would anyone be able to provide me with the correct solution for doing this? I've got another 20+ respondents answers that need to be 'easy to view' instead of scrolling 500 screens horizontally.... Thank you Excel wizards! :) submitted by /u/Lost_Mud2097 [link] [comments]
- Cells filled in without Auto-Fill, formulas, or AI--what did I misunderstand?I might just be dumb but I can't figure out what happened today. I'm working on a quarterly report where I use a downloaded .cvs file as the bones. I clean the data, insert columns needed, and in some of those columns, I put enter formulas, do the whole autofill thing, normal stuff, right? I've done this report several times. My report has over 2000 lines of data that I have to check manually because the formulas aren't perfect. It doesn't take super long, and after a day and a half, I've gotten through 1400 rows. The weird thing happened when I got to the 1400s. I noticed a row I hadn't gotten to had data in a column with no formula, correctly formatted and accurate. When I kept scrolling, the entire rest of the column was filled in correctly without me editing it. There was no formula to auto-fill, and I don't use Copilot AI. I didn't copy and paste anything, none of that. I hadn't looked at that part of the sheet yet. It's probably silly, but it kind of freaked me out. This spreadsheet isn't shared with anyone, I'm the only one with access. The initial report is just data that I then break into chunks and send to someone else for the next stage. Google only showed me Auto-Fill and Flash-Fill as explanations, and I didn't use either. I looked in the settings and couldn't find any permission that matched, and I don't know how to explain this besides ghosts, I guess. At the end of the day, it's less work for me, so I'll take it, but if anyone can kindly explain what I'm missing that makes this make sense, I would appreciate it! submitted by /u/gremlinwitchboi [link] [comments]
- How to refresh a table that is tied to a sharepoint form without going to the table every timeHello! I have a couple of tables that are populated from forms that various team members fill out and I bring this into a sales report via Power Query. For quite a long time, when I would refresh the PQ query that would bring in the new data, the table would auto refresh but awhile ago there was a change that broke this automatic refresh (I think a MS update from awhile ago?) and now I have to go to each table that has a form, open the sharepoint link, let it update, and then refresh my query to bring in the data. This is an improvement from a share file that had too many issues with users entering wrong data and has been the best solution for a while but the having to manually go to each table and refresh it daily is driving me crazy. What are my options to get this to refresh automatically if its within a form? I tried to dip my toe into power automate but for some reason these forms/tables do not show up within it and I have not had success using that (but I could also be doing it wrong). submitted by /u/Moudy90 [link] [comments]