Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 03-31-2022, 06:28 AM
tispivey tispivey is offline Formula help Windows 11 Formula help Office 2021
Novice
Formula help
 
Join Date: Mar 2022
Posts: 4
tispivey is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
I don't see why the SUBSTITUTE in col D is necessary
Code:
=VLOOKUP(MID(A60,3,2),H:I,2)
does the job


@tispivey


Using entire columns as reference is bad practice
Use Excel Tables instead as dynamic reference

As for the IFERROR function, do not apply it before you have ascertained that your formula works correctly
In this case if you want to hide the NA error, OK, but suppose, for some reason, it returns a VALUE error? IFERROR will hide that also leading to incorrect results
IMO the ISNA function is safer
I have tried ISNA and IFERROR, and IFERROR seems to work better for what I am using this for. This report goes to a lot of VPs in the company i work for, and the cleaner it is, the better, but I truly appreciate the feedback.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Copy Row 2 Row But Next Column In Formula From Another Tab TimG Excel 3 04-16-2018 09:20 PM
Help with an IF Formula Cbate Excel 1 08-17-2017 07:29 AM
Formula help Possible to use an existing vlookup formula to also insert correct info and trigger a SUM formula innkeeper9 Excel 2 09-13-2016 08:59 PM
Need help with dragging a formula and changing a reference column as I drag the formula. LupeB Excel 1 10-22-2015 03:02 PM
Formula help WHEN formula agent007 Excel 5 02-06-2014 09:20 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft