Add In to calculate extended cost

sbayank

New Member
Joined
Sep 19, 2012
Messages
1
What I am trying to do:
- Create an add-in that does a simple extended cost calculation = (unit_cost) x (units_per_pack) x (packs_per_carton)
- I want the calculation to be based on the column header (always in row 1) rather than column A, B, or C because in different spreadsheets the columns used in the cost calculations are in different places.
- The add-in will have a button/icon "Run Calc" and the calculated value along with the part_code and part_desc are populated in a new worksheet. Note, part_code and part_desc are the headers and may not be in the same location across spreadsheets
- Additionally, if the unit_cost or units_per_pack is missing, I'd like the calculation to to show missing_cost or missing_units_per_pack

I'd certainly appreciate your input on how to proceed with this.

Thank you
SB
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,216,089
Messages
6,128,750
Members
449,466
Latest member
Peter Juhnke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top