Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 11 pages
Summary

Samenvatting M&S Blok 1 uitleg met voorbeelden

Document preview thumbnail
Preview 2 out of 11 pages

In dit document staat de volledige uitleg van M&S blok 1 van jaar 2 Aviation. Dingen die besproken worden zijn bijvoorbeeld VLookup, Errors, Arrays, Loops, Variabelen, MsgBox, InputBox etc. Gewoon alles wat de afgelopen 8 weken besproken is. Er staan ook voorbeelden in, door middel van afbeeldingen en geschreven codes.

Content preview

M&S
Table of Contents
Week 1....................................................................................................................................1
Week 2....................................................................................................................................4
Message box -- Say hello....................................................................................................................5
Record a macro – Make me red..........................................................................................................5
2 phases of programming...................................................................................................................5
Steps to coding - Is a student passing or failing?................................................................................5
Histogram...........................................................................................................................................6
Week 3....................................................................................................................................6
Different types of data.......................................................................................................................7
Cube volume......................................................................................................................................7
Week 4 – Arrays and loops......................................................................................................7
Array maken:......................................................................................................................................7
Looping statements:...........................................................................................................................8
Week 5....................................................................................................................................8
Do until:.............................................................................................................................................8
Do while.............................................................................................................................................8
Week 6....................................................................................................................................9
Week 7 – Userform................................................................................................................10




Week 1
Index  Om een waarde in een tabel te vinden.
=INDEX (range, column, row)
=INDEX (A1:C3, 3, 2)

Match  Vinden waar een bepaalde waarde in de tabel staat.
=MATCH (value, range, 0)

The 0 means exact value

, Index + Match  vinden hoeveel een bepaalde rij een paar columns verderop is.
=INDEX (range, MATCH (value, range, 0), column)
=INDEX(B5:D7, MATCH("Petra", A5:A7, 0), 2)

(Index range is alleen de waardes en match range is met maanden en
namen erbij)

Vlookup  Om dingen in verticale richting te vinden
=VLOOKUP (opzoekwaarde, range, column, FALSE)
=VLOOKUP (G12, F5:H9, 3, FALSE)

If  Als … geldt, dan pass, anders fail
=IF(Cell > < = waarde, “pass”, “fail”)
=IF(B20>=100.000, "aangenomen", "nee")

And  Als … geldt EN … geldt, dan TRUE anders FALSE
=AND(Cell <>= waarde, Cell <>= waarde)

Count if  Tel op als …
=COUNTIF (range, “Eis”)
=COUNTIF(K5:K12, ">18")

Sum if  waardes optellen als …
=SUMIF(range, “eis”)

Average if  gemiddelde uitrekenen als …
=AVERAGEIF(range, “eis”)
Trim  verwijderd extra spaties
=TRIM(Cell)
=TRIM(A1)

Len  Lengte van het woord
=LEN(Cell)
=LEN(A1)

Concatenate  twee cellen samenvoegen
= Cell1 & “ “ & Cell2
= A1 & “ “ & B1

Left, Mid, Right  Geeft woorden in 1 cel apart vanaf links rechts of
midden
=LEFT(cell, aantal letters)
=LEFT(A1, 3)

Document information

Study
Uploaded on
October 25, 2020
Number of pages
11
Written in
2020/2021
Type
Summary
$13.08

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Anna2001
3.2
(5)
Sold
48
Followers
39
Items
19
Last sold
1 year ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions