#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default About Fuctions

I am trying to function on excel about,
Sheet1
Item Price

Sheet2
Product Name Quantity Unit cost

Product Name (Combo Box) list of Item From Sheet1 Items. What i will like to
do is, when i choose under Product Name any item from Sheet1, Unit Cost is
calculating automatically From Sheet1 Item Price times Quantity.

Thank you very much for your help....
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default About Fuctions

To pull-out the price in Sheet2's col C based on item selected in A2,
you could use in C2: =IF(A2="",0,VLOOKUP(A2,Sheet1!A:B,2,0))
assuming source table is contained in Sheet1's cols A and B

Just multiply the above by the quantity in col B
if you want to calc the "Total Cost" instead:
=IF(A2="",0,VLOOKUP(A2,Sheet1!A:B,2,0)*B2)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Excel Worksheet Functions" wrote:
I am trying to function on excel about,
Sheet1
Item Price

Sheet2
Product Name Quantity Unit cost

Product Name (Combo Box) list of Item From Sheet1 Items. What i will like to
do is, when i choose under Product Name any item from Sheet1, Unit Cost is
calculating automatically From Sheet1 Item Price times Quantity.

Thank you very much for your help....

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
Creating Nested If Fuctions Debra Lisa Excel Worksheet Functions 3 August 26th 07 01:16 PM
Using Worksheet Fuctions with Macros [email protected] Excel Discussion (Misc queries) 0 August 1st 06 05:37 PM
Equalls fuctions WAZA Excel Worksheet Functions 2 July 1st 06 04:22 PM
unrecognized fuctions evapp etc Lee Excel Worksheet Functions 2 November 3rd 04 11:24 PM


All times are GMT +1. The time now is 01:33 PM.

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

About Us

"It's about Microsoft Excel"