New Bug Encountered: Spreadsheet Formula Not Updating in a field

Hi,
I have created a form with a field value having default spreadsheet formula.
When I change the spreadsheet formula, it shows warning & also, the formula is not automatically updated as the new entries are made.

Solved Solved
0 12 1,326
1 ACCEPTED SOLUTION

I have enhanced the formula mismatch warning in the Editor to display the formula mismatches in both A1 and R1C1 format. To see the mismatches, compare the formulas in R1C1 format.

If testing goes well, this change will be released on Thursday afternoon Seattle time.

In the interim, I have included the results of the new warning below.

Column โ€˜Statusโ€™ of sheet โ€˜Fuel Requestโ€™ contains mismatched formulas. Compare the formulas displayed in R1C1 format below to see the differences. 55 rows have MultiColumn formulas. 49 distinct formulas are present of which the first 5 are displayed. 7 rows contain formulas like โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!$B2,โ€˜Fuel Issueโ€™!$E$2:$E352,0)),C2<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B2,โ€˜Fuel Issueโ€™!$E$2:$V352,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B2,โ€˜Fuel Issueโ€™!$E$2:$V352,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B2,โ€˜Fuel Issueโ€™!$E$2:$V352,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in A1 format and โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[350]C5,0)),RC[-17]<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[350]C22,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[350]C22,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[350]C22,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in R1C1 format including rows 2,51,52,53,54,55,56. 1 rows contain formulas like โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!$B3,โ€˜Fuel Issueโ€™!$E$2:$E352,0)),C3<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B3,โ€˜Fuel Issueโ€™!$E$2:$V352,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B3,โ€˜Fuel Issueโ€™!$E$2:$V352,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B3,โ€˜Fuel Issueโ€™!$E$2:$V352,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in A1 format and โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[349]C5,0)),RC[-17]<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[349]C22,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[349]C22,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[349]C22,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in R1C1 format including rows 3. 1 rows contain formulas like โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!$B4,โ€˜Fuel Issueโ€™!$E$2:$E352,0)),C4<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B4,โ€˜Fuel Issueโ€™!$E$2:$V352,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B4,โ€˜Fuel Issueโ€™!$E$2:$V352,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B4,โ€˜Fuel Issueโ€™!$E$2:$V352,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in A1 format and โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[348]C5,0)),RC[-17]<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[348]C22,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[348]C22,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[348]C22,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in R1C1 format including rows 4. 1 rows contain formulas like โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!$B5,โ€˜Fuel Issueโ€™!$E$2:$E352,0)),C5<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B5,โ€˜Fuel Issueโ€™!$E$2:$V352,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B5,โ€˜Fuel Issueโ€™!$E$2:$V352,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B5,โ€˜Fuel Issueโ€™!$E$2:$V352,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in A1 format and โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[347]C5,0)),RC[-17]<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[347]C22,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[347]C22,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[347]C22,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in R1C1 format including rows 5. 1 rows contain formulas like โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!$B6,โ€˜Fuel Issueโ€™!$E$2:$E352,0)),C6<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B6,โ€˜Fuel Issueโ€™!$E$2:$V352,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B6,โ€˜Fuel Issueโ€™!$E$2:$V352,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B6,โ€˜Fuel Issueโ€™!$E$2:$V352,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in A1 format and โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[346]C5,0)),RC[-17]<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[346]C22,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[346]C22,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[346]C22,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in R1C1 format including rows 6.

If you compare the formulas in R1C1 format, you will see that the problems are occurring because the formulas contain values such as โ€œโ€˜Fuel Issueโ€™!$E$2:$E352,0))โ€. The row number in the value โ€œ$E352โ€ is causing the problem. Do you mean โ€œ$E$352โ€? All four references to โ€˜Fuel Issueโ€™ in the formula have the same problem.

View solution in original post

12 REPLIES 12

It seems that your sheet formulas are not the same in every row. You should check that all formulas are consistent row by row.

Also you have the same key in more than one row

Dear Lynn, Aleksi,
I am using the same formula in all columns which itโ€™s not recognising. Thatโ€™s why I am tying to reach you.
Thank you.

