Need a customized project? We build it to your exact requirements.Contact us on WhatsApp

Free Apps Script Tutorial – ID Search with Totals per User

R17 CRUD & Dashboards Pro Apps Script Pass Business
❤️
Need a Custom Business Solution?
Connect with us on WhatsApp to discuss your requirements. Our team will design and develop a tailored software solution aligned with your business workflow, operational needs, and growth objectives.
R17 | How to Fetch Data from Google Sheet | Fully explained
You get
  • Google Sheet link
  • Source code file
  • Resale rights
  • Edit rights
  • Setup guide
  • AI setup help

Key Features

Every line of the code written and explained on camera Lookup by ID or phone number Daily or monthly sheet chosen before searching Every matching row returned for that ID Count of records found for the user Gross volume totalled across the matches Contract amount totalled Tax totalled Net payable totalled Column positions explained so you can point it at your own data A real coding error hit and fixed on camera Deployed as a Google Apps Script web app

Description

R17 is the build shown line by line. Rather than handing over a finished file and leaving you to work out what it does, the whole lookup is written on camera from the first empty function to the working web app — including a real error hit along the way and fixed on screen.

What gets built

A web app where you choose which sheet to search, daily or monthly, type an ID or phone number, and get back every row stored against it. Under the list come the totals: gross volume, contract amount, tax and net payable, each summed across all the matching rows, with a count of how many entries were found. One user with six service entries returns all six and four totals, which is the answer a person actually wants rather than six rows to add up by hand.

The parts that are explained

Serving the page with doGet and setting its title, opening the spreadsheet, picking the sheet the user selected, reading the data range from row two to the last row and last column, looping the values, matching the identifier against its column, and building the running totals. Column positions are pointed out as they are used, so redirecting it at your own sheet is a matter of changing numbers you have already been shown.

Who this is for

Anyone who wants to stop copying scripts they cannot modify. The code is yours to use as it is, but the value here is understanding it well enough to change it — which columns to sum, what to match on, what to display.

Related file

If you want the finished, report-generating version of this idea rather than the walkthrough, look at R18 in this catalogue.

Requirements

  • A Google account with Drive and Sheets
  • A spreadsheet with a daily and a monthly sheet
  • An identifier column to match on such as an ID or phone number
  • Column positions set for the four totalled fields
  • Deploy as a web app with access set for your users

What's Included

  • Complete Apps Script code for the lookup and totals
  • Every line written and explained on camera
  • Daily or monthly sheet chosen before searching
  • Every matching row returned for the entered ID
  • Gross volume, contract, tax and net payable totalled
  • Count of entries found for that user
  • Column positions explained for pointing it at your own data
  • A real coding error hit and fixed on screen
  • Deployment steps for the web app
  • Step-by-step video walkthrough of the full build
  • Free support from the developer

Item Details

Versionv1.0
PublishedAug 22, 2025
PlatformGoogle Apps Script
DatabaseGoogle Sheets
CategoryCRUD & Dashboards
Tagsfetch data from google sheet apps scriptgoogle apps script tutoriallearn google apps script step by steplive coding apps script tutorialid search with totals web appsum columns for a user iddaily and monthly sheet lookupapps script getvalues loop explained
VideoWatch walkthrough
LicenseRegular License
Subscription Verification Required
This is a free file. Subscribe to our YouTube channel to unlock the source code + Google Sheet. One click — no payment. Google only confirms you are subscribed.
Verify Now
Free download

Subscribe & Unlock Source Code

Subscribe on YouTube, then verify with one click. No payment, no card. Google is used only to confirm your subscription.

What you get

  • Code.gs + HTML filesThe complete Apps Script project
  • Google SheetYour own copy with the data
  • Setup guideInstall steps from start to finish

Not subscribed yet? Subscribe to our channel

Browse More Free Files
Custom development

Need this customized for your business?

Extra modules, your branding, integrations or reports built on top of this file. You get a clear quote and timeline before any work starts, and support after delivery.

400+Projects delivered
91+Countries served

20–30% advance to start · Clear quote before work begins · Support after delivery

What we customize

  • Features & functionsNew features, changes to existing scripts, custom formulas and automations
  • API & integrationsWhatsApp, payment gateways, CRM and more
  • Design & UI changesYour branding, layout redesign, dark mode, mobile layout
  • Full custom projectsDashboards, billing, inventory, CRM, built from scratch
Free
Source Code File

People choose these

Paid picks from the same category

Admin Dashboard with Google Apps Script & React | Complete CRUD System | E21 Admin Dashboard with Google Apps Script & React | Complete CRUD System | E21 178 views this month Apps Script Build a Complete Dynamic CRUD Web Dashboard using Google Sheets + Apps Script + React | E14 Build a Complete Dynamic CRUD Web Dashboard using Google Sheets + Apps Script + React | E14 366 views this month Apps Script How to Build DYNAMIC CRUD Admin Panel with Import/Export | Google Sheets Dashboard | D45 How to Build DYNAMIC CRUD Admin Panel with Import/Export | Google Sheets Dashboard | D45 141 views this month Apps Script

Reviews & Feedback

What buyers and YouTube viewers say about this project.

Sort
@makelifeeasy1917 via YouTube
great video
@zohairdilawar116 via YouTube
Thanks , For the detailed Explanation, Hope you will cover the Explanation for the remaining in the next Video
@pascalkrzeszewski via YouTube
Once again this brilliant. Thank you so much
@WahidRaza-ym9tl via YouTube
Html se surching report customer date between and date fil
@daoodali6922 via YouTube
Yes good job 👍😊
@dipudeepak28 via YouTube
sheet.new type karoge to new sheet open hoti hai just for knowledge
@sabihaalam1858 via YouTube
I like your video. I'm from Bangladesh. You are really great.