cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Simplify program using for loop

CarlosRomero
14-Alexandrite

Simplify program using for loop

Hi Guys,

Can anybody to simplify this program?

I must run for “k” and “i” twenty times the block.

CarlosRomero

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:CarlosRomero)

Hi Carlos,

 

should be as simple as embedding the two for loops in yet another for loop.

See if this is what you need.

 

Success!
Luc

View solution in original post

7 REPLIES 7

 
LucMeekes
23-Emerald III
(To:CarlosRomero)

Hi Carlos,

You should attach your Prime worksheet, not just a picture.

And state which version of Prime you are using.

 

Success!
Luc

CarlosRomero
14-Alexandrite
(To:LucMeekes)

Hello Luc.

See attached files.

CarlosRomero

LucMeekes
23-Emerald III
(To:CarlosRomero)

Hi Carlos,

 

should be as simple as embedding the two for loops in yet another for loop.

See if this is what you need.

 

Success!
Luc

CarlosRomero
14-Alexandrite
(To:LucMeekes)

Luc, the program does not return results.

See the attached image.

CarlosRomeroLM_20240207_ForLoop.png

Luc had disabled autocalculation in his sheet.

So either turn it on again or Press F9 to force (a single) re-calculation of the sheet.

CarlosRomero
14-Alexandrite
(To:Werner_E)

Thanks Luc and Werner.

It's OK.

CarlosRomero

Announcements

Top Tags