Error when applying name range in formula

skyking

Board Regular
Joined
Jul 10, 2010
Messages
52
Can someone point out if this is Excel 2010 limitation or other reason?

I have the working formula as below:

=VLOOKUP(CONCATENATE(B1," ",C1),'C:\Users\Documents\C&N\WorkFlow\[WorkFlowMgt65.xlsb]Wages & Bonuses'!$D$14:$T$50,17,FALSE)

However, when I replace the named range "[WorkFlowMgt65.xlsb]Wages & Bonuses'!$D$14:$T$50" with its name as below:

=VLOOKUP(CONCATENATE(B1," ",C1),'C:\Users\Documents\C&N\WorkFlow\[WorkFlowMgt65.xlsb]Wages & Bonuses'!Employee,17,FALSE)
and get "#REF!".
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
that is because of space in the named range,
in the named range spaces are replace with _

try with substitute function to replace spaces with _
 
Upvote 0
anandvarma,

Sorry, it is not as "Wages & Bonuses" is the worksheet but not a range.

The named range is $D$14:$T$50 in worksheet "Wages & Bonuses" in workbook "WorkFlowMgt65.xlsb"
 
Upvote 0
take a look at the following function in Morefunc at excel addin

indirect.exe
you can refer a closed work book cell reference
 
Upvote 0
Is the name Employee defined in the workbook that holds the formula? or is it a name in WorkFlowMgt65.xlsb?
 
Upvote 0
mikerickson,

Thanks for your attention.
Employee ($D$14:$T$50) is defined as a name range in worksheet "Wages & Bonuses" in workbook "WorkFlowMgt65.xlsb".
 
Upvote 0
<table id="post2799483" class="tborder" align="center" border="0" cellpadding="6" cellspacing="0" width="100%"><tbody><tr valign="top"><td class="alt1" id="td_post_2799483" style="border-right: 1px solid #FFFFFF">It seems not working!

**** WorkFlowMgt65.xlsb is open ****

=VLOOKUP(CONCATENATE(B1," ",C1),'C:\Users\Documents\C&N\WorkFlow\[WorkFlowMgt65.xlsb]Wages & Bonuses'!$D$14:$T$50,17,FALSE)

After I replace the named range $D$14:$T$50 with Employee as below:

=VLOOKUP(CONCATENATE(B1," ",C1),'C:\Users\Documents\C&N\WorkFlow\[WorkFlowMgt65.xlsb]Wages & Bonuses'!Employee,17,FALSE)

It changes to
=VLOOKUP(CONCATENATE(B1," ",C1),'C:\Users\Documents\C&N\WorkFlow\[WorkFlowMgt65.xlsb]!Employee,17,FALSE)
and get "#REF!".
</td> </tr> <tr><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td></tr><tr> <td class="alt2" style="border: 1px solid #FFFFFF; border-top: 0px">
user_online.gif
</td> <td class="alt1" style="border: 1px solid #FFFFFF; border-left: 0px; border-top: 0px" align="right"> </td></tr></tbody></table>
 
Upvote 0

Forum statistics

Threads
1,224,541
Messages
6,179,418
Members
452,912
Latest member
alicemil

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