# Data from a user-specific column into my google sheet?

**URL:** <https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524>\
**Category:** Ask for Help\
**Created:** [June 30, 2021, 3:48pm UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524 "2021-06-30T15:48:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![baremeter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/baremeter/32/28090_2.png) [@baremeter](https://community.glideapps.com/u/baremeter)\
**Post date:** [June 30, 2021, 3:48pm UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/1 "2021-06-30T15:48:41Z")

</div>

I have a google sheet with some quite complex calculations, that include 4 data entry cells.  
I had it working fine, but then realised that the 4 columns that are for data entry needed to be user-specific.  
I know that I cannot change a column in Glide to user-specific once created.  
I then created 4 new columns for the data input that are user-specific, but they do not appear in the Google Sheet.

So then I thought if I create new column in the google sheet then I could make them math columns in Glide and then get the data from the new user-specific columns for that data to appear in the Google sheet. they don’t appear in Google sheets.

So my basic question is how do I get user-specific data from Glide into my Google sheet in order that I can perform the calculations…  
HELP

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [June 30, 2021, 3:57pm UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/2 "2021-06-30T15:57:36Z")

</div>

What are the calculations that need to be done?  
You might find that they can be done in Glide.

The only way to have a “user specific” column in your GSheet is to have a dedicated row for each user. eg your User Profiles sheet, for example.

---

<div class="post-metadata">

**Author:** ![baremeter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/baremeter/32/28090_2.png) [@baremeter](https://community.glideapps.com/u/baremeter)\
**Post date:** [July 1, 2021, 9:27am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/3 "2021-07-01T09:27:12Z")

</div>

Hi  
I have several Glide Tables with user-specific columns that allow users to input a number, it then performs a calculation and shows their own result based on that input, when the calculations are performed with Glide…  
What I need to do is to be able to move that input from a user-specific number entry column in Glide into my GS to perform the calculation there instead of inside Glide.  
I cannot find a way of passing that data from the user-specific column into a column that was created in GS. If I could make the column that was created in GS into a math column or somehow mirror the data then it would work.  
I don’t think that the calculations that I need to perform can be done with Glide - (Googlefinance) hence my need to transfer the number into GS.  
HELP !

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 1, 2021, 9:44am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/4 "2021-07-01T09:44:17Z")

</div>

In order to make columns “user specific” in your Google Sheet, you will need to have a dedicated row for each user.

Probably the best way to do this is to just make it part of your User Profiles sheet.  
So…

- Create a column in your User Profiles sheet to hold the input value, and a second column to hold the result (note: these columns should NOT be User Specific)
- When a user enters the input value, it will sync back to the Google Sheet
- You then have your formula in the Result column, and the result will sync back to Glide and become available for use.

Note that you will need to ensure that you either:

- a) Have Row Owners enabled, or
- b) Have a filter applied “where email is signed in user”

…otherwise you’ll have all users writing to the same row and clobbering each others data.

---

<div class="post-metadata">

**Author:** ![baremeter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/baremeter/32/28090_2.png) [@baremeter](https://community.glideapps.com/u/baremeter)\
**Post date:** [July 1, 2021, 9:50am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/5 "2021-07-01T09:50:23Z")

</div>

Sorry but I don’t agree!  
I have several Glide tables that have a user-specific column and this seems to be enough to allow individual users to enter their data to perform a calculation and another user can be doing the same thing and they do not see the other users input or calculated result.  
I do have a user profile table but non of my calculation are carried out within that table!  
I test this on a regular basis with two phone entering data at the same time…

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 1, 2021, 9:54am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/6 "2021-07-01T09:54:49Z")

</div>

What exactly is it that you don’t agree with?

User Specific columns _only_ exist in Glide. This is not an opinion, it is a fact. If you need data from your app to sync back to your Google Sheet, then it must be in a non-computed, non user-specific column. There is no getting around that.

---

<div class="post-metadata">

