3 Easy Ways to Highlight Cells with Formulas in Excel

Опубликовано: 30 Январь 2024
на канале: TrumpExcel
9,007
232

In this video, I will show you three simple ways to highlight cells in Excel that contain formulas.

This can be done using Conditional Formatting, Go To Special, or VBA methods.

00:00 Intro
00:28 Using Conditional Formatting
02:57 Using Go To Special
04:36 Using VBA

Read the article - https://trumpexcel.com/highlight-cell...

Personal Macro Workbook -    • Personal Macro Workbook - Reuse Macro...  

-------------------------------------------------------------------------------------------------------------

'Code developed by Sumit Bansal from https://trumpexcel.com

Sub HighlightCellsWithFormulas()

Dim rng As Range
Dim cell As Range

Set rng = Selection
' Loop through each cell in the range
For Each cell In rng
' Check if the cell contains a formula
If cell.HasFormula Then

' Highlight the cell with a yellow background color, change RGB values as desired
cell.Interior.Color = RGB(255, 255, 0)

End If
Next cell
End Sub

-------------------------------------------------------------------------------------------------------------

☕ If you find my Excel videos useful and would like to support me, you can buy me a coffee - https://www.buymeacoffee.com/SumitB

✅ Free Excel Course (Basic to Advanced) - https://trumpexcel.com/learn-excel/
✅ Free Dashboard Course - https://bit.ly/free-excel-dashboard-c...
✅ Free VBA course - https://bit.ly/excel-vba-course
✅ Free Power Query Course - https://bit.ly/power-query-course
✅ Best Excel Books: https://trumpexcel.com/best-excel-books/

Subscribe to get awesome Excel Tips every week: https://www.youtube.com/user/trumpexc...

#Excel #ExcelTips #ExcelTutorial