Replacing "offset" with "index"

eliasthebest

New Member
Joined
Jun 5, 2018
Messages
2
Hey guys!

Can anyone help me replace the "offset" with "index" in the following formula?

=IF(
AND(OFFSET(V12,0,-$I38,1,1)-OFFSET(W12,0,-$I38,1,1)=OFFSET(V12,0,-$I38,1,1),OFFSET(V12,0,-$I38,1,1)<>0),OFFSET(V30,0,-$I38,1,1)+OFFSET(V31,0,-$I38,1,1)-OFFSET(W31,0,-$I38,1,1)+OFFSET(W32,0,-$I38,1,1)-OFFSET(V32,0,-$I38,1,1),
IF(OFFSET(V2,0,-$I38,1,1)=1,OFFSET(V12,0,-$I38,1,1)+OFFSET(V32,0,-$I38,1,1)-OFFSET(G32,0,-$I38,1,1)+OFFSET(G31,0,-$I38,1,1)-OFFSET(V31,0,-$I38,1,1),
IF(OFFSET(V12,0,-$I38,1,1)=0,0,OFFSET(V12,0,-$I38,1,1)+OFFSET(U31,0,-$I38,1,1)-OFFSET(V31,0,-$I38,1,1)+OFFSET(V32,0,-$I38,1,1)-OFFSET(U32,0,-$I38,1,1)+V39)))

Thanks!!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Welcome to the board.

I won't do all of them, but the method is the same for all (see how I do 1, you can do the rest)..

OFFSET(V12,0,-$I38,1,1)
Can be changed to
INDEX(12:12,22-$I38)

12:12 is the row reference from V12
22 is the column number of V
 
Upvote 0
If i was doing this i would write some vba to do it. It might take as long as editing by hand but definitely more fun
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

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