**Author:** ![baremeter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/baremeter/32/28090_2.png) [@baremeter](https://community.glideapps.com/u/baremeter)\
**Post date:** [July 1, 2021, 9:59am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/7 "2021-07-01T09:59:33Z")

</div>

That “…otherwise you’ll have all users writing to the same row and clobbering each others data.”  
Please don’t take offence at my not agreeing!

All I am trying to do is to pass info from a user-defined column into a column in my GS - there obviously is no way to do this…  
The problem that I have is that I need to pass a year and a month into my GS so that it can retrieve the data from. **GoogleFinance** and I don’t think that it can be done from inside Glide - or can it ?

---

<div class="post-metadata">

**Author:** ![baremeter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/baremeter/32/28090_2.png) [@baremeter](https://community.glideapps.com/u/baremeter)\
**Post date:** [July 1, 2021, 10:01am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/8 "2021-07-01T10:01:21Z")

</div>

so, if i put the GOOGLEFINANCE bit into my user profile GS I don’t need user-specific column and it should work?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 1, 2021, 10:06am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/9 "2021-07-01T10:06:55Z")

</div>

> [@baremeter](#):
>
> That “…otherwise you’ll have all users writing to the same row and clobbering each others data.”  
> Please don’t take offence at my not agreeing!

None taken

> [@baremeter](#):
>
> All I am trying to do is to pass info from a user-defined column into a column in my GS - there obviously is no way to do this…

Correct.

Edit: Actually, it depends what you mean by that. No, a User Specific column will _never_ sync directly with your Google Sheet. But, you can take a value from a User Specific column and write that value into a basic (non-user specific) column, which will then in turn sync back to your Google Sheet. So yes, it can be done indirectly - and that’s essentially what I described just below ⬇

> [@baremeter](#):
>
> The problem that I have is that I need to pass a year and a month into my GS so that it can retrieve the data from. **GoogleFinance** and I don’t think that it can be done from inside Glide - or can it ?

Yes, it can. A little bit of Glide Date Math will help you there. So to expand on my earlier suggestion, you’ll need a couple of extra columns. Let’s assume your users are entering a date using a date picker component, and the date goes into a column called “Date”…

- Create two math columns, one to extract the year from the date (`Year(Date)`), and another to extract the month from the Date (`Month(Date)`)
- Now you need two extra columns in your Google Sheet - one to hold the Year value and one to hold the Month value. (Once again, these _cannot_ be User Specific columns)
- When your user submits, create an action that takes the values from the two math columns, and writes them to the corresponding Year/Month columns

---

<div class="post-metadata">

**Author:** ![baremeter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/baremeter/32/28090_2.png) [@baremeter](https://community.glideapps.com/u/baremeter)\
**Post date:** [July 1, 2021, 10:28am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/10 "2021-07-01T10:28:35Z")

</div>

Ok I can see the logic but when a user is in say row 2, and the calculations are performed in row 1 - how can I show the result?

 ![Screenshot 2021-07-01 at 12.23.18](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/d/3df3a31abb217a5a44962241396a7551fbd2a690.png)  
Do have to duplicate the calculations down the sheet - ?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 1, 2021, 10:30am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/11 "2021-07-01T10:30:51Z")

</div>

Yeah, you’ll need an arrayformula.

You asked for help with this a couple of days ago, yeah?  
If you’re not sure how to create an arrayformula, show me your current formula and I’ll help you convert it.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 1, 2021, 10:37am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/12 "2021-07-01T10:37:24Z")

</div>

I just realised something - the result of this formula you are using spans several rows, correct?  
That complicates things somewhat…

---

<div class="post-metadata">

**Author:** ![baremeter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/baremeter/32/28090_2.png) [@baremeter](https://community.glideapps.com/u/baremeter)\
**Post date:** [July 1, 2021, 10:43am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/13 "2021-07-01T10:43:04Z")

</div>

Yes indeed  
…as the result that I am using is in the “Month value” column and that is a lookup of the Close and Month columns.  
The info for the close column (52 rows) is using the data collected from GoogleFinance and is specific to the info request Year / Month for each user.

---

<div class="post-metadata">

**Author:** ![baremeter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/baremeter/32/28090_2.png) [@baremeter](https://community.glideapps.com/u/baremeter)\
**Post date:** [July 1, 2021, 10:46am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/14 "2021-07-01T10:46:13Z")

</div>

so each time a user put in the year and month, GoogleFinance has to retrieve the data - 52 rows in all. I then LOOKUP to extract the month and the corresponding close figure…

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 1, 2021, 10:52am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/15 "2021-07-01T10:52:57Z")

</div>

Okay, so I think we’ve been down a bit of an [XY rabbit hole](https://community.glideapps.com/t/setting-empty-cells-with-set-column-and-increment-not-working/24379/29) here. Might be time to take a step back a little bit. Here is what I understand so far:

- You users will enter a date
- You need to extract the year and month from that date and pass the values back to your Google Sheet
- Those values are then passed to a googlefinance formula, and the result of that formula spans 52 rows (one row for each week of the year?)
- So what needs to happen next?
- Do you need all 52 rows back in Glide?
- Or do you need to pick out a specific row/value and send that back to Glide?

If I’m one of your users, and I enter a date, what should I expect to see when the dust has settled?

---

<div class="post-metadata">

**Author:** ![Mike\_Greene](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mike_greene/32/5942_2.png) [@Mike\_Greene](https://community.glideapps.com/u/Mike_Greene)\
**Post date:** [July 1, 2021, 10:56am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/16 "2021-07-01T10:56:24Z")

</div>

Hi Daren  
Let me make a cut down copy of the app and send you a link to copy - would that help?  
Thanks

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 1, 2021, 11:00am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/17 "2021-07-01T11:00:12Z")

</div>

Sure. I assume you are @baremeter wearing a different suit? 😃

---

<div class="post-metadata">

**Author:** ![Mike\_Greene](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mike_greene/32/5942_2.png) [@Mike\_Greene](https://community.glideapps.com/u/Mike_Greene)\
**Post date:** [July 1, 2021, 11:13am UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/18 "2021-07-01T11:13:38Z")

</div>

Yes  
I switched Google accounts but for some reason I’ve logged i may have on a different one  
I’ll get it over to you in half an hour - just switched off for lunch and brain cooling !  
Mike

---

<div class="post-metadata">

**Author:** ![baremeter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/baremeter/32/28090_2.png) [@baremeter](https://community.glideapps.com/u/baremeter)\
**Post date:** [July 1, 2021, 12:03pm UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/19 "2021-07-01T12:03:34Z")

</div>

Hi Darren  
I have made a copy the data that I am using / testing - it is now all in the profile section  
when you open the app, to get to the page in question, click on the Baremeter menu tab, then click on “currency calculators and FCD info” and then on "compare £ rates…)  
I really do appreciate your assistance

> **[FX test Baremeter](https://fx-baremeter-test.glideapp.io/)**
>
> V21.06

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 1, 2021, 1:21pm UTC](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524/20 "2021-07-01T13:21:27Z")

</div>

After looking at your app and sheet, I think my suggestion would be to make a static copy of the historical rates in a separate sheet, and then you can do a direct lookup and bypass the googlefinance function.

This suggestion is based on the following observations and assumptions:

- You are only using historical rates, so there is no requirement for “realtime” data
- You are only doing a single currency to currency comparison
- You’re just using the rate returned for the first week of of each month
- As far as I can see, historical rates for GBP to Euro are only available back to about 1999

So… a static copy of the entire historical rate set would occupy around 250 rows in a sheet (12 months x 22 years). If row count isn’t a big problem, you could use that sheet in Glide and then be able to return instant results with a template/relation/lookup column combination.

[Next page](https://community.glideapps.com/t/data-from-a-user-specific-column-into-my-google-sheet/28524.md?page=2)
