You are on page 1of 6

OFFSET Function

=OFFSET(reference,rows,cols,
height,width)
1
2
3
4

Find sales amount for selected month


Sum the selected month's sales
Create a dynamic range based on count
Sum the last n month's sales

www.contextures.com

Sales

Month

###
###

Jan
Feb

###
###
###
###
###

Mar
Apr
May
Jun
Jul

Row Sales Month


4
215
Apr

Find sales amount for selected month

www.contextures.com

East
West
North
South

Jan
935
926
696
849

Month
3

Feb
528
944
814
988

Mar
724
788
758
575

Total
2845

Sum the selected month's sales

www.contextures.com

Jan
Feb
Mar
Apr
May
Jun

Month
Mar

Create a dynamic range based on count


=OFFSET('Ex03'!$C$1,0,0,COUNTA('Ex03'!$C:$C),1)

www.contextures.com

Month
Jan-10
Feb-10
Mar-10
Apr-10
May-10
Jun-10
Jul-10
Aug-10
Sep-10

Qty
10
20
30
40
50
60
70
80
90

Months
2

Sum the last n month's sales

www.contextures.com

Total
170

Contextures Links
Contextures Excel Tips Website
Contextures Excel Blog
Excel Pivot Tables Blog
Excel Theatre Blog (the lighter side of Excel)
Debra's Pivot Table Books on Amazon
30 Excel Functions in 30 Days eBook Kit

Contextures Recommends
Jon Peltier's Excel Chart Utilities
ExcelUser Dashboards
Chandoo's Project Management Templates
JP's Random Data Generator for Excel

www.contextures.com

11/01/2016

You might also like