Solved

Offset column reference

Posted on 2013-05-24
5
265 Views
Last Modified: 2013-05-24
Is the 4 in the code below looking at a column?

If r(1, 1).Offset(0, 4) = 0
0
Comment
Question by:leezac
  • 4
5 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
Yes
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
It is the fourth column to the right of

r(1, 1)
0
 

Author Comment

by:leezac
Comment Utility
So it is looking at column D?
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 190 total points
Comment Utility
It is the fourth column to the right of

r(1, 1)

if r(1, 1) is one cell the offset will return the fourth cell to the right of r(1, 1)

if r(1, 1) is more than one cell the offset will return the same size four cells to the right of the first cell in r(1, 1).
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
If the r(1,1) is in column A then the result will be in column E (four cells to the right)
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now