Hello,
This question is mostly for those who use Google Spreadsheet for their data, I think.
For reasons of transferring computing time from appsheet to the google spreadsheet, Iโve come to write some formulas in the spreadsheet that go on these lines:
- the formulas are written on the very first row of the spreadsheet and look like this:
={โName of my Columnโ;ArrayFormula(my formula)}
Most work just fine and spreadsheet recognizes these formulas and the Column Name just fine.
However, there are some that donโt seem to be recognized by appsheet, but in a very strange โฆ half way โฆ way.
So the only thing that I find special about them is that they contain a query() as far as I can tell.
Appsheet recognizes the Column Name just fine.
However, in the โAuto Computeโ field of the column, on the โSpreadsheet formulaโ line it generates this " โCOMPUTED_VALUEโ " text. And when I add data through the App, in the spreadsheet it actually fills in the cell with the actual words โCOMPUTED_VALUEโโฆand obviously, thatโs not good as it interrupts the ArrayFormula.
Now what is even stranger, is that if I delete that value from the โSpreadsheet formulaโ line in Appsheet and save, it doesnโt fill it back in and so when I add data through the App now, the ArrayFormula works fine.
BUT, thatโs not a long term solution because if I Regenerate the Structure of the Table, then Appsheet again fills in that field with โCOMPUTED_VALUEโ and I would have to remember to always go back there and delete it before adding any new data to that table through the App.
So, any Ideas about what to do here?
Or whatโs the logic of it?
={โName of My Columnโ;
ArrayFormula(
if(A2:A="","",
iferror(
vlookup(A2:A,
query({Times!A2:A,Times!C2:C,Times!J2:J,Times!Q2:Q}, "select Col2, sum(Col3) where Col1 <> โโ AND Col4 = โCNCโ group by Col2 ", 0),2,false),
โ0โ)))
}
Thank you,
Sorin
Solved! Go to Solution.
I have replied to Sorinโs bug directly. For the sake of the community, here is what I learned when investigating this issue.
This is a Google Sheets to Excel export issue.
When you click the โRegenerateโ button for a Google Sheets workbook, this is what happens:
When you add a new row through your AppSheet application, we convert the formula in the โSpreadsheet formulaโ property from R1C1 to A1 format and store that formula in the appropriate cell of the newly added row.
The problem is occurring because Google Sheets is exporting the formulas in columns J through N of your Google Sheet as:
โ__xludf.DUMMYFUNCTION(โ"โCOMPUTED_VALUEโ"")"
Typically, Google Sheets exports formulas that are supported in Google Sheet but not Excel by wrapping the formula in:
โ__xludf.DUMMYFUNCTION( )โ.
We extract the value contained inside the __xludf.DUMMYFUNCTION( ) and use that as the worksheet formula.
Unfortunately, in your case, Google Sheets is exporting your formulas in columns J through N as โCOMPUTED_VALUEโ.
As a result, that is the value we see and that we assign to the worksheet formula.
Fixing this problem would require that Google export your Google Sheets formulas in a better form.
You can report this problem to Google, but I am not sure how responsive they will be.
The other alternative is to change the formulas until you find a form of the worksheet formulas that Google Sheets will export to Excel correctly.
You can experiment with this as follows:
โWith luck, you may be able to find some form of the worksheet formulas that Google Sheets will export correctly.
โ
User | Count |
---|---|
37 | |
30 | |
29 | |
22 | |
18 |