Skip to Main Content
Computing with Excel and VBA
book

Computing with Excel and VBA

by S.I. Krishan
August 2008
Beginner to intermediate content levelBeginner to intermediate
298 pages
10h 49m
English
Jones & Bartlett Learning
Content preview from Computing with Excel and VBA
Chapter 3 More Excel44
a value of 78. A similar updating is done by Excel when the formula is copied to cell C3;
it becomes =B3+C2 and results in a value of 158.
To see what will happen if we used absolute referencing, let us change our formula in B2
to =$A$2+$B$1 and copy it to cells B3, C2, and C3. We find that cell B2 still shows
the same result, 65. However, the other three cells—B3, C2, and C3—also show 65
as their result. This is not surprising because the formula in B2 contains only absolute
references and these are not changed when the formula is copied. Thus, cells B2, C2,
and C3 all end up with the same formula =$A$2+$B$1.
Next, let us ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Excel Programming with VBA Starter

Excel Programming with VBA Starter

Robert F Martin
Programming Excel with VBA and .NET

Programming Excel with VBA and .NET

Jeff Webb, Steve Saunders

Publisher Resources

ISBN: 9780763756680