SlideShare a Scribd company logo
1 of 7
Download to read offline
Calculating Cash Flow Using Excel Data Lists
By: Curtis D. Frye
7/26/2006
Bank and credit card statements tell you where your money has gone, but they don’t
show you how much money you’ll have on hand after your checks clear. You can use
your checkbook’s register to calculate those totals by hand, but it’s much easier to let
Excel do the math for you.
There is a trick to creating formulas that allow you to delete rows without causing errors
in your worksheet. This technique, which uses the OFFSET function, avoids problems
associated with formulas that reference cells directly.
In this article, I’ll show you how to create a data list to manage your upcoming
transactions, add and delete rows from the list, and accurately calculate a running balance
using the OFFSET function.
Managing Excel Data Lists
I prefer to manage my cash flow worksheet using an Excel 2003 data list because of the
list’s built-in data entry, sorting, and filtering capabilities. You can also project your
future cash flow in Excel 2002 and prior versions, or in Excel 2003 should you prefer not
to organize your data as a list.
Creating a Data List in Excel 2003
Here’s a look at the data list I use to project my cash flow (don’t be jealous…I made up
the numbers). Assume that the current date is 7/17/2006 and that I’m projecting the
income and expenses to come in the next month.
2
Copyright 2006, Technology and Society, Incorporated
To create a data list in Excel 2003, follow these steps:
1. Type a series of column headers in cells at the top of your intended list.
2. Format the column header cells using Bold type and center alignment.
3. Type your first row of list data.
4. Select the header and data cells.
5. Choose Data | List | Create List.
6. In the Create List dialog box, check the My List Has Headers box, and then click
OK.
When you select a cell in the data list, Excel displays a data entry row at the bottom of
the list. All you need to do is type your data in the new row and press the Tab key to save
the data and create a new row.
But what if you want to add an entry that’s out of order? For example, suppose you have
the following list and want to add an expense you expect to occur on August 2. Adding
the expense at the bottom of the list means the expense falls out of the proper sequence.
The temporary disorder poses no real problem. Just type in the new data row, and then
sort the data list so that it is once again in date order.
To sort a data list, follow these steps:
1. Click the filter arrow at the right edge of the column header by which you want to
sort the list.
2. Click Sort Ascending.
3
Copyright 2006, Technology and Society, Incorporated
The following image shows the result.
When a transaction clears, you edit the opening balance (cell E4) and delete the cleared
transactions from the list. To delete a row from a data list, follow these steps:
1. Click any cell in the data list to activate it.
2. Right-click any cell in the list row you want to delete, point to Delete, and then
click Row.
Also notice that the right-most column contains a running total derived from the previous
row’s balance and the income or expense in the current row. Later in this article, I’ll
show you the exact formula I used.
Creating a Data Table without Using a Data List
If you use Excel 97-2002, or if you’re using Excel 2003 and prefer not to create a data
list, you can lay out your data using the same pattern.
When you arrange your data as a table, with differently-formatted column headers and
your data in rows, you can sort the table in the same manner as an Excel 2003 data list.
4
Copyright 2006, Technology and Society, Incorporated
To sort an Excel 97-2002 data table, follow these steps:
1. Click any cell in the data table.
2. Click Data | Filter | AutoFilter.
3. Click the filter arrow at the right edge of the column header by which you want to
sort the list.
4. Click Sort Ascending.
You can delete a row in your data table by right-clicking any cell in the row and then
clicking Delete. In the Delete dialog box, check the Entire Row option button and then
click OK.
Calculating a Running Balance
My data list contains columns for the following data:
• Transaction date
• Income amount (if any)
• Expense amount (if any)
• A description of the transaction
• The balance resulting from the transaction
The last column uses a formula to calculate the balance resulting from each transaction.
As it turns out, there is a right way and a wrong way to create the formula to calculate
those results.
How Not to Calculate a Running Balance
I always type my opening balance in the first list row; in this case, cell E4. For the next
row, and all subsequent rows, I’ll have to add income to and subtract expenses from the
preceding row’s balance to calculate my running balance. Given the data list in the
previous graphic, that formula is =E4+B5-C5. Because the formula contains relative
references, which change when you copy the formula to another cell, you can copy the
formula down the list’s Balance column.
To copy the formula to other cells in the Balance column, follow these steps:
1. Select the cell that contains the formula.
2. Drag the fill handle from the bottom right corner of the selected cell to cover the
cells in the remainder of the column.
What’s more, when you type a new row of data into the table, Excel creates the formula
in the Balance column for you.
Unfortunately, this formula doesn’t adapt properly when you delete a list row. Here’s
what happens when you delete the transaction from 8/2/2006.
5
Copyright 2006, Technology and Society, Incorporated
When you delete the row, the formula in the next row loses its reference, causing a
reference (#REF!) error. Editing the first broken formula so that it refers to the proper cell
in the Balance column also fixes the rest of the formulas in the column, but it’s a pain to
have to make that change every time you delete a list row. And what if someone else
maintains your list while you’re away? If they don’t know what’s wrong, they won’t be
able to fix it.
Calculating a Running Balance Correctly
Fortunately, you can create a different, albeit more complex, formula that doesn’t break
when you delete a row from a data list. That formula uses several instances of the
OFFSET function, which has the following syntax:
OFFSET(reference, rows, columns, [height], [width])
Note: The last two arguments, [height] and [width], which enable you to return
values from a range of cells, are optional. I won’t use them in this explanation.
The OFFSET function returns the value of a cell a specified number of rows and columns
away from the cell that contains the formula. Positive numbers cause Excel to look down
or to the right, while negative numbers go up or to the left. For example, the formula
OFFSET(E5,-1,0) returns the value from E4, the cell one row above cell E5 (the zero
in the column argument place means Excel doesn’t move left or right to find the value).
Similarly, the formula OFFSET(E6,0,-3) finds the value in B6, the cell three columns
to the left of cell E6.
6
Copyright 2006, Technology and Society, Incorporated
Using the worksheet above, which has the running balance in column E, income in
column B, and expenses in column C, the following formula calculates the running
balance for cell E5:
=OFFSET(E5,-1,0)+OFFSET(E5,0,-3)-OFFSET(E5,0,-2)
The three OFFSET functions point to these cells:
• OFFSET(E5,-1,0) points one row above and zero columns to the left or right
of cell E5, which is cell E4
• OFFSET(E5,0,-3) points zero rows above or below and three columns to the
left of cell E5, which is cell B5
• OFFSET(E5,0,-2) points zero rows above or below and two columns to the
left of cell E5, which is cell C5
The formula =OFFSET(E5,-1,0)+OFFSET(E5,0,-3)-OFFSET(E5,0,-2)
derives its result using the same values as the formula =E4+B5–C5, but it doesn’t break
when you delete a row that contains a cell used in the formula.
To copy the formula to other cells in the Balance column, follow these steps:
1. Select the cell that contains the OFFSET-based formula.
2. Drag the fill handle from the bottom right corner of the selected cell to cover the
cells in the remainder of the column.
Because the OFFSET formula uses relative references, Excel modifies the formula to
reflect the formula’s new position.
Why Does the OFFSET Function Work?
Why is it that the formula that contains the cell references breaks, but the formula that
contains the OFFSET functions doesn’t? It’s all in how Excel understands the references
within the formula.
7
Copyright 2006, Technology and Society, Incorporated
When you create a formula that contains a cell reference, such as E4, Excel takes your
word that it is to use the value found in cell E4. When you delete the row that contains
cell E4, Excel recognizes that the cell you wanted is gone and displays a #REF! error.
Yes, the cell that was formerly E5 moves up a row into position E4, but the original E4
cell is no longer there. That’s why Excel displays the error message.
The OFFSET function, by contrast, references a cell indirectly. Internally, Excel notes the
base cell and how far to move (and in which direction) to find the target cell. My best
guess is that Excel stores all of the arguments in an OFFSET function as indirect
references and updates the references when the worksheet’s structure changes.
Curtis D. Frye is a Microsoft Office Excel MVP and freelance author living in Portland,
Oregon. He is the author of Microsoft Office Excel 2007 Step by Step, Microsoft Office
Excel 2007 Plain & Simple, several other books published by Microsoft Learning, and
numerous online articles regarding Microsoft Office Excel, the 2007 Microsoft Office
system, and business intelligence analysis.
Before beginning his writing career in 1995, Curt spent four years with The MITRE
Corporation as a defense trade analyst and one year as Director of Sales and Marketing
for Digital Gateway Systems, an internet service provider. When not writing, Curt is a
professional improvisational comedian with Portland's ComedySportz group.
You may freely redistribute and publish this article as long as you publish the entire
article, retain all attribution information and the copyright notice, and don’t make a profit
from the publication.

More Related Content

What's hot

Product Design & Development - 1
Product Design & Development - 1Product Design & Development - 1
Product Design & Development - 1QRCE
 
Variable refrigerant flow systems
Variable refrigerant flow systemsVariable refrigerant flow systems
Variable refrigerant flow systemsVAHAB ABDUL
 
IMPORTANCE & PURPOSES OF SPECIFICATION
IMPORTANCE & PURPOSES OF SPECIFICATIONIMPORTANCE & PURPOSES OF SPECIFICATION
IMPORTANCE & PURPOSES OF SPECIFICATIONSagar Kaptan
 
Network Problem CPM & PERT
Network Problem CPM &  PERTNetwork Problem CPM &  PERT
Network Problem CPM & PERTPulchowk Campus
 
Product Design and Development
Product Design and DevelopmentProduct Design and Development
Product Design and DevelopmentSURYAPRAKASH S
 
Elevator & Its working principle
Elevator & Its working principleElevator & Its working principle
Elevator & Its working principleAhmed Rezaur Rahman
 
Construction equipments - Introduction and Classification
Construction equipments - Introduction and ClassificationConstruction equipments - Introduction and Classification
Construction equipments - Introduction and ClassificationSagar Radadiya
 
Tender Process | A Complete Procurement Guide
Tender Process | A Complete Procurement GuideTender Process | A Complete Procurement Guide
Tender Process | A Complete Procurement GuideTender Process
 
Concurrent engineering
Concurrent engineeringConcurrent engineering
Concurrent engineeringparagmahajan01
 
HVAC System (Heating, Ventilation and Air Conditioning)
HVAC System (Heating, Ventilation and Air Conditioning)HVAC System (Heating, Ventilation and Air Conditioning)
HVAC System (Heating, Ventilation and Air Conditioning)Maliha Mehr
 
Concept of production
Concept of productionConcept of production
Concept of productionKeshav Bhatia
 

What's hot (20)

Product Design & Development - 1
Product Design & Development - 1Product Design & Development - 1
Product Design & Development - 1
 
Variable refrigerant flow systems
Variable refrigerant flow systemsVariable refrigerant flow systems
Variable refrigerant flow systems
 
Security Deposit
Security DepositSecurity Deposit
Security Deposit
 
IMPORTANCE & PURPOSES OF SPECIFICATION
IMPORTANCE & PURPOSES OF SPECIFICATIONIMPORTANCE & PURPOSES OF SPECIFICATION
IMPORTANCE & PURPOSES OF SPECIFICATION
 
Air conditioning system
Air conditioning systemAir conditioning system
Air conditioning system
 
Air conditioning system
Air conditioning systemAir conditioning system
Air conditioning system
 
Network Problem CPM & PERT
Network Problem CPM &  PERTNetwork Problem CPM &  PERT
Network Problem CPM & PERT
 
Hvac
Hvac Hvac
Hvac
 
114 site layout
114 site layout114 site layout
114 site layout
 
Product Design and Development
Product Design and DevelopmentProduct Design and Development
Product Design and Development
 
Elevator & Its working principle
Elevator & Its working principleElevator & Its working principle
Elevator & Its working principle
 
Hvac complete final
Hvac complete finalHvac complete final
Hvac complete final
 
Construction equipment management chapter 2
Construction equipment management chapter 2Construction equipment management chapter 2
Construction equipment management chapter 2
 
Construction equipments - Introduction and Classification
Construction equipments - Introduction and ClassificationConstruction equipments - Introduction and Classification
Construction equipments - Introduction and Classification
 
Additive manufacturing ppt
Additive manufacturing pptAdditive manufacturing ppt
Additive manufacturing ppt
 
Tender Process | A Complete Procurement Guide
Tender Process | A Complete Procurement GuideTender Process | A Complete Procurement Guide
Tender Process | A Complete Procurement Guide
 
Air-conditioning system
Air-conditioning systemAir-conditioning system
Air-conditioning system
 
Concurrent engineering
Concurrent engineeringConcurrent engineering
Concurrent engineering
 
HVAC System (Heating, Ventilation and Air Conditioning)
HVAC System (Heating, Ventilation and Air Conditioning)HVAC System (Heating, Ventilation and Air Conditioning)
HVAC System (Heating, Ventilation and Air Conditioning)
 
Concept of production
Concept of productionConcept of production
Concept of production
 

Similar to Cash flow using excel

Workshop Presetation.pptx
Workshop Presetation.pptxWorkshop Presetation.pptx
Workshop Presetation.pptxJanineCanlas1
 
Introduction of Excel and describe the excel
Introduction of Excel and describe the excelIntroduction of Excel and describe the excel
Introduction of Excel and describe the excelparmjeetsingh5014
 
22-excel-basics-15511.ppt
22-excel-basics-15511.ppt22-excel-basics-15511.ppt
22-excel-basics-15511.ppt20ArnavKumar8F
 
27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a Superstar27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a SuperstarAlan Murray
 
EXCEL-VLOOKUP-AND-HLOOKUP LECTURE NOTES ALL EXCEL VLOOKUP NOTES PDF
EXCEL-VLOOKUP-AND-HLOOKUP LECTURE NOTES ALL EXCEL VLOOKUP NOTES PDFEXCEL-VLOOKUP-AND-HLOOKUP LECTURE NOTES ALL EXCEL VLOOKUP NOTES PDF
EXCEL-VLOOKUP-AND-HLOOKUP LECTURE NOTES ALL EXCEL VLOOKUP NOTES PDFProject Cubicle
 
CBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptxCBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptxEdwinAdeolaOluwasina1
 
Basics of excel for beginners
Basics of excel for beginnersBasics of excel for beginners
Basics of excel for beginnersJitesh Khushalani
 
Functions and formulas of ms excel
Functions and formulas of ms excelFunctions and formulas of ms excel
Functions and formulas of ms excelmadhuparna bhowmik
 
Excel lesson 1
Excel lesson 1Excel lesson 1
Excel lesson 1spirax1681
 
Excel training by rajesh p
Excel training by rajesh pExcel training by rajesh p
Excel training by rajesh pRajesh P
 

Similar to Cash flow using excel (20)

Workshop Presetation.pptx
Workshop Presetation.pptxWorkshop Presetation.pptx
Workshop Presetation.pptx
 
Intro_Excel_FA12.ppt
Intro_Excel_FA12.pptIntro_Excel_FA12.ppt
Intro_Excel_FA12.ppt
 
Introduction of Excel and describe the excel
Introduction of Excel and describe the excelIntroduction of Excel and describe the excel
Introduction of Excel and describe the excel
 
ITB - UNIT 4.pdf
ITB - UNIT 4.pdfITB - UNIT 4.pdf
ITB - UNIT 4.pdf
 
Excel training
Excel trainingExcel training
Excel training
 
22 Excel Basics
22 Excel Basics22 Excel Basics
22 Excel Basics
 
22-excel-basics-15511.ppt
22-excel-basics-15511.ppt22-excel-basics-15511.ppt
22-excel-basics-15511.ppt
 
27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a Superstar27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a Superstar
 
MS EXCEL.ppt
MS EXCEL.pptMS EXCEL.ppt
MS EXCEL.ppt
 
EXCEL-VLOOKUP-AND-HLOOKUP LECTURE NOTES ALL EXCEL VLOOKUP NOTES PDF
EXCEL-VLOOKUP-AND-HLOOKUP LECTURE NOTES ALL EXCEL VLOOKUP NOTES PDFEXCEL-VLOOKUP-AND-HLOOKUP LECTURE NOTES ALL EXCEL VLOOKUP NOTES PDF
EXCEL-VLOOKUP-AND-HLOOKUP LECTURE NOTES ALL EXCEL VLOOKUP NOTES PDF
 
CBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptxCBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptx
 
Basics of excel for beginners
Basics of excel for beginnersBasics of excel for beginners
Basics of excel for beginners
 
Excel booklet
Excel bookletExcel booklet
Excel booklet
 
Advanced Excel ppt
Advanced Excel pptAdvanced Excel ppt
Advanced Excel ppt
 
Tech training workshop 3 final 090810
Tech training   workshop 3 final 090810Tech training   workshop 3 final 090810
Tech training workshop 3 final 090810
 
Functions and formulas of ms excel
Functions and formulas of ms excelFunctions and formulas of ms excel
Functions and formulas of ms excel
 
Excel lesson 1
Excel lesson 1Excel lesson 1
Excel lesson 1
 
3 inner plumbing Excel tips
3 inner plumbing Excel tips3 inner plumbing Excel tips
3 inner plumbing Excel tips
 
Excel training by rajesh p
Excel training by rajesh pExcel training by rajesh p
Excel training by rajesh p
 
AAG_Excel_2010_Formulas_and_Functions
AAG_Excel_2010_Formulas_and_FunctionsAAG_Excel_2010_Formulas_and_Functions
AAG_Excel_2010_Formulas_and_Functions
 

More from Malika khalil

Spot speed studies.ppt .mylan nejyar
Spot speed studies.ppt .mylan nejyarSpot speed studies.ppt .mylan nejyar
Spot speed studies.ppt .mylan nejyarMalika khalil
 
Design of two way slabs(d.d.m.)
Design of two way slabs(d.d.m.)Design of two way slabs(d.d.m.)
Design of two way slabs(d.d.m.)Malika khalil
 
Chap 26 isometric drawing
Chap 26 isometric drawingChap 26 isometric drawing
Chap 26 isometric drawingMalika khalil
 
Simple formulas excel
Simple formulas excelSimple formulas excel
Simple formulas excelMalika khalil
 
Examples on total consolidation
Examples on total  consolidationExamples on total  consolidation
Examples on total consolidationMalika khalil
 
Examples on stress distribution
Examples on stress distributionExamples on stress distribution
Examples on stress distributionMalika khalil
 
Examples on effective stress
Examples on effective stressExamples on effective stress
Examples on effective stressMalika khalil
 
Examples on soil classification
Examples on soil classification Examples on soil classification
Examples on soil classification Malika khalil
 
1 reinforced concrete lectures-t-beam2
1 reinforced concrete lectures-t-beam21 reinforced concrete lectures-t-beam2
1 reinforced concrete lectures-t-beam2Malika khalil
 
4 pages from matlab an introduction with app.-2
4 pages from matlab an introduction with app.-24 pages from matlab an introduction with app.-2
4 pages from matlab an introduction with app.-2Malika khalil
 
Design of column trail and error example
Design of column trail and error exampleDesign of column trail and error example
Design of column trail and error exampleMalika khalil
 
Design of one way slab exampe
Design of one way slab exampeDesign of one way slab exampe
Design of one way slab exampeMalika khalil
 
Phase relations soil analysis
Phase relations soil analysisPhase relations soil analysis
Phase relations soil analysisMalika khalil
 
Lec 4 solids environment
Lec 4 solids environmentLec 4 solids environment
Lec 4 solids environmentMalika khalil
 

More from Malika khalil (17)

Spot speed studies.ppt .mylan nejyar
Spot speed studies.ppt .mylan nejyarSpot speed studies.ppt .mylan nejyar
Spot speed studies.ppt .mylan nejyar
 
Design of two way slabs(d.d.m.)
Design of two way slabs(d.d.m.)Design of two way slabs(d.d.m.)
Design of two way slabs(d.d.m.)
 
Twri3 a5
Twri3 a5Twri3 a5
Twri3 a5
 
Ch.1 fluid dynamic
Ch.1 fluid dynamicCh.1 fluid dynamic
Ch.1 fluid dynamic
 
Chap 26 isometric drawing
Chap 26 isometric drawingChap 26 isometric drawing
Chap 26 isometric drawing
 
Simple formulas excel
Simple formulas excelSimple formulas excel
Simple formulas excel
 
Examples on seepage
Examples on seepageExamples on seepage
Examples on seepage
 
Examples on total consolidation
Examples on total  consolidationExamples on total  consolidation
Examples on total consolidation
 
Examples on stress distribution
Examples on stress distributionExamples on stress distribution
Examples on stress distribution
 
Examples on effective stress
Examples on effective stressExamples on effective stress
Examples on effective stress
 
Examples on soil classification
Examples on soil classification Examples on soil classification
Examples on soil classification
 
1 reinforced concrete lectures-t-beam2
1 reinforced concrete lectures-t-beam21 reinforced concrete lectures-t-beam2
1 reinforced concrete lectures-t-beam2
 
4 pages from matlab an introduction with app.-2
4 pages from matlab an introduction with app.-24 pages from matlab an introduction with app.-2
4 pages from matlab an introduction with app.-2
 
Design of column trail and error example
Design of column trail and error exampleDesign of column trail and error example
Design of column trail and error example
 
Design of one way slab exampe
Design of one way slab exampeDesign of one way slab exampe
Design of one way slab exampe
 
Phase relations soil analysis
Phase relations soil analysisPhase relations soil analysis
Phase relations soil analysis
 
Lec 4 solids environment
Lec 4 solids environmentLec 4 solids environment
Lec 4 solids environment
 

Recently uploaded

(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Economic History of the U.S. Lecture 23.pdf
The Economic History of the U.S. Lecture 23.pdfThe Economic History of the U.S. Lecture 23.pdf
The Economic History of the U.S. Lecture 23.pdfGale Pooley
 
20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdfAdnet Communications
 
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikHigh Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
The Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdfThe Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdfGale Pooley
 
Q3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast SlidesQ3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast SlidesMarketing847413
 
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptxOAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptxhiddenlevers
 
Quarter 4- Module 3 Principles of Marketing
Quarter 4- Module 3 Principles of MarketingQuarter 4- Module 3 Principles of Marketing
Quarter 4- Module 3 Principles of MarketingMaristelaRamos12
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptxFinTech Belgium
 
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...Call Girls in Nagpur High Profile
 
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130  Available With RoomVIP Kolkata Call Girl Serampore 👉 8250192130  Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Roomdivyansh0kumar0
 
Instant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School SpiritInstant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School Spiritegoetzinger
 
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services  9892124323 | ₹,4500 With Room Free DeliveryMalad Call Girl in Services  9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free DeliveryPooja Nehwal
 
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsHigh Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...shivangimorya083
 
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Andheri Call Girls In 9825968104 Mumbai Hot Models
Andheri Call Girls In 9825968104 Mumbai Hot ModelsAndheri Call Girls In 9825968104 Mumbai Hot Models
Andheri Call Girls In 9825968104 Mumbai Hot Modelshematsharma006
 
Booking open Available Pune Call Girls Shivane 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Shivane  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Shivane  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Shivane 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Economic History of the U.S. Lecture 23.pdf
The Economic History of the U.S. Lecture 23.pdfThe Economic History of the U.S. Lecture 23.pdf
The Economic History of the U.S. Lecture 23.pdf
 
20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf
 
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikHigh Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
 
The Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdfThe Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdf
 
Q3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast SlidesQ3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast Slides
 
Commercial Bank Economic Capsule - April 2024
Commercial Bank Economic Capsule - April 2024Commercial Bank Economic Capsule - April 2024
Commercial Bank Economic Capsule - April 2024
 
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptxOAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
 
Quarter 4- Module 3 Principles of Marketing
Quarter 4- Module 3 Principles of MarketingQuarter 4- Module 3 Principles of Marketing
Quarter 4- Module 3 Principles of Marketing
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
 
Veritas Interim Report 1 January–31 March 2024
Veritas Interim Report 1 January–31 March 2024Veritas Interim Report 1 January–31 March 2024
Veritas Interim Report 1 January–31 March 2024
 
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
 
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130  Available With RoomVIP Kolkata Call Girl Serampore 👉 8250192130  Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
 
Instant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School SpiritInstant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School Spirit
 
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services  9892124323 | ₹,4500 With Room Free DeliveryMalad Call Girl in Services  9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
 
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsHigh Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
 
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
 
Andheri Call Girls In 9825968104 Mumbai Hot Models
Andheri Call Girls In 9825968104 Mumbai Hot ModelsAndheri Call Girls In 9825968104 Mumbai Hot Models
Andheri Call Girls In 9825968104 Mumbai Hot Models
 
Booking open Available Pune Call Girls Shivane 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Shivane  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Shivane  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Shivane 6297143586 Call Hot Indian Gi...
 

Cash flow using excel

  • 1. Calculating Cash Flow Using Excel Data Lists By: Curtis D. Frye 7/26/2006 Bank and credit card statements tell you where your money has gone, but they don’t show you how much money you’ll have on hand after your checks clear. You can use your checkbook’s register to calculate those totals by hand, but it’s much easier to let Excel do the math for you. There is a trick to creating formulas that allow you to delete rows without causing errors in your worksheet. This technique, which uses the OFFSET function, avoids problems associated with formulas that reference cells directly. In this article, I’ll show you how to create a data list to manage your upcoming transactions, add and delete rows from the list, and accurately calculate a running balance using the OFFSET function. Managing Excel Data Lists I prefer to manage my cash flow worksheet using an Excel 2003 data list because of the list’s built-in data entry, sorting, and filtering capabilities. You can also project your future cash flow in Excel 2002 and prior versions, or in Excel 2003 should you prefer not to organize your data as a list. Creating a Data List in Excel 2003 Here’s a look at the data list I use to project my cash flow (don’t be jealous…I made up the numbers). Assume that the current date is 7/17/2006 and that I’m projecting the income and expenses to come in the next month.
  • 2. 2 Copyright 2006, Technology and Society, Incorporated To create a data list in Excel 2003, follow these steps: 1. Type a series of column headers in cells at the top of your intended list. 2. Format the column header cells using Bold type and center alignment. 3. Type your first row of list data. 4. Select the header and data cells. 5. Choose Data | List | Create List. 6. In the Create List dialog box, check the My List Has Headers box, and then click OK. When you select a cell in the data list, Excel displays a data entry row at the bottom of the list. All you need to do is type your data in the new row and press the Tab key to save the data and create a new row. But what if you want to add an entry that’s out of order? For example, suppose you have the following list and want to add an expense you expect to occur on August 2. Adding the expense at the bottom of the list means the expense falls out of the proper sequence. The temporary disorder poses no real problem. Just type in the new data row, and then sort the data list so that it is once again in date order. To sort a data list, follow these steps: 1. Click the filter arrow at the right edge of the column header by which you want to sort the list. 2. Click Sort Ascending.
  • 3. 3 Copyright 2006, Technology and Society, Incorporated The following image shows the result. When a transaction clears, you edit the opening balance (cell E4) and delete the cleared transactions from the list. To delete a row from a data list, follow these steps: 1. Click any cell in the data list to activate it. 2. Right-click any cell in the list row you want to delete, point to Delete, and then click Row. Also notice that the right-most column contains a running total derived from the previous row’s balance and the income or expense in the current row. Later in this article, I’ll show you the exact formula I used. Creating a Data Table without Using a Data List If you use Excel 97-2002, or if you’re using Excel 2003 and prefer not to create a data list, you can lay out your data using the same pattern. When you arrange your data as a table, with differently-formatted column headers and your data in rows, you can sort the table in the same manner as an Excel 2003 data list.
  • 4. 4 Copyright 2006, Technology and Society, Incorporated To sort an Excel 97-2002 data table, follow these steps: 1. Click any cell in the data table. 2. Click Data | Filter | AutoFilter. 3. Click the filter arrow at the right edge of the column header by which you want to sort the list. 4. Click Sort Ascending. You can delete a row in your data table by right-clicking any cell in the row and then clicking Delete. In the Delete dialog box, check the Entire Row option button and then click OK. Calculating a Running Balance My data list contains columns for the following data: • Transaction date • Income amount (if any) • Expense amount (if any) • A description of the transaction • The balance resulting from the transaction The last column uses a formula to calculate the balance resulting from each transaction. As it turns out, there is a right way and a wrong way to create the formula to calculate those results. How Not to Calculate a Running Balance I always type my opening balance in the first list row; in this case, cell E4. For the next row, and all subsequent rows, I’ll have to add income to and subtract expenses from the preceding row’s balance to calculate my running balance. Given the data list in the previous graphic, that formula is =E4+B5-C5. Because the formula contains relative references, which change when you copy the formula to another cell, you can copy the formula down the list’s Balance column. To copy the formula to other cells in the Balance column, follow these steps: 1. Select the cell that contains the formula. 2. Drag the fill handle from the bottom right corner of the selected cell to cover the cells in the remainder of the column. What’s more, when you type a new row of data into the table, Excel creates the formula in the Balance column for you. Unfortunately, this formula doesn’t adapt properly when you delete a list row. Here’s what happens when you delete the transaction from 8/2/2006.
  • 5. 5 Copyright 2006, Technology and Society, Incorporated When you delete the row, the formula in the next row loses its reference, causing a reference (#REF!) error. Editing the first broken formula so that it refers to the proper cell in the Balance column also fixes the rest of the formulas in the column, but it’s a pain to have to make that change every time you delete a list row. And what if someone else maintains your list while you’re away? If they don’t know what’s wrong, they won’t be able to fix it. Calculating a Running Balance Correctly Fortunately, you can create a different, albeit more complex, formula that doesn’t break when you delete a row from a data list. That formula uses several instances of the OFFSET function, which has the following syntax: OFFSET(reference, rows, columns, [height], [width]) Note: The last two arguments, [height] and [width], which enable you to return values from a range of cells, are optional. I won’t use them in this explanation. The OFFSET function returns the value of a cell a specified number of rows and columns away from the cell that contains the formula. Positive numbers cause Excel to look down or to the right, while negative numbers go up or to the left. For example, the formula OFFSET(E5,-1,0) returns the value from E4, the cell one row above cell E5 (the zero in the column argument place means Excel doesn’t move left or right to find the value). Similarly, the formula OFFSET(E6,0,-3) finds the value in B6, the cell three columns to the left of cell E6.
  • 6. 6 Copyright 2006, Technology and Society, Incorporated Using the worksheet above, which has the running balance in column E, income in column B, and expenses in column C, the following formula calculates the running balance for cell E5: =OFFSET(E5,-1,0)+OFFSET(E5,0,-3)-OFFSET(E5,0,-2) The three OFFSET functions point to these cells: • OFFSET(E5,-1,0) points one row above and zero columns to the left or right of cell E5, which is cell E4 • OFFSET(E5,0,-3) points zero rows above or below and three columns to the left of cell E5, which is cell B5 • OFFSET(E5,0,-2) points zero rows above or below and two columns to the left of cell E5, which is cell C5 The formula =OFFSET(E5,-1,0)+OFFSET(E5,0,-3)-OFFSET(E5,0,-2) derives its result using the same values as the formula =E4+B5–C5, but it doesn’t break when you delete a row that contains a cell used in the formula. To copy the formula to other cells in the Balance column, follow these steps: 1. Select the cell that contains the OFFSET-based formula. 2. Drag the fill handle from the bottom right corner of the selected cell to cover the cells in the remainder of the column. Because the OFFSET formula uses relative references, Excel modifies the formula to reflect the formula’s new position. Why Does the OFFSET Function Work? Why is it that the formula that contains the cell references breaks, but the formula that contains the OFFSET functions doesn’t? It’s all in how Excel understands the references within the formula.
  • 7. 7 Copyright 2006, Technology and Society, Incorporated When you create a formula that contains a cell reference, such as E4, Excel takes your word that it is to use the value found in cell E4. When you delete the row that contains cell E4, Excel recognizes that the cell you wanted is gone and displays a #REF! error. Yes, the cell that was formerly E5 moves up a row into position E4, but the original E4 cell is no longer there. That’s why Excel displays the error message. The OFFSET function, by contrast, references a cell indirectly. Internally, Excel notes the base cell and how far to move (and in which direction) to find the target cell. My best guess is that Excel stores all of the arguments in an OFFSET function as indirect references and updates the references when the worksheet’s structure changes. Curtis D. Frye is a Microsoft Office Excel MVP and freelance author living in Portland, Oregon. He is the author of Microsoft Office Excel 2007 Step by Step, Microsoft Office Excel 2007 Plain & Simple, several other books published by Microsoft Learning, and numerous online articles regarding Microsoft Office Excel, the 2007 Microsoft Office system, and business intelligence analysis. Before beginning his writing career in 1995, Curt spent four years with The MITRE Corporation as a defense trade analyst and one year as Director of Sales and Marketing for Digital Gateway Systems, an internet service provider. When not writing, Curt is a professional improvisational comedian with Portland's ComedySportz group. You may freely redistribute and publish this article as long as you publish the entire article, retain all attribution information and the copyright notice, and don’t make a profit from the publication.