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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,223,603
Messages
6,173,308
Members
452,510
Latest member
RCan29

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