Dragging Offset Function

ajt8888

New Member
Joined
Aug 23, 2010
Messages
35
Office Version
  1. 2019
Platform
  1. Windows
I am led to believe that the offset function will help you use cells that are not next to each other together. Whilst I can do this for adjacent cells it doesnt work beyond that and you cant drag the formula either up down left or right to make it work so I cant see why anyone would use it, I have just given up and done it manually as its far quicker. If anyone has any ideas on this please see link, I have highlighted the cells I want the data from and for the top set I have paste linked which I think is easier. File
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

How about in AB5
Excel Formula:
=INDEX($B$4:$V$9,MATCH("Gross sales",$A$4:$A$9,0),MATCH(AA5,$B$2:$U$2,0))
and in AC5
Excel Formula:
=INDEX($B$4:$V$9,MATCH("Gross sales",$A$4:$A$9,0),MATCH(AA5,$B$2:$U$2,0)+1)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

How about in AB5
Excel Formula:
=INDEX($B$4:$V$9,MATCH("Gross sales",$A$4:$A$9,0),MATCH(AA5,$B$2:$U$2,0))
and in AC5
Excel Formula:
=INDEX($B$4:$V$9,MATCH("Gross sales",$A$4:$A$9,0),MATCH(AA5,$B$2:$U$2,0)+1)
Thanks for your comments I will look into amending my account details. I did try your solution but as i anticipated there is not a workable solution to this so I will do it manually all I got from your system was a column of zero's but thanks for trying anyway.
 
Upvote 0
Thanks for updating your profile.
Not sure why you get a column of zero's, as it works for me with your file.
Cell Formulas
RangeFormula
AB4:AC4AB4=B3
AA5AA5=B2
AB5:AB11AB5=INDEX($B$4:$V$9,MATCH("Gross sales",$A$4:$A$9,0),MATCH(AA5,$B$2:$U$2,0))
AC5:AC11AC5=INDEX($B$4:$V$9,MATCH("Gross sales",$A$4:$A$9,0),MATCH(AA5,$B$2:$U$2,0)+1)
AA6AA6=E2
AA7AA7=H2
AA8AA8=K2
AA9AA9=N2
AA10AA10=Q2
AA11AA11=T2
 
Upvote 0
Thanks
I didnt realise I still had to manually enter the formula for the dates and whilst it all works fine for the top set of figures, I have tried modifying the formula for the ones below because cut and paste won't work but that doesn't work either. I have given up on this now and written to the till company to ask if they can build a different format for their report as it useless as it currently is. I shall mark this post as complete because its daft trying to resolve something that should be fixed at source. Thank you for trying and the time you expended on this.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,543
Members
449,089
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top