Premium Only Content

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
-
LIVE
Game On!
16 hours ago2025 NFL Draft Predictions! Who's got the best MOCK?
6,849 watching -
LIVE
BEK TV
23 hours agoTrent Loos in the Morning 4/16/2025
640 watching -
23:30
JasminLaine
14 hours agoCBC Reporter SNAPS—Mark Carney Says We’re at WAR With TRUMP!? Poilievre SILENCES the Room
2.62K23 -
32:56
Uncommon Sense In Current Times
16 hours ago $1.00 earnedCompromised Christian Leaders Are Failing America | Stockholm Syndrome Christianity | Dr. John West
9.38K18 -
56:44
State of the Second Podcast
18 hours agoSelf-Defense Myths That Will Get You Locked Up (ft. Armed Attorneys)
2.54K1 -
8:35
RTT: Guns & Gear
17 hours ago $0.26 earnedUltimate Custom Glock 19 Slide You Need to See | Stiffler Manufacturing
3.4K1 -
7:23
BIG NEM
12 hours agoHow I Befriended a Black Supremacist Over Salad
3.23K7 -
1:41:13
The Confessionals
20 hours agoThis Species Is Replicating Through Human Wombs…and No One’s Noticing
19.5K67 -
1:42:33
The Criminal Connection Podcast
19 hours ago $4.51 earnedNICK MORAN Lock Stock SECRETS, Punching Paparazzi & Living with Jason Statham (Honest SNATCH Review)
24.3K3 -
12:38
The Gun Collective
17 hours agoWOW! New Guns that JUST came out!
22.9K3