How to use Data Validation in Microsoft Excel to create dropdown lists Come usare la verifica di dati in formato Microsoft Excel per creare elenchi a discesa

Posted on May 13, 2007 at 10:04 pm Approvato il 13 maggio 2007 alle 10:04 ore

If you’re a big Excel user, then you may have found yourself in a situation where you wished you could have simply picked a value for a cell from a dropdown list of choices rather than having to copy and paste text between cells. Se sei un utente di Excel grandi, allora si può avere trovato in una situazione in cui si è voluto avrebbe potuto semplicemente scelto un valore per una cella da un elenco a discesa delle scelte piuttosto che di copiare e incollare il testo tra cellule. For example, let’s say you have an Excel sheet for your own personal budget and every time you enter a transaction on a new row, you type in whether it’s an expense or it’s income. Ad esempio, diciamo che avete un foglio Excel per il proprio personale e di bilancio, ogni volta che entra una transazione su una nuova riga, digitare sia che si tratti di una spesa o di reddito.

Well sometimes you can type it in incorrectly or you might have a long list of different types of expenses and incomes, so this can be a pain to maintain and remember. Beh a volte è possibile digitare in modo errato o avete una lunga lista di diversi tipi di spese e redditi, quindi questo può essere un dolore per mantenere e ricordare. An easy solution in Excel is to create your own dropdown list of choices pulled from a particular column on the same sheet or another sheet. Una facile soluzione in Excel è quello di creare la propria discesa lista delle scelte tirato da una colonna particolare sullo stesso foglio o in un altro foglio. This can be very useful because now you can use one sheet to store all of your reference lists and use them on any other sheet in the workbook. Questo può essere molto utile, perché ora è possibile utilizzare un foglio di memorizzare tutte le liste di riferimento e di utilizzarli su qualsiasi altro foglio nella cartella di lavoro.

So how do we do this? Allora, come possiamo farlo? It’s actually not very difficult! In realtà, non è molto difficile! Here’s how: Ecco come:

1. First, create a new workbook and on Sheet1 start off in row 1, column 1 (A1) and type in a few expense categories in the column. In primo luogo, creare un nuovo lavoro e sulla Sheet1 iniziare a riga 1, colonna 1 (A1), e nel giro di qualche tipo scapito di categorie in colonna. For example, here’s what I came up with: Ad esempio, ecco cosa mi è venuto in su con:

2. Now that you got your reference list, go ahead and select the cells with the data in them. Ora che avete ottenuto la vostra lista di riferimento, andare avanti e selezionare le cellule con i dati in loro. In our case, we’ll select the cells from A1 to A7. Nel nostro caso, noi selezionare le celle da A1 a A7. Left click on A1 and hold the mouse button down and drag until you get to A7. A sinistra cliccate su A1 e tenere premuto il pulsante del mouse e trascinare verso il basso fino ad arrivare a A7.

3. Now in the box next to the formula textbox on the left (also called the Name box), type in a name for your list. Ora nella casella accanto alla formula di testo sulla sinistra (chiamato anche la casella Nome), digitare un nome per il tuo elenco. I typed in Expenses for our list. Ho scritto in spese per la nostra lista. Doing this basically gives the cells from A1 to A7 a name so that the group of cells can now be referenced by a name rather than saying A1 through A7. Farlo fondamentalmente dà le celle da A1 a A7 un nome in modo che il gruppo di cellule possono ora essere indicati da un nome piuttosto che dire A1 attraverso A7.

4. Now we can use our list to create a dropdown menu with those values. Ora siamo in grado di utilizzare il nostro elenco di creare un menu a discesa con quei valori. First select the cell where you want your dropdown list to be created. Prima selezionare la cella in cui si desidera che il menu a tendina per essere creato. This can be on the same sheet or on a differnet sheet. Questo può essere sullo stesso foglio o su un foglio di diversa. I went ahead and selected cell A1 on Sheet2 for example. Sono andato avanti e selezionati cella A1 su Sheet2 per esempio.

Next, go to the top menu and choose Data and then Validation . Avanti, apri il menu in alto e quindi scegliere Dati e la verifica. On the Settings tab choose List under the Allow heading. Sulla scheda Impostazioni scegliere Elenco sotto la voce Consenti. Make sure In-cell dropdown is selected and then type in the name that we had just created earlier ( Expenses in this case) with an = sign in the front. Assicurarsi che in discesa cella è selezionata e quindi digitare il nome che abbiamo appena creato in precedenza (spese in questo caso) con una = segno nella parte anteriore. So it should be “=Expenses “. Così dovrebbe essere "= spese".

Click OK and you’ll now see that the current cell you had selected has a little arrow pointing down next to it. Fare clic su OK e potrai vedere adesso che l'attuale cellula si era selezionata ha un po 'freccia rivolta verso il basso accanto ad essa. Click on the arrow and you’ll see the list of items from that we have typed into Sheet1. Fare clic sulla freccia e vedrete l'elenco degli articoli da quello che abbiamo scritto in Sheet1.

That’s it! Ecco fatto! Remember, this can be used on any Excel sheet where you have some kind of lookup list that needs to be typed in over and over again. Ricorda, questo può essere utilizzato su qualsiasi foglio Excel dove hai un certo tipo di ricerca elenco che deve essere digitato in più e più volte. Using Data Validation, you can avoid human errors and increase efficiency. Uso dei dati di convalida, è possibile evitare gli errori umani e aumentare l'efficienza.

Technorati Tags: Technorati Tags: , ,

If you enjoyed this post, make sure you Se goduto di questo post, assicuratevi di subscribe to my RSS feed Iscriviti al mio feed RSS ! !

» Filed Under Ordinata Pagina » MS Office Tips MS Office Suggerimenti

Related Posts Altre post

Please post your comments/suggestions! Vi preghiamo di inserire i tuoi commenti / suggerimenti!