Hi, i have a sheet with two tables
Table 1
Here i have columns like Lot No., Storage Bin(A Section), Location Availability ?
Table 2
Here columns are Lot No., Status,
What i want help with is in Table 1 Location Availability ? i want top put in an expression where if the same lot no. as in Table 1 in Table 2, where Status is completed, i want the expression return data as available, or Unavailable.
I dont mind if i get a Google Sheet Expression also
Can anyone help me in this regard.
@DPM_reports
Try with this:
IF(
LOOKUP(
[_THISROW].[Lot No],
"Table 2",
"Lot No",
"Status"
) = "Completed",
"Available",
"Unavailable"
)
can u also tell me the Google sheet expression for the sameโฆ
As i tried your expression which in this case works as requiredโฆ
But my solution requires the expression to be in the sheet rather than appsheet for better visibility of results
Itโs hard to construct that expression without knowing your gSheet and Table structures actually. On the other hand, I donโt advise use of Spreadsheet Formulas, where it will need the app to be synced first to fetch the calculated results from the spreadsheet. Using AppFormula instead will be more direct and dynamic. Besides use of spreadsheet formulas will increase your sync time as well. Worth reading below pages:
My problem in this case will be that once data is entered in table 1 โฆuser will have not edit access againโฆand this column value to change will require the user to go into it and editโฆif itโs in the gsheetโฆthe data of this column will not require user access to edit and hence will serve my access
@DPM_reports
I donโt think I can follow you correctly here. Can you please briefly describe how data is entered into your app? Whatโs the sequence? How you have structured your tables and your gSheet back-end? And I havenโt understood this part as well:
Appreciate your explanation.
This column where i want this formula to entered will have its value altered after the next process data is entered by another departmentโฆand when a cloumn in that sheet changes its value, the value in the 1st sheet changesโฆ
hence i said if the formula is appsheet based, it will be altered/changed only when the user goes to edit mode and saves that dataโฆonly then the value changesโฆwhich would be not feasible for meโฆ
if the value is changed via a Google sheet formula, the user does not have to goto edit mode to see the changed value, it automatically does itโฆ
Hope your getting my pointโฆ
@DPM_reports
I got the point, but still you donโt need the formula in the gSheet. You can use the expression in the Initial Value, constraint the edit for the first time the record is created via Editable_if and you can use the Reset on Edit to automatically reset the initial value and the new value will be calculated automatically.
Besides, itโs doable with creating a DataChange workflow and assinging it to the FormSaved action as well.
There are many alternatives for manipulating gSheet data depending on what you are trying to establish.
User | Count |
---|---|
43 | |
28 | |
24 | |
24 | |
13 |