Add the content of one column to another using an action.

Hello Appsheet Community,
I can't manage to create an action that copies all values from one column and adds them to a column in another worksheet.
Example:

Table A:

 

IDBill
15€
28€
32€

Table B

IDDebt
12€
20€
34€

Action triggered:  Bill + Debt

Table B:

IDDebt:
17€
28€
36€

Unfortunately, I could not find a solution to this problem. I would be very happy if you could help me here.

Many thanks in advance

Solved Solved
0 4 152
1 ACCEPTED SOLUTION

My mistake.

The first argument of the LOOKUP should bi [_THISROW].[id] instead of "id"

View solution in original post

4 REPLIES 4

Create an action of type Data: set the value of some columns in this row on Table B

Set

  • Debt = [Debt] + LOOKUP("ID", "Table A", "ID", "Bill")

You can run a bulk action to apply the action to the selected rows of Table B.

Hello TeeSee1,
thank you for your reply.

Unfortunately, I have not yet managed to incorporate your suggestion into my project.

I have customized the formula but when I try to execute it as a bulk action, the value of ID 1 is used for all actions.

[to pay] + LOOKUP([ID], "Spreadsheet1", "ID", "Cost")

Result:

Table B:

IDto pay
17€
25€
36€

When I use this formula I get this result:

[to pay] + LOOKUP("ID", "Spreadsheet1", "ID", "Cost")

Table B:

IDto pay
1 
2 
3 

it seems to return a void value.

My mistake.

The first argument of the LOOKUP should bi [_THISROW].[id] instead of "id"

With this formula it has finally worked.

[_THISROW].[to pay] + LOOKUP([_THISROW].[ID], "Spreadsheet1", "ID", "Costs")

Thank you for your Help 🙂

Top Labels in this Space