Excel VBA IF THEN Statement (with ELSEIF & Looping in cells)
Aug 23, 2018 Excel VBA & Macros Tutorials
Get access to the full course here: https://www.xelplus.com/course/excel-vba-excel-macros/
Quickly learn how to work with Excel VBA IF, THEN, ELSE, ELSEIF, AND statements. This way you can write Excel macros that are dependent on multiple conditions.
We take a look at looping through a set range of cells in an Excel table, checking their value and then changing the cell color based on that value.
In addition to learning the IF THEN statement and how to loop through cells, you also learn how to quickly get the color code of a specific cell so you can refer to it in your Excel macro. I'll show you a trick with the immediate window and how you can test, and query code in there.
🡻 Download the workbook here 🡻
https://www.xelplus.com/excel-vba-if-then-elseif-statement/
★ Links to related videos: ★
FOR EACH VBA: https://youtu.be/5bq3N99mNPE
IF THEN in Excel Formulas: https://youtu.be/KkTaQ5OjAGc
VBA Playlist: https://www.youtube.com/playlist?list=PLmHVyfmcRKyzmbDy6QoBuUDrU5D-jD-Se
★★ My Online Excel Courses including VBA ★★
Courses ► https://courses.xelplus.com/
🕮 Excel Resources I Recommend 🕮
https://www.xelplus.com/resources/
✉ Subscribe & get my Excel top 10 tips and formulas e-book for free
https://www.xelplus.com/free-ebook/
Get Office 365: https://microsoft.msafflnk.net/15OEg
Microsoft Surface: https://microsoft.msafflnk.net/c/1327040/451518/7593
GEAR
Screen recorder: http://techsmith.pxf.io/c/1252781/347799/5161
Main Camera: https://amzn.to/3a5ldBs
Backup Camera: https://amzn.to/2FLiFho
Main Lens: https://amzn.to/39apgeD
Zoom Lens: https://amzn.to/3bd5pN7
Audio Recorder: https://amzn.to/2Uo5rLm
Microphone: https://amzn.to/2xYy9em
Lights: http://amzn.to/2eJKg1U
More resources on my Amazon page: https://www.amazon.com/shop/leilagharani
Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
#MsExcel #ExcelVBA #LeilaGharani
-
6:09
The Excel Zone
1 year agoIFS EXCEL FUNCTION: THE EASIER WAY TO DO MULTIPLE CONDITIONS
57 -
11:50
Microsoft Excel Full Course
3 years agoExcel 365 Visual Basic Part 27 – Running Macros
55 -
33:15
Microsoft Excel Full Course
3 years agoExcel 365 Visual Basic Part 35 – If Statements#1
77 -
42:42
Microsoft Excel Full Course
3 years agoExcel 365 Visual Basic Part 39– Worksheets
130 -
50:21
Microsoft Excel Full Course
3 years agoExcel 365 Visual Basic Part 26 – Macros
100 -
1:50
Excel Plus Studio
1 year agoEXCEL TUTORIAL - WHEN TO USE THE IFISBLANK FORMULA
10 -
1:50
The Excel Zone
1 year agoEXCEL TUTORIAL - WHEN TO USE THE IFISBLANK FORMULA
55 -
2:12
Outsmart Your Computer
2 years agoExcel Basics: Rows & Columns
5 -
2:20
Mixible
3 months agoExcel Basic VBA
-
32:47
Microsoft Excel Full Course
3 years agoExcel 365 Visual Basic Part 32 – Cell Manipulation
53