+ Reply to Thread
Results 1 to 7 of 7

Google Sheets Script or Formula needed for plotting data in ascending order

  1. #1
    Registered User
    Join Date
    11-06-2021
    Location
    tasmania
    MS-Off Ver
    google sheets
    Posts
    6

    Google Sheets Script or Formula needed for plotting data in ascending order

    My query here is just too difficult to explain for me without some visual aid (as I'm new to this stuff and don't know the terms.) so I thought I'd just make a video. If anyone actually watches it and
    responds even if it's to tell me what I'm asking for is impossible I most welcome it and would be grateful.

    Here's the video: (This website won't let me insert links even after I've been here a good while now but as long as you can figure out what to replace "DOT" with in the below link I think you'll be able to figure out how to get there

    youtubeDOTcom/watch?v=WXrWmwQwZzk

    My ultimate goal is to make this whole thing automated to the point where the date and the amount for the day gets done in one hit from a master data sheet. If I could ever get things working to this point
    I would basically not even have a work day and could focus on other things as running my business right now pretty much just involves signing people up and inputting this data on accounts over and over again like
    1000 times.

    Anyway any input at all would be much much appreciated.

    Dan

  2. #2
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Google Sheets Script or Formula needed for plotting data in ascending order

    after watching your video, it seems you are trying to do things a bit backwards....

    what i means is that you can have a master spreadsheet for ALL clients, then for each client do an IMPORTRANGE to the table on each clients separate spreadsheet, which once setup will be automated...
    then the Balance should be pulled from the last row that is not blank, while at the same time plotting to each clients graph.

    doing this way you will only ever need to update your master sheet, and will never need to touch any of the clients sheets.

    also... if desired, it should be possible to get the graph to show on the clients web portal page, which would then mean they do not need to login to google sheets

    there is only one issue i see with this form of management.... it can become bloated as more rows of data are added.. perpetually.
    Last edited by janmorris; 11-18-2021 at 07:24 AM.

  3. #3
    Registered User
    Join Date
    11-06-2021
    Location
    tasmania
    MS-Off Ver
    google sheets
    Posts
    6

    Re: Google Sheets Script or Formula needed for plotting data in ascending order

    Thanks so much for your reply Jan! And for taking the time to watch that. I know my system is a bit all over the place for sure lol but for the most part it's too late to go back now so just trying to work within what we have.
    I'm still not sure exactly what you're telling me though. Specifically the part about the balance being pulled from "the last row that is not blank."

    The way I already have it now is each client has an IMPORTRANGE for the main balance cell back to the master spreadsheet with all clients on it and I put all the figures from all clients in there in like 1 min and that automates to that area fine in all accounts. (And in turn the web portal page) So is what you are proposing is to copy each client's table onto one master sheet and then IMPORTRANGE all relevent cells (date and balance) from there that way I don't have to move the graphs and go into client pages at all and I'm just dealing with filling out data in one place?

    That would definitely save a bunch of time if that's what you mean and I would not need to have any scripting. As for the management becoming bloated.. how I've dealt with that so far is at the end of each month I create a new month graph for each user by duplicating their sheets, deleting the copied data and changing the month title text to the next month thus retaining all the IMPORTRANGE cells etc. so everything just carries on to the next month and saves the previous months data for viewing/history purposes. It's not really an elegant solution and requires a bunch of work to come in and do once a month but then it's only once a month and I can get a few people doing it if need be. I haven't been able to think of a way that shortens or avoids that being done but it's not an unmanageable amount of work at least for now.. One hurdle at a time though

    Again thank you so much for responding. I definitely know I have a long way to go learning about all this stuff but that said I'm also surprised I've got this all even this far.

  4. #4
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Google Sheets Script or Formula needed for plotting data in ascending order

    if i understand what your saying, is like this...

    you currently have each client data on their own sheet, then import that to the master sheet, is that correct?

    the method i was thinking was in reverse, was based on the idea that perhaps you had a master sheet that was sending the current balance data to each clients sheet/file.


    are you able to create a duplicate of the master and 1 or 2 client files, and just have sample (not real) data (like names and other personal info of real people), so that i can see how the sheets work together.

    and upload a text file with the links to the files. (because you probably still cant post links yet as your post count is too low)
    Last edited by janmorris; 11-19-2021 at 03:19 AM.

  5. #5
    Registered User
    Join Date
    11-06-2021
    Location
    tasmania
    MS-Off Ver
    google sheets
    Posts
    6

    Re: Google Sheets Script or Formula needed for plotting data in ascending order

    No no I was definitely always doing it in the way you describe. (Think I was just explaining it incorrectly) The master sheet indeed sends all balances to the clients pages. Anyway since I can't figure out how to attach a file here and you are right the links still don't work so maybe I can just send you the links the same way I did the video. Just remove the DOTs

    TOM TEST CLIENT:
    docsDOTgoogleDOTcom/spreadsheets/d/1szFtW8XbmoN8i46qVUpRbOE0cs62gPNXGt-DCgX-UX0/edit?usp=sharing

    JAMES TEST CLIENT:
    docsDOTgoogleDOTcom/spreadsheets/d/1whDShvtYZBQ3Ofps7qigxCMhalCA4Se2wefSkQZkUV4/edit?usp=sharing

    MASTER CLIENT TEST BALANCE SHEET:
    docsDOTgoogleDOTcom/spreadsheets/d/1iZEEYicFwUK8S96xv631Xto3OglfLCA0M3FOavi-mqw/edit?usp=sharing


    The way I thought you meant isn't such a bad idea the more I think about it because all data would be manipulated in one master balance sheet and another master table sheet and at least then it's being imported from one place to
    all client graphs without the need to touch or move graphs or go to each page at all etc.. I feel like there might still be a faster way because all that IMPORTRANGING of cells would take a chunk of time to set up but it's not bad and would pay off in the long run in hours.

  6. #6
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Google Sheets Script or Formula needed for plotting data in ascending order

    here is the structure i have in mind.

    the master sheet sends data that is specific to each client, to a "buffer" sheet. and this in turn is then sent to the "access" sheet.

    now, you may be wondering why have such a structure.

    well, without a buffer sheet, clients can see the structure of the IMPORTRANGE formulas that draw data from the master sheet, and may (for example) be able to change the client ID and therefore obtain data of other clients. So the "buffer sheet" is a little bit like cloaking, and your clients will never know about the master sheet.

    Think of it as a poor mans security

    drlemur39.png

    Im taking a look at your sheets now, so will update again in the morning.

  7. #7
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Google Sheets Script or Formula needed for plotting data in ascending order

    A quick follow up...

    Here is an example how I, as viewer only, can access other members data from the master sheet.

    Screen Shot 2021-11-19 at 10.00.56 pm.png

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Formula for making numbers in random order change to ascending order
    By bansche123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2021, 09:18 AM
  2. [SOLVED] Google sheets script to download file and save it to google drive folder and use it's data
    By western in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 5
    Last Post: 01-18-2021, 01:31 PM
  3. [SOLVED] Google Sheets: how to match data and return needed value only..
    By ricky82 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 9
    Last Post: 06-02-2020, 05:48 AM
  4. RANK/automatically put my data in highest number order (google sheets)
    By rayted in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 02-28-2020, 01:19 PM
  5. VBA Script to Sort a row in ascending order, then go to next row and repeat
    By WildSpreadsheets in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-16-2019, 11:03 AM
  6. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  7. AScending order of the data using formula
    By Elainefish in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-01-2014, 06:24 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1