The Apostrophe in front of the answer, in the formula bar, on Google Sheets is causing formulas on other sheets that pull from the answers to not work. For instance, my formula to sum the amount of dry pounds of food received from Kroger Brandt Pike in the month of November will no longer work.
The formula will recognize an answer for the month formatted as such, mm/dd/yy, but will not recognize an answer formatted with the apostrophe ‘mm/dd/yy. The same goes for an answer for the amount of dry pounds received. A number value, such as 50, will be recognized but ’50 will not. Is there a way to remove the apostrophe from the answer?
Unfortunately, it looks like while arithmetic and some functions in Google Sheets work on raw values, others (most?) functions don't. The change to raw values was made with the assumption that most calculations would still work but this doesn't seem to be correct. We should look into whether this is also the case with Excel and see whether we could only send certain types of values as raw.
In the mean time, one thing I've done in a similar context is to add new columns that are typed versions of the raw ones. In your case, let's say you add a new sheet called 'Formatted'. In the second cell of the first column, you could write =ARRAYFORMULA(int('Retail Donations'!AF2:AF)). Similarly, in the second cell of the second column, =ARRAYFORMULA(datevalue('Retail Donations'!$D2:$D)) would give the typed dates. Then your formula would be
I have the same problem, for me is complicate use the apostrophe. Now a simple sum is complicate.
Use the version 1.22.4 of odk collect , this version do not send the apostrophe.
Maybe the developers reevaluate the use of apostrophe, or give a metod to choose if use the apostrophe or not.
Good news @Mcrollin, @famador, @sneike -- @Grzesiek2010 explored sending raw values only for types that could be misinterpreted and this turns out to be very doable. Collect v1.25 will only send raw values for select multiple, barcode and string questions. Other values will be formatted automatically by Google Sheets. I will make sure you're tagged on the beta notice so that you can try this out and confirm that it will work for your needs.