I am trying to get user preferences from user profile to the reviews sheet for products. The form that adds data to reviews sheet does populates columns from products but not user sheet. I can use the lookup component in reviews sheet for each column on user profile but my concern is that it doesn’t sync back to sheets or create an array. Ultimate goal is to use images that will display user preferences on users review.
I tried query function: =QUERY(definedrange,“select P, Q, R, S WHERE B=‘unique-email@gmail.com’”) . It works but I can’t replace the value ‘unique-email@gmail.com’ with the cell value . Has anyone been successful in using QUERY or FILTER functions?
@AyS_0908: Thanks for responding. Yes, I tried it but may be didn’t format it correctly. I am still a nb with sheets formula. Would you mind telling me if this is the correct way:
=QUERY(definedrange,“select P, Q, R, S WHERE B=‘&A2&’”)
If you’re ok with showing me the data structure you’re having in place I would appreciate it. Want to have a live look to provide better recommendations if I can.
Are these values allowed to change on the reviews if a user changes preferences, or are set once the review is written?
I’m thinking template columns either on the products sheet or the reviews sheet, that pull values from the user profiles sheet, depending on what you are trying to do.
@Jeff_Hager: I am okay with either of the solutions. I will be using these for relations with another sheet.
I noticed another post in which you had recommended this and it worked for the person who had asked the question. However, I wasn’t able to reproduce that. Specifically, I don’t know how to use template column to pull columns from another sheet.
The formula you used with ARRAYFORMULA and VLOOKUP works and doesn’t .
It pulls the data in reviews sheet exactly the way I want. However, two issues exist- 1. New reviews don’t sync back to Google sheets 2. Glide shows the reviews in its own database and app one minute and next minute those are gone. It has happened 4 times by now. I am guessing that Glide’s system doesn’t like VLOOKUP or there is a sync issue. I will try again an let you know.
I’m picturing values that you have in the user profile sheet. When creating template columns in other sheets, you can include values from the user profile. These values you could possibly pass into a form, or simply just use them for display in the app.
This is interesting. I am doing exactly that and for some reason the user sheet or other sheets are not visible as choice in my template menu.
Do you have unique ID row in your original sheet (non-user sheet)? I have that. Could that have anything to do with it?