2X_d_df418760090688d5700ea7317a6136960ed53d3d.jpeg
Lynn

    September 6

Also you have the same key in more than one row


Visit Topic or reply to this email to respond.


In Reply To

2X_6_6c8a51b860dd1dcccd7d221911d3b5263a8a18f7.jpeg
Aleksi

      [Aleksi Alkio](https://community.appsheet.com/u/aleksi)

      AppSheet Team




    September 6

It seems that your sheet formulas are not the same in every row. You should check that all formulas are consistent row by row.


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

CONFIDENTIALITY
NOTICE: The information in this email may include opinions or views
which, unless expressly stated otherwise, are not those of the organization or
any other person, and the organization does not accept liability for any
statement opinion expressed. It may contain information of a confidential
or legally privileged nature which should not be disclosed. Nothing in this
message shall be construed as professional medical, psychiatric, psychological,
counseling, or social work advise. Reference to any political, commercial
or non-commercial product, process, or service by trade name, trademark,
manufacturer or otherwise does not constitute or imply an endorsement or
recommendation by the organization. This email has been sent for the sole use
of the intended recipient. If you are not the intended recipient of this
message, you may not disclose, print, copy or disseminate this
information. Usage of the organizationโ€™s email domain by sender does not grant the sender any right to legally bind the organization. If you have received this communication in error, please
reply and notify the sender directly and immediately delete the message. The
organization cannot accept liability for any loss or damage you may incur as a
result of virus infection as a consequence of receiving, reviewing or otherwise
using this message. Unauthorized interception or use of this e-mail is a
violation of the law.

I have added a new article that will should help you locate the problem. See https://help.appsheet.com/en/articles/3326638-mismatched-spreadsheet-formulas

Dear Phil,

Thank you for updating.

But, am facing trouble in Appsheet recognizing the formula automatically.

The sheet formula is same for all rows. (Attached screenshot below)

Also, the Spreadsheet formula is not shown in the Appsheet Columns tab under Auto Compute Field.

Looking forward to your valuable reply.

I can investigate if you provide:

  1. Your account id
  2. The app name
  3. The table name
  4. The column name

Before I do that, please verify that you have followed the procedure described in the article.
Having the same formula in โ€œA1โ€ format in every cell does not mean that you have the same formula in every cell of the column. The cells in the column only have the same formula if they have the same formula when displayed in โ€œR1C1โ€ format.

You are using absolute row references in your formula such as โ€œ$E$2โ€. That may be the problem. Looking at the formulas in โ€œR1C1โ€ format will confirm that.

I did have the same formula in all cells of that particular column.
However not for all the empty cells of that column though. Should I need to drag down the same formula across all the cells of the column?

However, I created new column & appended all old data.

Yes, you want to have the same formula in all of the cells of the column. Entirely empty rows are ignored, but otherwise you need the same formula in every cell in the column.

We compute the percentage of cells in the column that contain each type of formula. We treat an empty cell with no formula as yet another type of formula (that is, the empty formula). Every cell in the column contributes to the percentage for one type of formula or another. That percentage of cells in a column that contain a specific formula needs to be quite high for us to assign that formula to the entire column.

This approach is designed to allow us to ignore the occasional total formula that appear somewhere in the column. Typically the total appears at the bottom, but it might appear elsewhere. But aside from the occasional total formula, the rest of the cells in the column should have the same formula. That allows us to assign the formula to the column.

I have updated the article to explain this better. https://help.appsheet.com/en/articles/3326638-mismatched-spreadsheet-formulas

This is a cool feature & nice logic Phil.
But, I have found that the formula is not reflected in the new record entered in the previous sheet which I have attached in the trailing message.
I had to remove all the old data & start things from the scratch.
User ID : kanha.men-machines@srcm.org
App Name : Vehicle Reading v1.000549
Table Name : Fuel Request
Column Name : Status
(However, I have changed the table values as mentioned above)

Thank you.

Dear Phil,
I have tried changing the formula. Itโ€™s not getting reflected in the App in the Spreadsheet formula field!
Itโ€™s showing formula is not consistent! But, I use the same formula in all the columns.!

I have enhanced the formula mismatch warning in the Editor to display the formula mismatches in both A1 and R1C1 format. To see the mismatches, compare the formulas in R1C1 format.

If testing goes well, this change will be released on Thursday afternoon Seattle time.

In the interim, I have included the results of the new warning below.

Column โ€˜Statusโ€™ of sheet โ€˜Fuel Requestโ€™ contains mismatched formulas. Compare the formulas displayed in R1C1 format below to see the differences. 55 rows have MultiColumn formulas. 49 distinct formulas are present of which the first 5 are displayed. 7 rows contain formulas like โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!$B2,โ€˜Fuel Issueโ€™!$E$2:$E352,0)),C2<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B2,โ€˜Fuel Issueโ€™!$E$2:$V352,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B2,โ€˜Fuel Issueโ€™!$E$2:$V352,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B2,โ€˜Fuel Issueโ€™!$E$2:$V352,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in A1 format and โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[350]C5,0)),RC[-17]<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[350]C22,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[350]C22,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[350]C22,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in R1C1 format including rows 2,51,52,53,54,55,56. 1 rows contain formulas like โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!$B3,โ€˜Fuel Issueโ€™!$E$2:$E352,0)),C3<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B3,โ€˜Fuel Issueโ€™!$E$2:$V352,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B3,โ€˜Fuel Issueโ€™!$E$2:$V352,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B3,โ€˜Fuel Issueโ€™!$E$2:$V352,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in A1 format and โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[349]C5,0)),RC[-17]<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[349]C22,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[349]C22,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[349]C22,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in R1C1 format including rows 3. 1 rows contain formulas like โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!$B4,โ€˜Fuel Issueโ€™!$E$2:$E352,0)),C4<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B4,โ€˜Fuel Issueโ€™!$E$2:$V352,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B4,โ€˜Fuel Issueโ€™!$E$2:$V352,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B4,โ€˜Fuel Issueโ€™!$E$2:$V352,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in A1 format and โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[348]C5,0)),RC[-17]<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[348]C22,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[348]C22,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[348]C22,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in R1C1 format including rows 4. 1 rows contain formulas like โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!$B5,โ€˜Fuel Issueโ€™!$E$2:$E352,0)),C5<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B5,โ€˜Fuel Issueโ€™!$E$2:$V352,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B5,โ€˜Fuel Issueโ€™!$E$2:$V352,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B5,โ€˜Fuel Issueโ€™!$E$2:$V352,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in A1 format and โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[347]C5,0)),RC[-17]<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[347]C22,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[347]C22,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[347]C22,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in R1C1 format including rows 5. 1 rows contain formulas like โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!$B6,โ€˜Fuel Issueโ€™!$E$2:$E352,0)),C6<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B6,โ€˜Fuel Issueโ€™!$E$2:$V352,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B6,โ€˜Fuel Issueโ€™!$E$2:$V352,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!$B6,โ€˜Fuel Issueโ€™!$E$2:$V352,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in A1 format and โ€˜if(AND(ISNA(MATCH(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[346]C5,0)),RC[-17]<today()),โ€œNot Issuedโ€,if(AND(isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[346]C22,14,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[346]C22,15,FALSE)),isna(VLOOKUP(โ€˜Fuel Requestโ€™!RC2,โ€˜Fuel Issueโ€™!R2C5:R[346]C22,16,FALSE))),โ€œOpenโ€,โ€œClosedโ€))โ€™ in R1C1 format including rows 6.

If you compare the formulas in R1C1 format, you will see that the problems are occurring because the formulas contain values such as โ€œโ€˜Fuel Issueโ€™!$E$2:$E352,0))โ€. The row number in the value โ€œ$E352โ€ is causing the problem. Do you mean โ€œ$E$352โ€? All four references to โ€˜Fuel Issueโ€™ in the formula have the same problem.

Yes! Iโ€™ve understood the logic now.
Iโ€™ve changed the formula & thank you so much for your time & effort.

Top Labels in this Space