|  

» Sum total stock value for any part in Microsoft Excel

Data in Cells A1:C10

A B C
1 Parts Quantity Price
2 A880Q 345 15.00
3 B901V 205 12.00
4 C666R 257 13.00
5 A880Q 413 18.00
6 C666R 413 18.00
7 A880Q 517 20.00
8 B901V 621 22.00
9 C666R 673 23.00
10 A880Q 725 24.00

Part # in cell E2:   A880Q

Formula in cell F2:{=SUM(IF(Parts=E2,Price*Quantity,0))}

Result:               40,349

List of Define Names
Parts =Sheet1!$A$2:$A$10
Price =Sheet1!$C$2:$C$10
Quantity =Sheet1!$B$2:$B$10

Please note:
The formula is an Array Formula, after entering the formula in the cell, press F2 and than press Ctrl+Shift+Enter.

Screenshot // Sum total stock value for any part in Microsoft Excel
Sum total stock value for any part in Microsoft Excel


Rate This Tip
12 34 5
Rating: 3.44     Views: 24589
No comments have been submitted.
Click here to post comment
For Registered Users
Name
Comment Title
Comments