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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Is there a reason you can't just use relative referencing?
 
Upvote 0
Is there a reason you can't just use relative referencing?
Not clear to me that one... (sorry) ;(
results of formula must stay intact when filtering and sorting
 
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,215,018
Messages
6,122,703
Members
449,093
Latest member
Mnur

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