“DO Until” and “Do Unless”

ibrahimaa

New Member
Joined
May 22, 2011
Messages
6
I remember a formula named “DO Until” and “Do Unless”. If these formulas are not exist in the excel Windows 7, what its equivalents? How can I get I list with all its equivalents? I appreciate any help. Thank you. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
As far as I know, there's no such formula as DO UNTIL in any Excel version. VBA does have a loop structure called DO WHILE and may have DO UNTIL (I can't recall). Maybe this is what you're referring to.
 
Upvote 0
There's certainly a Do Until in VBA, however I've been programming since 1978 and I've never seen a Do Unless in any language I've ever used - and that's quite a few.

How would you expect Do Unless to operate and where would you use it that Do While and Do Until wouldn't work equally well?
 
Upvote 0
Erm Ruddles, you probably will hate me for saying this.. you've been programming for longer than I've been alive!
 
Upvote 0
Ahh Ruddles, I'm touched, truly!

Weaver - I think I have. Is that where it loops through a fixed range of data but only executes the code if the condition is met? So doesn't necessarily stop until it finishes looping?
 
Upvote 0
PL/1, Fortran, COBOL, PMA, Algol 60, Pascal, Forth, Logo, JavaScript, PHP

Assemblers: 6502, 8080, Z80, two I'm not allowed to mention ;)

Basics: GW, Sinclair, BBC, QuickBasic, Visual Basic, VBA

I can't believe that's all... I was sure I'd clocked up a couple of dozen at least!
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,763
Members
452,940
Latest member
rootytrip

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