Solved

Offset column reference

Posted on 2013-05-24
5
276 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
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 190 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel Calculation 4 48
Excel count if date is greater than Current date 1 20
Copy and Paste Text into Text Box 3 26
Strategy Mapping Excel WB/WS 2 26
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

840 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