Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
edrachel
 
Posts: n/a
Default Pricing for Inventory


Hi,
This is my formula now.

=VLOOKUP(B6,Prices!A3:AB68,3,FALSE)

What I want to do is have the above formula look at a date, say is in
cell B5 and pull the price that corresponds with that date. The B6 in
the formula represents the state. Let’s say the date is 08/01. My
date on this invoice is 08/10. I want the prices from 08/01 to be
inserted. But let’s say there is a price change 09/01 and the date of
my invoice is 10/15, I want the price pulled from the 09/01 date.
Putting an actual date in the formula won’t work because it will be
constantly changing. I could be working ahead and using the 10/15 date
in Aug. so it needs to pull the correct prices. Is there a way to do
this?? If not, is this something I maybe can do in Access? Thanks.


--
edrachel
------------------------------------------------------------------------
edrachel's Profile: http://www.excelforum.com/member.php...fo&userid=4736
View this thread: http://www.excelforum.com/showthread...hreadid=552287

  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Pricing for Inventory

I believe the only solution is to use a combined "key" of date & state in
your VLOOKUP table. Table would need be sorted ascending by date.

=VLOOKUP(C1&D1,Prices!A1:AB100,2,1)

C1=Date
D1=State

Prices!A would contain concatenated key.

"edrachel" wrote:


Hi,
This is my formula now.

=VLOOKUP(B6,Prices!A3:AB68,3,FALSE)

What I want to do is have the above formula look at a date, say is in
cell B5 and pull the price that corresponds with that date. The B6 in
the formula represents the state. Lets say the date is 08/01. My
date on this invoice is 08/10. I want the prices from 08/01 to be
inserted. But lets say there is a price change 09/01 and the date of
my invoice is 10/15, I want the price pulled from the 09/01 date.
Putting an actual date in the formula wont work because it will be
constantly changing. I could be working ahead and using the 10/15 date
in Aug. so it needs to pull the correct prices. Is there a way to do
this?? If not, is this something I maybe can do in Access? Thanks.


--
edrachel
------------------------------------------------------------------------
edrachel's Profile: http://www.excelforum.com/member.php...fo&userid=4736
View this thread: http://www.excelforum.com/showthread...hreadid=552287


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel User Conference - Few hours left - Early Bird pricing Damon Longworth Excel Discussion (Misc queries) 0 February 15th 06 09:22 PM
Excel User Conference - Last day - Early Bird pricing Damon Longworth Excel Worksheet Functions 0 February 15th 06 01:03 PM
Excel User Conference - Last day - Early Bird pricing Damon Longworth Excel Discussion (Misc queries) 0 February 15th 06 01:02 PM
Volume and pricing calculations Karen Excel Worksheet Functions 1 May 31st 05 11:52 PM
spreadsheet for sundries with option for better and best pricing Jahaan Excel Discussion (Misc queries) 1 December 12th 04 04:18 AM


All times are GMT +1. The time now is 03:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"