zoukankan      html  css  js  c++  java
  • Build a excel which contains downlist.

    Although this function is very sample , but l still always forget it . So l record it here.

    Ever wish that you didn't have to type out the same thing over and over again? Well you can save time by using Excel's drop down list!

    Drop Down Preparation

    Imagine that we are creating an Excel spreadsheet to document our purchases from the grocery store. For each purchase we want to mark down the name of the food and the type of the food.

    The way a drop down list works in Excel is that it takes values from some place on your spreadsheet and uses them to populate the options in the list. Lucky for us, the type of food is a perfect opportunity to use a drop down list!

    In cells A1 through A7 enter the type of food that will be used for the drop down list.

    Creating a Drop Down List

    Now that we have a source for our drop down list, we can create a begin to create our drop down.

    1. Select cells D2 though D20 (We will be creating a drown down list for each cell in this range)



    2. Click the Data menu and select Validation
    3. Choose List from the Allow drop down menu



    4. Click the Source button that appears to the right of the textfield



    5. Select our source cells A1 though A7



    6. Press Enter and Click OK

    Testing Your Drop Down

    All of your cells in the Type column should now have a drop down list. To test to see if your drop down works, click on cell D2 and then click on the downward facing arrow and see if all the types of food are available.

  • 相关阅读:
    第2课 C 到 C++ 的升级
    第1课 学习 C++ 的意义
    归并排序
    插入排序与希尔排序
    选择排序
    冒泡排序
    CodeSignal 刷题 —— almostIncreasingSequence
    CodeSignal 刷题 —— matrixElementSum
    Python3 序列解包
    单星号变量(*)和双星号变量(**)的用法
  • 原文地址:https://www.cnblogs.com/Excellentchen/p/1653426.html
Copyright © 2011-2022 走看看