excelisnotmyforte
New Member
- Joined
- Apr 3, 2019
- Messages
- 7
Hi
I need to grab all the non-blank rows in a table in a sheet(Sheet1) to another sheet (Sheet2), whilst deleting any text that contains theword ‘off’ in column G. The non-blank rows will usually be in a group set so Ijust need to remove the blanks which are at the beginning and end of the table.
From this new sheet (Sheet2), I will have other sheets thatwill use formulas relating back to Sheet2, however everytime I’ve run the macroit will return the formulas to a #REF! error. Any help would be appreciated.The formula returns as =IFERROR(INDEX(DataSheet!$D$2:$D$6, MATCH(Sheet2!#REF!,DataSheet!$C$2:$C$6,0)),"")
Thank u!!
I need to grab all the non-blank rows in a table in a sheet(Sheet1) to another sheet (Sheet2), whilst deleting any text that contains theword ‘off’ in column G. The non-blank rows will usually be in a group set so Ijust need to remove the blanks which are at the beginning and end of the table.
From this new sheet (Sheet2), I will have other sheets thatwill use formulas relating back to Sheet2, however everytime I’ve run the macroit will return the formulas to a #REF! error. Any help would be appreciated.The formula returns as =IFERROR(INDEX(DataSheet!$D$2:$D$6, MATCH(Sheet2!#REF!,DataSheet!$C$2:$C$6,0)),"")
Thank u!!