Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-29-2022, 09:25 PM
Bell90519 Bell90519 is offline VLookup and year change from 2021 to 2022 Windows 10 VLookup and year change from 2021 to 2022 Office 2021
Novice
VLookup and year change from 2021 to 2022
 
Join Date: Jan 2022
Posts: 3
Bell90519 is on a distinguished road
Default VLookup and year change from 2021 to 2022


Good evening! In my workbook everything worked as it should until the year changed from 2021 to 2022 and then all those cells got an "NA". The correct info is in the cells the VLookup is referring to but again all I get is "NA". I've been trying now for almost a month to figure this out and as you can tell haven't solved it.
Reply With Quote
  #2  
Old 01-30-2022, 10:10 AM
NoSparks NoSparks is offline VLookup and year change from 2021 to 2022 Windows 10 VLookup and year change from 2021 to 2022 Office 2010
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 831
NoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really nice
Default

You're asking for assistance with a formula to work on data and showing us neither.

If no exact match is found, #N/A is returned
MS Excel: How to use the VLOOKUP Function (WS)
Reply With Quote
  #3  
Old 01-31-2022, 01:46 PM
Bell90519 Bell90519 is offline VLookup and year change from 2021 to 2022 Windows 10 VLookup and year change from 2021 to 2022 Office 2021
Novice
VLookup and year change from 2021 to 2022
 
Join Date: Jan 2022
Posts: 3
Bell90519 is on a distinguished road
Default Update on info

Sorry about the lack of information. I hope this helps. If needed I can upload the file as well...

calendar reference.JPG

change in year.JPG

evaluated formula.JPG
Attached Files
File Type: xlsm NJ-Capacity-2021-12-22 amm.xlsm (132.6 KB, 13 views)
Reply With Quote
  #4  
Old 01-31-2022, 02:43 PM
NoSparks NoSparks is offline VLookup and year change from 2021 to 2022 Windows 10 VLookup and year change from 2021 to 2022 Office 2010
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 831
NoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really nice
Default

Your named range 'Due_Production_Date_Data' only goes to row 192
Reply With Quote
  #5  
Old 02-02-2022, 12:35 AM
ArviLaanemets ArviLaanemets is offline VLookup and year change from 2021 to 2022 Windows 8 VLookup and year change from 2021 to 2022 Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Either:

a) Define your table on sheet Calendar as Table, and refer to it using Table formula syntax;
or
b) Define the range 'Due_Production_Date_Data' as Dynamic Range,
like:
Due_Production_Date_Data = OFFSET(Calendar!$A$1,1,,COUNT(Calendar!$A:$A),5)
Reply With Quote
  #6  
Old 02-03-2022, 01:33 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline VLookup and year change from 2021 to 2022 Windows 7 64bit VLookup and year change from 2021 to 2022 Office 2010
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

And, as OFFSET is a volatile function why not make your ranges Excel tables ?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #7  
Old 02-03-2022, 06:36 PM
Bell90519 Bell90519 is offline VLookup and year change from 2021 to 2022 Windows 10 VLookup and year change from 2021 to 2022 Office 2021
Novice
VLookup and year change from 2021 to 2022
 
Join Date: Jan 2022
Posts: 3
Bell90519 is on a distinguished road
Default Thank You!

I want to Thank everyone that has helped.
Reply With Quote
Reply

Tags
vlookup, year change

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLookup and year change from 2021 to 2022 Word field last month not working within year change eduzs Word VBA 4 07-25-2019 04:31 PM
How to search for a specific year from a table with year range? Wii Excel 0 05-05-2015 12:40 PM
How to calculate a rolling year-to-date percentage by quarter as the year progresses sleake Excel Programming 2 04-23-2015 11:51 AM
VLookup and year change from 2021 to 2022 Does anyone know if you can keep a calendar template full o info but change the year? dartist Word 3 02-12-2014 01:28 AM
Creative Ways for a year-to-year comparison??? ridonkulous5 Excel 1 03-23-2011 04:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:37 PM.


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