Skip to content
- Excel VLOOKUP Not Working? Fix Formula ErrorsIf VLOOKUP is not returning the result you expect, check the lookup range and use an exact match: with the value to…Errors & fixes
- Excel VLOOKUP Invalid Cell Reference Error: Fix ItIn Excel, a VLOOKUP invalid cell reference error is usually #REF!. Check that the column number in the formula is no larger…Errors & fixes
- Excel VLOOKUP IFERROR: Return a Blank for Lookup ErrorsTo make an Excel VLOOKUP display a blank when it returns an error, wrap it in IFERROR: =IFERROR(VLOOKUP(E2,$A$2:$C$100,3,FALSE),""). With the lookup value…Formulas & functions
- Excel VLOOKUP Error Messages: How to Create OneTo show a helpful message when VLOOKUP cannot find a match, wrap it in IFNA: =IFNA(VLOOKUP(E2,$A$2:$C$100,3,FALSE),"Product not found"). Use IFERROR instead if…Errors & fixes
- Excel VLOOKUP Number Format: Fix Text and Numeric ValuesVLOOKUP returns a value, not the source cell’s number format. To change how the result looks, format the cell containing the formula;…Errors & fixes
- Excel VLOOKUP With Multiple Criteria: Examples and TipsYes—VLOOKUP can look up a row using multiple criteria if you combine those criteria into one lookup key. For example, if the…Formulas & functions
- Excel VLOOKUP Examples With IFERROR and Error HandlingTo handle a VLOOKUP value that is not found, wrap an exact-match VLOOKUP in IFNA and provide a useful fallback, such as…Errors & fixes
- Excel VLOOKUP Copy Formula Down Not Working? FixesIf VLOOKUP works in the first row but returns wrong results or errors after you copy it down, the lookup range is…Errors & fixes
- Excel VLOOKUP Between Two Dates: Find the Matching RangeTo use VLOOKUP for a date that falls between a start date and an end date, sort the start dates from oldest…Formulas & functions
- Excel VLOOKUP Between Dates: Find the Matching RangeTo use VLOOKUP between dates, put each date range’s starting date in the first column, sort those dates from oldest to newest,…Formulas & functions
- Excel Vertical Stacked Bar Chart: Create and FormatTo make a vertical stacked bar chart in Excel for Microsoft 365 on Windows, arrange categories in the first column and each…Charts & pivot tables
- Excel Vendor List Template: Build and Manage Your RecordsAn Excel vendor list template is a structured workbook for recording supplier details, contacts, services, payment information, and review dates in one…How-to basics
- Excel VBA VB Colors: Constants, RGB, and Cell FormattingIn Excel VBA, vbRed, vbBlue, and the other vb color constants are built-in names for eight basic colors. Assign them to a…VBA & macros
- Excel VBA: Use Variables in a Range StatementYes. In Excel VBA, pass a variable to Range without putting the variable name in quotation marks, such as Set target =…VBA & macros
- Excel VBA Or in If Statements: Syntax and ExamplesIn Excel VBA, use the Or operator between complete conditions inside an If statement: If status = "Open" Or status = "Pending"…VBA & macros
- Excel VBA Unique List: How to Create One ReliablyTo create a unique list with Excel VBA, read the source range, keep the first occurrence of each value, and write the…VBA & macros
- Excel VBA: Trigger a Macro When a Cell Value ChangesYes. In Excel for Microsoft 365 on Windows, put a Worksheet_Change event procedure in the worksheet’s code module to run VBA when…VBA & macros
- Excel VBA to Open Another Workbook: Code and TipsTo open another Excel file with VBA, call Workbooks.Open and supply the file’s full path. For example, Set targetWb = Workbooks.Open(Filename:="C:\Reports\Quarterly.xlsx") opens…VBA & macros
- Excel VBA Text Color: Change Font and Cell Colors EasilyTo change text color in Excel VBA, set a range’s Font.Color property, usually with RGB(red, green, blue). For example, Range("A1").Font.Color = RGB(255,…VBA & macros
- Excel VBA Syntax Error: Causes, Examples, and FixesAn Excel VBA syntax error means the Visual Basic for Applications editor cannot parse part of your code as valid VBA. In…VBA & macros
- Excel VBA: Substitute Text in Cells or StringsTo substitute text with VBA, use the built-in Replace function for a string, or the Range.Replace method to change matching text in…VBA & macros
- Excel VBA: Sum Cells by Fill ColorTo sum numbers in cells with a particular fill color, add a VBA function to a standard module and call it with…VBA & macros
- Excel VBA Macro Shortcut: How to Assign and Use ItIn Excel for Microsoft 365 on Windows, assign a shortcut to a VBA macro by choosing Developer > Code > Macros, selecting…VBA & macros
- Excel VBA: Set Cell Text Color with Font.ColorTo set a cell’s text color in Excel VBA, change the cell’s Font.Color property, usually with the RGB function: Range("A1").Font.Color = RGB(255,…VBA & macros
- Excel VBA Set Cell Color by Hex CodeTo set an Excel cell’s fill color from a hex value such as #1E90FF, convert its red, green, and blue pairs to…VBA & macros
- Excel VBA Set Cell Color: ColorIndex, RGB, and MoreTo set a cell’s fill color with VBA, assign a color to its Interior.Color property—for example, use RGB(255, 0, 0) for red.…VBA & macros
- Excel VBA: Set a Cell’s Background Color with RGB ValuesTo set a cell’s background color in Excel VBA, assign a color to its Interior.Color property—for example, Range("B2").Interior.Color = RGB(255, 255, 0)…VBA & macros
- Excel VBA: Select a Range Offset from the Active CellIn Excel VBA, use ActiveCell.Offset(rowOffset, columnOffset).Select to select a cell relative to the active cell; use Resize after Offset when you need…VBA & macros
- Excel VBA: Save One Worksheet as a Separate New FileTo save one Excel tab as a separate file with VBA, copy the worksheet into a new workbook, then save that workbook…VBA & macros
- Excel VBA: Save a Sheet as a New WorkbookTo save one worksheet as a separate workbook in Excel VBA, copy it without specifying a destination, then save the newly created…VBA & macros