Funktionen VÄLJ är otroligt smart, och ett bra verktyg i din verktygslåda! Se varför här.
Summary
TLDRIn this video, David explores the versatile 'CHOOSE' function in Excel. He demonstrates how it can be used to create interactive dropdowns for summing rows based on user selection, selecting and summing different columns, and even determining quarters from dates. With examples, he shows how 'CHOOSE' can dynamically change cell references and calculations, making it a fun and practical tool for Excel users.
Takeaways
- 📊 The video is about the 'CHOOSE' function in Excel.
- 🔢 The presenter demonstrates how to use 'CHOOSE' to sum a variable number of rows based on a dropdown selection.
- 🎲 The script shows an example where choosing 11 rows results in the sum of 66, and choosing 4 rows results in the sum of 10.
- 📋 The 'CHOOSE' function is used within a SUM function to dynamically select a range of cells to sum based on the value in cell D5.
- 📈 The script explains how 'CHOOSE' can be used to select and sum different columns based on user input.
- 🗓️ Another example provided involves using 'CHOOSE' to determine the quarter of the year based on a date.
- 📑 The presenter corrects a mistake by ensuring that 'CHOOSE' does not select a NULL value, which was causing an error.
- 💡 The video emphasizes the versatility and 'fun' aspect of using the 'CHOOSE' function for various tasks in Excel.
- 📝 The script ends with an invitation for viewers to ask questions in the comments.
- 👋 The presenter signs off with a friendly reminder to meet again next Thursday.
Q & A
What is the main topic of the video script?
-The main topic of the video script is the 'CHOOSE' function in Excel and how it can be used for various calculations and selections.
What does the speaker create in the Excel file to demonstrate the CHOOSE function?
-The speaker creates a dropdown that allows the user to select the number of rows to be summed, which then dynamically updates the total based on the selection.
How does the CHOOSE function work according to the script?
-The CHOOSE function works by selecting an index number as its first argument, and then it selects the corresponding argument from the list provided after the index.
What is the outcome when the dropdown in the Excel file is set to 11?
-When the dropdown is set to 11, the sum function calculates the sum of numbers from 1 to 11, which equals 66.
How does the script demonstrate the flexibility of the CHOOSE function?
-The script demonstrates the flexibility of the CHOOSE function by using it to select different ranges of cells to sum based on the value chosen from the dropdown.
What is the purpose of the second example provided in the script?
-The second example shows how to use the CHOOSE function to select which column to sum based on the value in a specific cell.
What is the third example in the script about?
-The third example is about converting a date into a quarter using the CHOOSE function by selecting the appropriate quarter number based on the month of the date.
How does the speaker correct the error in the third example?
-The speaker corrects the error by ensuring that the CHOOSE function is applied to the entire range of cells, including the last two rows, to avoid selecting a NULL value.
What is the final outcome of the third example in the script?
-The final outcome is a formula that prepends the word 'Quarter' to the calculated quarter number based on the date.
What does the speaker encourage viewers to do after the demonstration?
-The speaker encourages viewers to ask questions and leave comments if they have any.
What is the recurring theme or sign-off phrase mentioned in the script?
-The recurring theme or sign-off phrase is 'See you next Thursday, precisely as always'.
Outlines
📊 Excel's CHOOSE Function Explained
In this video segment, David introduces the Excel function 'CHOOSE'. He demonstrates its versatility by creating a dropdown that allows the user to select the number of rows to sum. For instance, selecting 11 rows results in the sum of 1+2+3+...+11, which equals 66. He also explains how the function works with the first argument determining which of the subsequent arguments to select. He uses this function within a SUM function to dynamically change the range of cells being summed based on the dropdown selection. David also shows how to use CHOOSE to select a column to sum and how to format the output to display 'Quarter' before the calculated quarter number.
Mindmap
Keywords
💡Excel
💡Function
💡CHOOSE
💡Dropdown
💡Sum
💡Argument
💡Cell
💡Range
💡MONTH
💡Quarter
💡Concatenation
Highlights
Introduction to the Excel 'Choose' function
Creating a dynamic dropdown to select the number of rows to sum
Using 'Choose' function to select rows based on a dropdown value
Calculating the sum based on the selected number of rows
Explanation of how 'Choose' function works with its arguments
Demonstration of 'Choose' function selecting values from a range
Using 'Choose' to dynamically select columns for summing
Showing how 'Choose' can handle different block sizes in a range
Applying 'Choose' function to calculate the quarter of a date
Using 'Choose' to select between quarters based on the month
Creating a formula to prepend 'Quarter' to the calculated quarter number
Addressing an error caused by not updating a formula correctly
Encouraging viewers to ask questions in the comments
Invitation to join the next session on Thursday
The presenter's signature sign-off 'preciiiiis as always'
Using 'Choose' function for creating interactive Excel features
Highlighting the versatility of the 'Choose' function in Excel
Transcripts
Hallå allesammans, David här, det är torsdag, och det är dags för ett nytt litet spännade
välj-avsnitt i Excel - idag ska vi nämligen prata om funktionen
välj. Så här är det - den här funktionen kan man ha väldigt mycket olika
roliga grejer med - det hände faktiskt att när jag gjorde den här filen
så stod och lekte lite här för den var rolig att hålla på med.
Vad jag gjort här är en liten dropdown
så säger jag hur många rader ska summeras här
om man väljer 11 får man 66, för 1+2+3+4 osv
upp till 11 blir 66, väljer man fyra rader får man 10
och väljer man 5 får man 15 osv.
Den här är ganska kul att leka med, ja du ser
om man uppdaterar siffrorna så ändras summan.
Vad jag gjort här, det är att jag använder funktionen VÄLJ (eller choose)
välj fungerar så här - första argumentet
är vilken ska den välja av alla som kommer efter första
så här har jag valt
det som står i D5 vilket just nu är siffran tre
då ska den ta det tredje argumentet av de som står här
då kommer den alltså ta B7 och returnera den. MEN så har jag lagt in
allt det här i en summa-funktion, så den får från B5 till
B7, eftersom vi valt tre. Så då blir det summa(B5:B7)
och då får man ut de tre första raderna,
Hade vi valt en annan siffra så hade den valt en annan av de här
B-referenserna - hade vi till exmepel valt två så hade den tagit det andra argumentet där.
Så här fungerar VÄLJ till exempel, himla fiffigt bara
den här enkla grejen kan man stå och leta med - om man öhh - ja, är lagd åt det hållet.
Men - så kommer vi till ett annat exempel här
här har jag valt att man kan välja vilken kolumn den ska summera
Så jag säger att den ska summera kolumn två eller ett,
så ser du att den summerar de här siffrorna. Hur jag har gjort
det här? Jo - då har jag skrivit SUMMA och så
säger jag VÄLJ D23 - dvs den där,
bestämmer om den ska välja A23 till A27
B23 till B29 eller C23 till C32
du ser - det behöver inte ens vara likastora block här va,
och så väljer den helt enkelt ut dem, skickar in i summa och så får vi summan av det man valt.
Också en väldigt kul funktion att stå och leka med så där.
Sen har jag ytterligare ett exempel, och det här tänkte jag göra live, så får du se
här har vi massa datum,
och kör man =MÅNAD för den där cellen så får man ut vilken
månad det är, men ska vi göra om det här till kvartal, jo då gör man så här
VÄLJ och så säger vi att den
cellen ska få välja, och vad ska den välja bland? Jo
Den väljer bland 1, 1 eller 1 för kvartal ett,
2, 2 eller 2 för kvartal två,
och så vidare här va, och vad jag gjort nu är att jag säger att den ska välja månad
och om det är första, andra eller tredje månaden kommer den returnera
den första eller andra eller tredje argumentet här, vilket ju alla tre är ettor, osv
och då får vi ut kvartal. Vill jag nu att det ska stå kvartal framför
då gör man bara så här, - man säger ="Kvartal "
mellanslag, slutcitationstecken &
innehållet i den där, och vips så har vi
en väldigt snygg liten funktion som bara räknar ut BEEEBÖÖÖÖÖP!
Vips så har vi byggt upp en smart liten funktion som
räknar ut vilket kvartal det är beroende på datumet här, och felet här nere? Ja, det beror på
att jag inte hade skjutsat ner den här hela vägen, den kan ju inte välja ett NULLvärde
i den där cellen, utan då måste man dra ner den här hela vägen och så får vi ut
de två sista raderna också. Stort tack för att du sett på det här, har du frågor?
Skriv en kommentar här nedanför, så ses vi nästa torsdag igen
preciiiiis som alltid - hejdå!
Ver Más Videos Relacionados
Notion vs Spreadsheets: The Major Difference Between Databases & Sheets!
Cell Referencing in Excel (When to add a $ in a cell)
Top 10 Most Important Excel Formulas - Made Easy!
Excel Basics 3: Count & Add with COUNT, COUNTA, SUM, COUNTIFS, SUMIFS Functions (Intro Excel #3)
Cómo usar HOJA DE CÁLCULO en google drive fácil. Parte 1
Excel GROUPBY & PIVOTBY Functions - All You Need to Know (do they BEAT Pivot Tables? 🤔)
5.0 / 5 (0 votes)