Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-05-2023, 10:46 PM
ArviLaanemets ArviLaanemets is offline Vlookup formula no longer producing proper result Windows 8 Vlookup formula no longer producing proper result Office 2016
Expert
 
Join Date: May 2017
Posts: 961
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

On sheet Glucose Factor you have a Defined Table Table4, which expands automatically whenever you add new rows to this table. You also have defined a Named Range ClucoseFactor='Glucose Factor'!$A$2:$B$29, which defines a range of table on sheet Glucose factor from rows 2:29. This named range is fixed one - remains same when you add new glucose factor values. In your formula, you refer to this fixed range! Replace it with reference to Defined Table instead (like p45cal adviced)!
Code:
=IF([@Libre]=0,[@Blood], IF([@Libre]>0;[@Libre]*VLOOKUP([@Date],Table4,2),0))
And you have more than one copy of Named Ranges there - with scope 'Workbook', and with scope 'Prt Date Rng'. A possible explanation is, you created the sheet 'Prt Date Rng' coping some other sheet where those named ranges were used in formulas (or did some other copy-paste operation which had this effect). Probably you have to delete all Named Ranges with worksheet scope (Except the ones used to define Print Areas) to avoid some problems in future (I suspect when the scope is a worksheet, you can refer to this range from this worksheet only, and as both copies of range have same name, it is up to Excel to decide, which one is referred to!).
Reply With Quote
 

Tags
vlookup



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup - if the result is blank then enter a formula srsev6 Excel 5 03-01-2019 07:48 AM
Vlookup formula no longer producing proper result 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
Vlookup formula no longer producing proper result How To Move Focus From VLOOKUP Result to Report Sheet swindon.expat Excel 2 04-10-2016 12:15 AM
Vlookup formula no longer producing proper result formula, 2 criteria, one result cjdstephenson Excel 4 06-02-2015 09:17 PM
Vlookup formula no longer producing proper result Fetching more than one result with VLookup on multiple sheets lilvillaf Excel 2 06-12-2014 05:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:00 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