Named Range

razaas

New Member
Joined
Jul 18, 2011
Messages
10
I have a dynamic named range (_nameslist) with this Formula: 1'!$AE$7:INDEX('1'!$AE$7:$AE$22,COUNTA('1'!$AE$7:$AE$22)). This working well asit (Expands/Shrink) when names added or deleted.
But, when I use this formula: IFERROR(_namesList,"") in the range C7 to C22 it works well if I have more than 1 names in the dynamic named range/list, if there is only 1 name then it fills the whole range C7 toC22 with the same name that I have in my dynamic list. If I enter a blank space in the next cell (AE8) in the dynamic list then also it works.
Could anyone tell why is this happening and what is thesolution for this problem?
Thanks
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Welcome to the forum.

Change the formula to:

=IFERROR(INDEX(_Nameslist,ROWS($A$1:$A1)),"")

in C7 and copy it down.
 
Upvote 0
Welcome to the forum.

Change the formula to:

=IFERROR(INDEX(_Nameslist,ROWS($A$1:$A1)),"")

in C7 and copy it down.

RoryA,

Thanks a lot it works, just curious why my original formula: =IFERROR(_Nameslist,"") does not work if there is only 1 name in the dynamic list, for more than 1 name it works fine. If possible please explain.

Highly appreciate your quick response and the solution.
 
Upvote 0
Your original formula relies on implicit intersection with an array (which is not a good idea generally, in my opinion). When there is only one cell, you just have a value, not an array, so you simply get that value returned to every cell.
 
Upvote 0
Your original formula relies on implicit intersection with an array (which is not a good idea generally, in my opinion). When there is only one cell, you just have a value, not an array, so you simply get that value returned to every cell.

Thanks a lot, highly appreciate.
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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