Forum

Notifications
Clear all

Excel VLOOKUP Multiple Sheets Indirect Help

2 Posts
2 Users
0 Reactions
93 Views
(@jmarin4801)
Posts: 1
New Member
Topic starter
 

Hi 

I reviewed your multiple vlookup sheets and keep getting NA.

Basically I have 40 worksheets where on all tabs cell F5 has the profit center and cell G5 has the dollar amount I need. 

=+VLOOKUP(D2,INDIRECT("'"&INDEX(Sheet_List,MATCH(2,--(COUNTIF(INDIRECT("'"&Sheet_List&"'!$F$5:$g$5"),D2)>0),0))&"'!$f$5:$g$5"),2,FALSE)

When I type the formula above and enter is as an array I still get a N/A.

The Sheet list is a name of all 40 worksheets and D2 is the profit center I would like to find the dollar amount for. 

 
Posted : 05/11/2020 4:25 pm
Anders Sehlstedt
(@sehlsan)
Posts: 970
Prominent Member
 

Hello,

Try with changing MATCH(2 to MATCH(1.

=VLOOKUP(D2,INDIRECT("'"&INDEX(Sheet_List,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheet_List&"'!$F$5:$g$5"),D2)>0),0))&"'!$f$5:$g$5"),2,FALSE)

 
Posted : 05/11/2020 7:39 pm
Share: