Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Database price updating

I am building a food costing database that will automatically insert prices
in costing forms in multiple tabs (for different Menu's) from a price list on
another tab. I tried using a vlookup formula inserted in "a4" referencing
cell "a1" on the costing sheet, then went to the updated prices on the
produce sheet that matched "a1" then getting the info in 3rd column and
returning that result to "A4" on the costing sheet.

here is my formula

=VLOOKUP(A247,Produce!$A$1:$C$269,3,FALSE)

The problem is that the name in "a1" has to be exactly the same and the
produce names and amount of products change weekly. Is there a way to make
the reference more or less specific so that if I have "carrot" in "a1" the
reference will just pick out "carrot" on the produce sheet and not have to
have "Carrot Jumbo peeled 50lbs (cs)" entered throughout my recipes. It would
also have to be able to recognize "baby carrot" and the same thing with
tomatoes...

I think it might be an if function, but I am better with food than with excel.

Any help would be appreciated.

Doug
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Database price updating

To an extent, think you could try it with wildcards:
=VLOOKUP("*"&A247&"*",Produce!$A$1:$C$269,3,FALSE)

But for say: "baby carrot", you would probably need to input that phrase as
the base lookup value in A247 instead of just "carrot", to distinguish it
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,000 Files:358 Subscribers:55
xdemechanik
---
"chefdoug" wrote:
I am building a food costing database that will automatically insert prices
in costing forms in multiple tabs (for different Menu's) from a price list on
another tab. I tried using a vlookup formula inserted in "a4" referencing
cell "a1" on the costing sheet, then went to the updated prices on the
produce sheet that matched "a1" then getting the info in 3rd column and
returning that result to "A4" on the costing sheet.

here is my formula

=VLOOKUP(A247,Produce!$A$1:$C$269,3,FALSE)

The problem is that the name in "a1" has to be exactly the same and the
produce names and amount of products change weekly. Is there a way to make
the reference more or less specific so that if I have "carrot" in "a1" the
reference will just pick out "carrot" on the produce sheet and not have to
have "Carrot Jumbo peeled 50lbs (cs)" entered throughout my recipes. It would
also have to be able to recognize "baby carrot" and the same thing with
tomatoes...

I think it might be an if function, but I am better with food than with excel.

Any help would be appreciated.

Doug

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Database price updating

Thank you for your reply, I tried the wildcards, but I still got #N/A response.

Any other Ideas?

"Max" wrote:

To an extent, think you could try it with wildcards:
=VLOOKUP("*"&A247&"*",Produce!$A$1:$C$269,3,FALSE)

But for say: "baby carrot", you would probably need to input that phrase as
the base lookup value in A247 instead of just "carrot", to distinguish it
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,000 Files:358 Subscribers:55
xdemechanik
---
"chefdoug" wrote:
I am building a food costing database that will automatically insert prices
in costing forms in multiple tabs (for different Menu's) from a price list on
another tab. I tried using a vlookup formula inserted in "a4" referencing
cell "a1" on the costing sheet, then went to the updated prices on the
produce sheet that matched "a1" then getting the info in 3rd column and
returning that result to "A4" on the costing sheet.

here is my formula

=VLOOKUP(A247,Produce!$A$1:$C$269,3,FALSE)

The problem is that the name in "a1" has to be exactly the same and the
produce names and amount of products change weekly. Is there a way to make
the reference more or less specific so that if I have "carrot" in "a1" the
reference will just pick out "carrot" on the produce sheet and not have to
have "Carrot Jumbo peeled 50lbs (cs)" entered throughout my recipes. It would
also have to be able to recognize "baby carrot" and the same thing with
tomatoes...

I think it might be an if function, but I am better with food than with excel.

Any help would be appreciated.

Doug

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Database price updating

It should have worked ok
Maybe try it again? I'm out of other ideas
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
---
"chefdoug" wrote in message
...
Thank you for your reply, I tried the wildcards, but I still got #N/A
response.

Any other Ideas?



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
Help: Need Excel formula to return correct price from price history table Ian_W-at-GMail Excel Discussion (Misc queries) 5 March 21st 07 06:45 PM
Addin for updating database by ammending pivottable nc Excel Discussion (Misc queries) 0 November 6th 06 08:51 AM
calculate/convert volume price to monthly average price Bultgren Excel Worksheet Functions 2 February 14th 06 09:36 AM
Updating Excel forecasts into an Access Database Maree Maxfield Excel Worksheet Functions 1 December 7th 05 03:54 PM
Updating database worksheet problem (Template Wizard) grasping@straws Excel Discussion (Misc queries) 1 December 17th 04 02:26 PM


All times are GMT +1. The time now is 05:42 PM.

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"