3 Tips for Writing Formulas with VBA Macros in Excel

preview_player
Показать описание

In this video I share 3 tips for writing and creating Excel formulas with VBA macros.
You will learn:
1. How to use the Formula property of a range object to insert a formula into a cell. The formula is text that begins with the equals = sign and is wrapped in quotation marks.
2. How to use the macro recorder to create the VBA code for more complex formulas that contain special characters.
3. What R1C1 style formula notation is and how it works. R1C1 allows us to create relative references to cells (rows & columns), instead of hard coding cell addresses like A1. R1C1 can be used for both absolute and relative references, and also mixed references (absolute row & relative column).

Related videos:
00:00 Introduction
00:11 3 Tips for Writing Formulas with VBA Macros in Excel
00:35 The Formula Property
01:09 Use the Macro Recorder
Рекомендации по теме
Комментарии
Автор

You are really the gem of a guy when it comes to describe things concerning excel or vba. Thanks a trillion for this video.

sim
Автор

learning how to do some VBA is actually a good way to climb the corporate ladder in non-technology roles. Thanks for coaching people online and supporting productive talent. Technology is getting better these days. Good thing VBA will never be replaced in the next 20 years. It can assist in administrative work, repetitive work, improve critical thinking skills(like academic, and application) and saves time

BOWENSblog
Автор

I have been searching around internet the whole day, and this video explains it all! Thank you!

kickilicoff
Автор

Jon, I really appreciate your videos they are amazing. Too many times I find that excel videos are all just veiled sales pitches. I also appreciate that they are easy to follow and not too fast Thanks

jlpayne
Автор

Excellent video. I was absolutely hunting for a formula creator within a VBA environment and this does the trick!

OttawaRocks
Автор

This video with the R1C1 formula setting just saved my night :-) Thanks!

Bebicsek
Автор

Thank you for this video, it was a godsend!! I have huge formulas that I needed to write with VBA and had no idea how to do it until I watched this video.

Revlemmon
Автор

Excellent, clear explanations and pristine video and audio. Thanks!

Juanksv
Автор

Thank you John, for sharing this kind of tips with us. They´re very useful!

suavesergio
Автор

The last time was exactly what I was looking for and very well explained! Thank-you!!

randomCADstuff
Автор

Very helpful and useful for me Excel Master

yosef-yosef
Автор

I was trying over and over to find a re-record function of marcos . Specially when I don’t know how to write formulas in excel well let alone vba. so to use a second writing macro to record the steps to copy into a macros vba is really straight forward .

fundip
Автор

Excellent!!!
It is exactly what I was looking for!!!
Thank you so much!!!

augustodemelo
Автор

wow...GENIOUS!!! I am truly grateful, thank you

stuartmuscroft
Автор

it was great! full desription to clear, thanks a lot, but I'd like also to kwon how to replace the "spread sheetname " with variables
thanks in advance

shavkatpulatov
Автор

SO GOOD! Helped me lot! Thumbs up and Subbed as well.

gokul
Автор

Very clear and informative video. Thank you.

mobr.
Автор

At 1:11 I made up my mind that I will Like & download this video!

abhik
Автор

thank you very much for this video very helpful ....
i have a question please:
1- i have this formula: =IF(Sheet1!$B$15=Sheet4!B8, Sheet1!$B$14, "£0.00") and it works fine with your video tutorial
but the cell does not show the sign (£)
2- how to tell Macro to move to the next cell with the same formula
Many thanks

microsecure
Автор

my formula is only to find cell position using match formula. then i can use it to define where i will paste a value from B7 to H*
Range("B7").Select
Application.CutCopyMode = False
Selection.Copy
cell= .formula = "=MATCH(A7;$G:$G;0)"
Range("H" & cell).Select
ActiveSheet.Paste
but this not working.
please advise

TheArifbmc