[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Offset column reference

Posted on 2013-05-24
5
Medium Priority
?
283 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39195276
Yes
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39195279
It is the fourth column to the right of

r(1, 1)
0
 

Author Comment

by:leezac
ID: 39195286
So it is looking at column D?
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 760 total points
ID: 39195288
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
ID: 39195296
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

656 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