Embedded Offset

ddolson

New Member
Joined
May 10, 2007
Messages
32
Can I use the offset function to change the actual cell reference number... In other words, if I have a formula that references (B1:BY1), can i use the offset function to make it reference B(1+offset):BY(1+Offset)? I haven't been able to crack this one.
 

Some videos you may like

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
Can I use the offset function to change the actual cell reference number... In other words, if I have a formula that references (B1:BY1), can i use the offset function to make it reference B(1+offset):BY(1+Offset)? I haven't been able to crack this one.

Might depend on the intended use...

INDEX(B:BY,E1,0)

means all column cells of B:BY from row that is in E1.

E1: 3

=SUM(INDEX(B:BY,E1,0))

would sum in effect all numbers in B3:BY3.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,383
Messages
5,601,314
Members
414,441
Latest member
KellyTheKid

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
Top