Formulas > =SCAN()

How to Use SCAN() in Google Sheets

Description

Scans an array and produces intermediate values by application of a LAMBDA function to each value. Returns an array of the intermediate values obtained at each step.

How To Actually Use SCAN() in Sheets

SCAN(initial_value, array_or_range, LAMBDA)

Try SCAN yourself

In cells A1:A5, enter the numbers 1 through 5. Use the SCAN function to create a running total of these numbers in cells B1:B5.

Hints (3)

Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at BetterSheets.co/formulas

Transcript-matched member videos for SCAN(). Click through to watch.

Watch more tutorials
SubSpyHub Subreddit Scanner

SubSpyHub Subreddit Scanner

I built a subreddit search tool to keep track of subreddits with keyword...
Write Apps Script to Create a New Google Sheets Formula

Write Apps Script to Create a New Google Sheets Formula

Create a brand new custom formula in Apps Script. We'll do this for our ...
Hardest Formula: SumIF | Addition Based on Dates / Values

Hardest Formula: SumIF | Addition Based on Dates / Values

Demystifying the SumIF Formula. Add up your values based on a condition,...
Search Every Function in Google Sheets

Search Every Function in Google Sheets

Built a useful tool to filter Google Sheet formulas based on keywords.

Learn more about the SCAN() formula:

Generate a SCAN() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses SCAN(). 2 free AI generations, no signup. Members get unlimited use.

Generate a SCAN() formula
Ads keep the free stuff free. Members browse ad-free — log in or see pricing.
Big Year 2027 calendar: the whole year on one Google Sheet

Free 2027 calendar.Plan all of 2027 on one Google Sheet, free.

Copy it to your Google Drive.

Free. No password, no card. The sheet link shows up right here.