Choofa
(Choofa)
August 21, 2019, 7:29pm
#1
Hi there.
How could I make this possible. As you can see I have users(email) in Column “ID” and nicknames in column “Nicknames”.
When users pick their mail it gets data from column ID and checks if it is in list(as it creates). This works, but I want to get the data from the cell from same row as ID but from column “Nicknames”. How to do this, I have tried a few ways, but it always fails.
Any idea?
Choofa
(Choofa)
August 21, 2019, 8:30pm
#2
I have tried this also now, but guess I’m doing something wrong
oaltair
(oaltair)
August 22, 2019, 12:23am
#3
Hi, I have several suggestions:
The ID variable must not be a LIST
“values” is a list, so you just have to assign it to the variable ALL_ID
You can get the “Row ID” by looking for the index of the ID in the ALL_ID list.
It uses the index obtained as parameter “Row ID” in the GET CELL block.
Best regards
vknow360
(Sunny Gupta)
August 22, 2019, 1:23am
#4
Hi
As you want to get row id
to get cell so use index in list
block.
Just use ‘index in list’ block in ‘get cell’.
1 Like
Choofa
(Choofa)
August 22, 2019, 5:00pm
#5
Perfect Worked like a charm
oaltair
(oaltair)
August 22, 2019, 5:27pm
#6
I’m glad you found my help useful.
Here’s a similar way to do the same thing
1 Like
Choofa
(Choofa)
August 22, 2019, 7:32pm
#7
What is respons code, and why 200?
And what does it mean in the index in list not equal to 0 blocks?
oaltair
(oaltair)
August 22, 2019, 8:12pm
#8
Log in to Airtable, open your database and go to "Help/api/errors
1 Like
Choofa
(Choofa)
August 22, 2019, 8:16pm
#9
Aaaaah, so THAT’S what respons code are, never used before cuz I had no idea what it was for, ty for this tip/info
oaltair
(oaltair)
August 22, 2019, 8:16pm
#10
“index in list…” returns a number, this is the index of the item searched for in the list.
Choofa
(Choofa)
August 22, 2019, 8:18pm
#11
Yes I know, but why not equal to 0? Cuz the list don’t start at 0 but 1?
oaltair
(oaltair)
August 22, 2019, 8:19pm
#12
That’s right, it starts at 1.
1 Like
vknow360
(Sunny Gupta)
August 23, 2019, 12:56am
#13
‘Index in list’ returns 0 if item is not in list.
So to avoid runtime errors there is a ‘not equal to’ block.
1 Like
system
(system)
Closed
September 22, 2019, 12:59am
#14
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.