Help Converting Sum If Array Formula to use INDIRECT

sjrider

New Member
Joined
May 6, 2013
Messages
5
Hello - I need your help. I currently have an array Sum If formula that sums data from a column in another Workbook. Each month the worksheet that the data is in changes to a new "Mmm Yy" tab in the workbook (from "Jan 16" to "Feb 16"). Because of this I would like to add the INDIRECT formula to the current formula so I can just put "Jan 16" into a cell and change it once.

=SUM(IF('\\hofile1p\Files\NFS\2016\General Accounting\House Closing Trackers\[House Closing Tracker Pacific Northwest.xlsx]Jan 16'!$E$5:$E$1000>=$T$2,1,0))



I tried this formula, but I am receiving a #REF! error.

=SUM(IF(INDIRECT("'\\hofile1p\Files\NFS\2016\General Accounting\House Closing Trackers\[House Closing Tracker Pacific Northwest.xlsx]"&Y1&"'!$E$5:$E$1000")>=$T$2,1,0))

Does anyone have experience with this type of situation?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
INDIRECT must reference an open workbook. Otherwise, as you see, you get a #REF! error.
 
Upvote 0

Forum statistics

Threads
1,215,746
Messages
6,126,641
Members
449,325
Latest member
Hardey6ix

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