Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

How to use the WEEKNUM formula in Google Sheets

In Google Sheets, if you need to know what specific week of the year a date falls on, you can use the WEEKNUM formula to find out. The week numbers will range from 1 to 53.

Syntax

WEEKNUM(date, [type])

  • date – is the input date that the formula uses to determine the week of the year. This can be a reference to a cell that holds a date, or a formula that returns a date. Not only that, it can even be a number that the Google Sheets can evaluate to a date value.
  • type – this is an optional indicator that lets the formula know which day to begin the week. As Google’s documentation explains, the valid inputs for this parameter are 1, 2, 11 through to 17 and 21. There are also two different week numbering systems the formula uses to return the output.
    • System 1: The week containing January 1, is week 1. All types except 21 use this system.
    • System 2: The week that containing the first Thursday of the year is week 1. Type 21 uses this system, which often goes by the name “European system for numbering weeks”.

Now that we have seen what each system signifies, let’s take a look at what each WEEKNUM formula type stands for. Look at the table below. It shows the week’s start day and end day for each type.

39

Automate data transfers between spreadsheets

Find out how

WEEKNUM formula 1

How to use the WEEKNUM Formula

To see the formula in action, take a look at the screenshot below. We have listed a series of dates in column A. The subsequent columns contain the WEEKNUM formulas applied for each available type.

WEEKNUM Formula: Usage

39

Automate data transfers beyond Importrange

Find out how

Let’s pick type 11 and understand how the formula works. Since this type uses System 1 to calculate week numbers, it considers the week with January 1 as week 1. And, according to the previous table, the week starts on Monday and ends on Sunday for this type. Therefore, week 1 spans from January 1, Friday to January 3, Sunday. Week 2 starts from January 4, as it is Monday, and ends on January 10, Sunday.

Now, let’s look at type 21. This uses System 2, which assumes that the week with the first Thursday of the year is week 1. Taking a quick glance at the data, we know that the first Thursday of the year falls on January 8. And, looking at the table in the first screenshot, the week starts on Monday and ends on Sunday for this type as well. So, week 1 starts on Monday January 4 and ends on Sunday January 10. What about the initial three days that are not part of week 1? The WEEKNUM formula assigns them the last week number of the previous year, which is 53 in this case.

Do you need to check what day of the week it was on a given date? In this case, use the WEEKDAY formula in Google Sheets. Read this blog post to learn how to use it.

Week numbers come in handy when you plan by the week. To build a weekly or hourly plan, see how to make a schedule in Google Sheets.

You may also like…

google sheets features and formulas

How to find nominal interest rate using Google Sheets

Sarah is a young professional making significant financial decisions. From credit cards to mortgages, student loans, and investment...
google sheets features and formulas

Pull Google Calendar data into Google Sheets using Apps Script

This post was originally published in our community forum. Objective : This guide demonstrates how to use Google Apps Script to pull data...
google sheets features and formulas

Using the PROPER function to capitalize the first letter of each word in Google Sheets

Note: This post was originally published in our community forum. Ever found yourself needing to clean up a list of names, titles, or any...