Forum

Notifications
Clear all

Can't use # in array references

12 Posts
4 Users
0 Reactions
84 Views
(@akhyusuf)
Posts: 4
Active Member
Topic starter
 

Hi, I can use any array formula like unique, xlookup, etc. But however, i can't use # in my array references. The results shows an #REF! error. As I see in youtube, blog, etc, it should be work as well to put # as array references. Hope anybody can solve my problem 🙂

 

 
Posted : 23/04/2020 9:58 pm
(@purfleet)
Posts: 412
Reputable Member
 

Hi

I am fairly sure that you can only use the # on spilled ranges, so you use =UNIQUE(B2:B11), then if you want to sort the output from thge unique you can =SORT(D#)

Purfleet

 
Posted : 24/04/2020 12:09 am
(@mynda)
Posts: 4761
Member Admin
 

Purfleet is correct. The # range operator only works on ranges that result from dynamic arrays that spill the data. They don't work on any old range.

 
Posted : 24/04/2020 12:46 am
(@purfleet)
Posts: 412
Reputable Member
 

i cant believe that i type spilled instead of spilt and now i cant edit it. the shame of it!

 
Posted : 24/04/2020 1:06 am
(@mynda)
Posts: 4761
Member Admin
 

😀 don't worry, American English use 'spilled'. It's only the Brits that use 'spilt' 🙂

 
Posted : 24/04/2020 1:20 am
(@purfleet)
Posts: 412
Reputable Member
 

That's exactly what i was worried about

 
Posted : 24/04/2020 2:15 am
(@akhyusuf)
Posts: 4
Active Member
Topic starter
 

Exactly, i want to use dynamic array, but show an error. Any idea how to use the # properly?

 
Posted : 25/04/2020 4:14 am
Anders Sehlstedt
(@sehlsan)
Posts: 971
Prominent Member
 

Hello,

Please have a look at this blog post, it also describes on how you use # character when referencing to spilled data.

https://www.myonlinetraininghub.com/excel-dynamic-arrays

Br,
Anders

 
Posted : 25/04/2020 6:22 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Akh,

Like we already said, you can't force any old range to recognise the # spilled range operator. It will only work when the data in the range being referenced is the RESULT of another dynamic array formula that has spilled the results.

i.e. if the values in column b are generated by a dynamic array formula like FILTER etc. then the reference B3# will work. But if you just typed them in then you can't use B3#.

Hope that makes sense now.

Mynda

 
Posted : 25/04/2020 6:26 am
(@akhyusuf)
Posts: 4
Active Member
Topic starter
 

Hi Anders & Mynda,

Thanks for the feedback. But, i'm too newbie to understand how to use # properly. Could you give me a very simple data + formula that use # operator? 🙂

Thanks again. I just want to make sure that my Excel work properly. 🙂

 
Posted : 28/04/2020 2:28 am
(@mynda)
Posts: 4761
Member Admin
 

I guarantee your Excel is working just fine. Please see screenshots attached for further examples. akh_da.png

 
Posted : 28/04/2020 7:16 am
(@akhyusuf)
Posts: 4
Active Member
Topic starter
 

Oh, now i see the different, hehe 🙂

Thank you so much.

 
Posted : 29/04/2020 12:39 am
Share: