Solved

Offset current cell

Posted on 2013-06-26
9
362 Views
Last Modified: 2013-06-26
Morning experts.  Does anyone know how to reference the current cell minus 3 columns minus 1 row?
Thanks
0
Comment
Question by:Jenedge73
  • 5
  • 4
9 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 39278524
=OFFSET(X5,-1,-3) where formula is in X5.. the current row
0
 

Author Comment

by:Jenedge73
ID: 39278538
yes, but I need to put it in the current formula so that I always reference the (-1,-3)
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39278568
not sure what you mean... can you give example of "current formula" and what you need?
0
 

Author Comment

by:Jenedge73
ID: 39278628
IFERROR(SUMIF(INDIRECT("'"&TEXT($D$21,"dd-mmm-yyyy")&"'!$A$3:$A$14"),H$3,INDEX(INDIRECT("'"&TEXT($D$21,"dd-mmm-yyyy")&"'!$A$3:$Q$14"),,MATCH($D22,INDIRECT("'"&TEXT($D$5,"dd-mmm-yyyy")&"'!$A$3:$Q$3"),0))),0)

This formula is in H22 and I want to always one row up and 3 rows left.  in this instance I would return D1
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:Jenedge73
ID: 39278659
IFERROR(SUMIF(INDIRECT("'"&TEXT($D$21,"dd-mmm-yyyy")&"'!$A$3:$A$14"),H$3,INDEX(INDIRECT("'"&TEXT($D$21,"dd-mmm-yyyy")&"'!$A$3:$Q$14"),,MATCH($D22,INDIRECT("'"&TEXT($D$5,"dd-mmm-yyyy")&"'!$A$3:$Q$3"),0))),0)

This formula is in H22 and I want to always one row up and 3 rows left.  in this instance I would return D21
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39278660
What do you mean by this instance would return D1?  Where?
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39278682
Oh you changed it to D21....

Try:

=IFERROR(SUMIF(INDIRECT("'"&TEXT(OFFSET(H22,-1,-4),"dd-mmm-yyyy")&"'!$A$3:$A$14"),H$3,INDEX(INDIRECT("'"&TEXT(OFFSET(H22,-1,-4),"dd-mmm-yyyy")&"'!$A$3:$Q$14"),,MATCH($D22,INDIRECT("'"&TEXT($D$5,"dd-mmm-yyyy")&"'!$A$3:$Q$3"),0))),0)

You may have to change the D22 and/or D5 similarly if necessary

also note D21 is 4 columns over....
0
 

Author Comment

by:Jenedge73
ID: 39278706
that's exactly it.
Thanks
0
 

Author Closing Comment

by:Jenedge73
ID: 39278709
great
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
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 demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
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.

758 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

17 Experts available now in Live!

Get 1:1 Help Now