Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-25-2017, 11:02 AM
robot robot is offline Using VLOOKUP to autopopulate Unit Cost without changing old entries Windows 7 64bit Using VLOOKUP to autopopulate Unit Cost without changing old entries Office 2007
Novice
Using VLOOKUP to autopopulate Unit Cost without changing old entries
 
Join Date: May 2017
Posts: 1
robot is on a distinguished road
Default Using VLOOKUP to autopopulate Unit Cost without changing old entries

Hi,
New member to this awesome forum.

I have a spreadsheet that tracks what supplies (Item) are delivered to different buildings on specific dates.

Sheet1 = VistaBuilding
Column A = Date
Column B = Address
Column C = City
Column D = Item
Column E = Quantity
Column F = Unit Price
Column G = Price Total

Sheet2 = CostLookUpTable
Column A = Item
Column B = UnitCost

In Column F:
=IF(D2="","",VLOOKUP(D2,CostLookupTable!$A$2:$B$51 ,2,FALSE))

I want to enter the Item name in column D and use VLOOKUP in Column F to auto-populate the Unit Price. However, the Unit Price can change periodically.

My question is, how can I have new entries grab the new Unit Price but prevent older entries from changing the Unit Price? Is this possible with a formula by looking at the entry date? Or would I need to use VBA? If VBA, can you give me an example?

I will have multiple tabs with different building names to enter the delivered supplies.

My VLOOKUP works to auto-populate, but the values change for previous entries.



Thanks to all in advance for the help!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using VLOOKUP to autopopulate Unit Cost without changing old entries alphabetize a list (manual index) with entries and sub-entries shmu Word 5 08-01-2016 11:15 PM
Using VLOOKUP to autopopulate Unit Cost without changing old entries [Project 2013] More accuracy with resource, unit %, and cost? cag8f Project 18 01-02-2016 01:51 PM
Using VLOOKUP to autopopulate Unit Cost without changing old entries Cost resource not taken in real cost pascalbidouille Project 1 08-21-2015 01:25 PM
Using Fill In Fields to Autopopulate Multiple Areas in the Document rogelinepaula Word 1 08-13-2015 11:15 PM
Autopopulate schiesa Word 1 11-06-2012 02:31 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:14 AM.


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