Unique function doesn't work properly

excelNewbie22

Well-known Member
Joined
Aug 4, 2021
Messages
534
Office Version
  1. 365
Platform
  1. Windows
hi everyone!
long time no see,
i'm having trouble using excel formula UNIQUE in a large number of rows,
the example below, in col E, is working now, but when i'm trying to fill down to 200 or more, it giving me the spill error,
i think the reason is like explained here
at "indeterminate size", but with no sulotion
i need
Excel Formula:
=UNIQUE(TOCOL(F2:AC200))
or more to work or an alternative
also a simple unique in F7 also doesn't work
will glad to get some help



test.xlsb
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABAC
136
284648464846484468644864484468464486448464684464844864468684468446484644864846448484648644486446846844648
334818446348134183841381431483184438143184831481341384183834183148431841381348143134813841438148318341843
48644
54864
64846
74684846484468644864484468464486448464684464844864468684468446484644864846448484648644486446846844648
84648
94486
104468
116844
126484
136448
143481
153418
163841
173814
183148
193184
204381
214318
224831
234813
244138
254183
268341
278314
288431
298413
308134
318143
321348
331384
341438
351483
361834
371843
test
Cell Formulas
RangeFormula
E1E1=COUNTA(E2:E500)
A2:D3A2=RANDBETWEEN(1,8)
E2:E37E2=UNIQUE(TOCOL(F2:AC3))
F2:F3F2=A2&B2&C2&D2
G2:G3G2=A2&B2&D2&C2
H2:H3H2=A2&C2&B2&D2
I2:I3I2=A2&C2&D2&B2
J2:J3J2=A2&D2&B2&C2
K2:K3K2=A2&D2&C2&B2
L2:L3L2=B2&A2&C2&D2
M2:M3M2=B2&A2&D2&C2
N2:N3N2=B2&C2&A2&D2
O2:O3O2=B2&C2&D2&A2
P2:P3P2=B2&D2&A2&C2
Q2:Q3Q2=B2&D2&C2&A2
R2:R3R2=C2&A2&B2&D2
S2:S3S2=C2&A2&D2&B2
T2:T3T2=C2&B2&A2&D2
U2:U3U2=C2&B2&D2&A2
V2:V3V2=C2&D2&A2&B2
W2:W3W2=C2&D2&B2&A2
X2:X3X2=D2&A2&B2&C2
Y2:Y3Y2=D2&A2&C2&B2
Z2:Z3Z2=D2&B2&A2&C2
AA2:AA3AA2=D2&B2&C2&A2
AB2:AB3AB2=D2&C2&A2&B2
AC2:AC3AC2=D2&C2&B2&A2
F7:AC7F7=UNIQUE(F2:AC2)
Dynamic array formulas.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
For F7 you need to use
Excel Formula:
=UNIQUE(F2:AC2,1)
and you are correct about the spill error.
 
Upvote 0
Solution
as always thank you Fluff,
still don't get it,
the fix you wrote only work partly,
when trying to fill down still giving me the spill error,
and also when pressing F9 in the example below, sometimes both sometimes only one return the spill,
any good alternatives?

test.xlsb
FGHIJKLMNOPQ
13417747174771147717471774741774717147717477417714
14#SPILL!
test
Cell Formulas
RangeFormula
F13:Q13,F14F13=UNIQUE(F2:AC2,1)
Dynamic array formulas.
 
Upvote 0
you meant the RANDBETWEEN function?
no can do

i'll try and find another solution,

thank you!!!
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

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