using OFFSET to refere to entire column (eg. $H:$H)

acol

New Member
Joined
Jan 21, 2021
Messages
17
Office Version
  1. 365
Platform
  1. Windows
referring to a cell by OFFSET(INDIRECT(ADDRESS(ROW();COLUMN()));0;-4) is easy
Although I want to replace "$H:$H" in a formula by an OFFSET function referring to the entire column 4 columns to the current cell (column)
How can that be done?

example: =TEXTJOIN(", ";TRUE;IF($H:$H = E5;$I:$I;""))
instead of $H:$H i want to refer to that column via OFFSET

Any help very much appreciated.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Is there a reason you can't just use relative referencing?
 
Upvote 0
A full column reference like H:H won't be altered by filtering or sorting.
 
Upvote 0
Solution
Can what be done by code exactly?
 
Upvote 0
Can what be done by code exactly?
using the OFFSET function to refer to a column, x places away to the current cell.
Anyway, since refering to entire columns doesn't affect sorting or filtering, there is no need for a change.
(it is when referring to cells however).
Thx for your feedback.
 
Upvote 0

Forum statistics

Threads
1,224,884
Messages
6,181,573
Members
453,054
Latest member
arz007

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