Home  >  Article  >  Software Tutorial  >  How to use a form to create a lottery mini program in WPS - How to use a form to create a lottery mini program in WPS

How to use a form to create a lottery mini program in WPS - How to use a form to create a lottery mini program in WPS

WBOY
WBOYforward
2024-04-25 10:28:37523browse

Want to create a lottery applet in WPS? Don’t worry, PHP editor Yuzai has brought you a detailed guide. This tutorial will guide you step by step, from creating tables to using formulas to conduct draws, helping you easily implement a draw applet.

1. Prepare a lottery list and set the winner and winning number.

How to use a form to create a lottery mini program in WPS - How to use a form to create a lottery mini program in WPS

2. Enter the function =RANDBETWEEN(1,8) in the winning number cell, and the value is from 1 to the number of participants.

How to use a form to create a lottery mini program in WPS - How to use a form to create a lottery mini program in WPS

3. Enter the function in the winner’s cell: =VLOOKUP(F5,A1:B9,2,FALSE). Enter a value based on the cell.

How to use a form to create a lottery mini program in WPS - How to use a form to create a lottery mini program in WPS

4. Then, click on the winner’s cell, press and hold F9 to start the lottery, and release it to stop.

How to use a form to create a lottery mini program in WPS - How to use a form to create a lottery mini program in WPS

The above is the detailed content of How to use a form to create a lottery mini program in WPS - How to use a form to create a lottery mini program in WPS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:zol.com.cn. If there is any infringement, please contact admin@php.cn delete