vlookups: Having variable data in the range

mrooks

New Member
Joined
Jun 26, 2009
Messages
9
Dear Sirs

I am struggling to dea l with a current vlookup issue. The problem exists in this formula.

=VLOOKUP("Total Revenue",(E28),4,FALSE)

The value in cell E28 is as follows:

'[Consolidation 0509.xls]summary report'!$B:$E

Within the cell E28 done through a CONCATENATE I set it up to have variable monthly/yearly information to change in order for the spreadsheet to capture the new month's information. I am obviously seeking the Total Revenue figure calculation from the monthly consolidation spreadsheet to be put into my report. Automating the process would speed things up considerably.

Does anyone know whether this is possible or is there a better formula/VBA to be done to achieve this goal of basically achieving this formula

=VLOOKUP("Total Revenue",'[Consolidation 0509.xls]summary report'!$B:$E
,4,FALSE)

The values underlined are the ones I would like to change on a monthly basis using some type of formula in order to achieve my goal.

Thanks for your help. I have the Excel 2007 In Depth book in front of me however, can not find the answer.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
You would need to use INDIRECT

=VLOOKUP("Total Revenue",INDIRECT(E28),4,FALSE)

HOWEVER note that INDIRECT only works with Open targets, if the target file is not open INDIRECT will return an Error.... if this is a likely scenario you could look into installing morefunc.xll and making use of INDIRECT.EXT function.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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