Use the Spin Button Instead


Excel’s spin button lets you quickly increase or decrease a value in a cell without having to type it manually. It can be used in wide-ranging contexts, such as a data entry form, a dashboard worksheet, or a price calculation table, and its flexible controls mean you can tailor it to your needs.

Enable the Developer Tab

The spin button option is accessed via Excel’s Developer tab, which isn’t on the ribbon by default.

The Developer tab on the ribbon in Excel is selected.

To add the Developer tab, first, right-click any of the tabs you do have, and click “Customize The Ribbon.”

The Excel ribbon right-click menu is opened, and Customize The Ribbon is selected.

Then, in the Excel Options window, select “Main Tabs” in the right-hand drop-down menu, check “Developer,” and click “OK.”

The Developer tab is checked in the Excel Options window, and the OK button is selected.

The Developer tab will sit on your ribbon next to the existing tabs.

Prepare Your Data

Next, prepare your data, including a blank column where your spin buttons will go. Remember, the aim of a spin button is to increase or decrease a value in a cell through a single click, so bear this in mind when you think about where your spin buttons will go. In my case, they’ll go in column E, ready for me to link to the data in column D in the next step.

A list of items in a formatted Excel table, the category they belong to, their unit price, total sales, and total value.

Column F contains the formula:

=[@Sales]*[@[Unit price]]

So, when I use the spin button to increase or decrease the values in the Sales column, the value in the Total column will react accordingly.

Add the Spin Buttons

Now, it’s time to add the spin buttons. In the Developer tab on the ribbon, click “Insert,” and click the “Spin Button” icon, which is the icon with an arrow pointing upwards and an arrow pointing downwards.

The Spin Button icon in the Insert drop-down menu of the Developer tab in Excel.

Then, use your mouse to click and draw the spin button’s position and size. When you release your mouse, the spin button will appear in that location.

A spin button in a cell in an Excel table.

Now, to add the spin button to the remaining cells in that column, select the cell containing the current spin button, and click and drag the AutoFill handle downwards.

The AutoFill handle of a cell containing a spin button in Excel is selected and dragged to the bottom row of the formatted table.

Now that the spin buttons are in place, you’re ready to adjust their controls so that they link to the cells in column D.

A table in Excel with a column headed 'Spin,' and each cell in that column contains a spin button.

To select an entire spin button (for example, if you want to move or resize it), first left-click it, and then right-click it.

Set Up the Spin Button Parameters

Since, unfortunately, the cell references in the spin button’s Format Control dialog box do not apply relatively when you copy and paste the spin button to other cells, you need to adjust the parameters for each separately. The only other way around this sometimes laborious process is to write a VBA macro.

Right-click the first spin button you added, and click “Format Control.”

A spin button in Excel is selected via a right-click, and the Format Control option is selected.

The first thing to do in the Format Control dialog box is to link the spin button to the relevant cell. To do this, click the empty “Cell Link” field box, and then select the relevant spreadsheet cell. In my case, I want the spin button in cell E2 to link to the value in D2. Then, complete the remaining details in the dialog box, including—importantly—changing the “Current Value” field to match the value in the corresponding cell.

Failing to adjust the “Current Value” field will change the corresponding cell’s value to 0, meaning you may lose your data.

Here’s where the tool’s flexibility can be seen. In my case, I want the values to increase or decrease by one each time I click the spin button’s up or down arrows, but you can change that increment to another number if that suits you. You can also set the minimum and maximum values according to the scope of your data.

The Format Control dialog box associated to a spin button in Excel, with each of the fields filled in according to user requirements.

After you click “OK,” click away from the spin button you just set up, and then click the up and down arrows to see them affect the corresponding cell’s value.

A spin button in Excel that affects the value in the preceding cell in the row.

Repeat the process for the remaining spin buttons in your table. If you add more rows to the bottom of your table, select a cell containing a spin button, press Ctrl+C, select the new cells that require a spin button, and press Ctrl+V. Then, follow the processes above to link each button to the corresponding value.


The spin button is just one of the many form controls you can use in Excel. For example, you can add a drop-down control, a radio button, a scroll bar, and many other controls. The plain button can also be used to create Excel macros that automate repetitive tasks.



Source link

Previous articleGoogle Gemini could be coming to Apple Intelligence in iOS 18.4