Weird Sequence Bug ??

Emmanueld32

New Member
Joined
Jun 16, 2023
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
I have seen a discussion in the forum dated 2021 about this weird behaviour (bug?) of the function Sequence: Sequence(Randbetween(1,50),1) gives a #Spill! Error in Excel 365 most of the time. Sequence(A1,1) when A1=Randbetween(1,50) also gives a #Spill! error most of the time.
I was hoping that this would be solved by now, but at least for me, it is not working. About 80% of the time, I get a #Spill! error, even if there is only a single formula in the whole sheet!
Does anyone has the same bug and is there a workaround?
Thanks
Emmanuel
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
It's because Randbetween is volatile & as far as I know, there is no work-round.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
Hi, you might be able to work with something like this depending on what you are ultimately trying to do.

Excel Formula:
=LET(RND,RANDBETWEEN(1,50),SEQ,SEQUENCE(50),IF(RND<SEQ,"",SEQ))
 
Upvote 0

Forum statistics

Threads
1,223,630
Messages
6,173,454
Members
452,514
Latest member
cjkelly15

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