May 09 2017 11:52 PM
Hello, I need a formula to calculate how much it would cost all up to make a menu item eg, chicken sandwich by looking up each code and multiplying the quantity with its associated unit cost. I have attached the excel spreadsheet which has two sheets MENU & ITEMS. Any help is much appreciated, thanks.
May 10 2017 12:19 AM
You can use SUMIF to check in detail the breakdown. Attached is the modified Excel Spreadsheet with formula.
May 10 2017 12:38 AM
May 10 2017 01:59 AM
Dear Lousa Dira,
Enter the following Array formula in cell C2 and drag it down.
Array formulas are to be Entered using Control+Shift+Enter instead of Enter.
=SUM(IF(ISERROR(SEARCH("Qty",$E$1:$AG$1)),0,1)*IFERROR(VLOOKUP(D2:AF2,ITEMS!$C$2:$E$48,3,FALSE),0)*IF(ISNUMBER(E2:AG2),E2:AG2),0)
Vijaykumar Shetye,
Spreadsheet Excellence,
Panaji, Goa, India
May 10 2017 02:19 AM
SolutionDear Lousa Dira,
I need to make some ammendments in the previous array formula.
In the mean time, you may use the attached Excel file which contains 2 independent methods of doing the activity. Choose the one you find most appropriate.
Do let me know if any clarification is required.
Vijaykumar Shetye,
Spreadsheet Excellence,
Panaji, Goa, India
May 10 2017 03:17 AM
May 10 2017 06:26 AM
May 10 2017 06:27 AM
May 10 2017 07:08 AM
May 10 2017 07:18 AM
May 10 2017 07:27 AM
May 19 2017 02:19 PM
Hi to all!
Without helper cells, you can use this formulae (in C2 and drag it down):
=SUMPRODUCT(SUMIF(CODE,D2:AF2,ITEMS!E$2:E$48),E2:AG2)
See attached. Blessings!
Jun 21 2017 10:24 AM
May 10 2017 02:19 AM
SolutionDear Lousa Dira,
I need to make some ammendments in the previous array formula.
In the mean time, you may use the attached Excel file which contains 2 independent methods of doing the activity. Choose the one you find most appropriate.
Do let me know if any clarification is required.
Vijaykumar Shetye,
Spreadsheet Excellence,
Panaji, Goa, India