Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet with the following data:
Sorted Alphabetic Product Codes (3-6 Alpha letters) in Column C starting at Row 4 - the last entry in Column C will always be blank Units (6 numeric numbers nnn,nnn format) in Column F also starting in Row 4 Value ($$$,$$$.cc format) in Column K also starting in Row 4 The main process occurs when a new Product Code occurs in Column C. When it does I need to put in the last row of the the previous Product Code the following: 1. total of the Units from its Column F into the the associated cell of Column N 2. total of the Value from its Column K into the the associated cell of Column O 3. divide the contents of the relative cell in O by the contents of the relative cell in N to calculate the average into the relative cell in P (fomat $$$.ccc). For example when the rows in Column C change from code ABCD to ABCE calculate the total of the units and value for ABCD and put their values into the associated cells in column N and O of that last row for ABCD - then divide the associated cell in O by the associated cell in N to get the average and put it into associated cell in P. If someone can help I would really like a macro to automate this process |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Product Code and Product Description setup | Excel Worksheet Functions | |||
VLOOKUP - TABLE_ARRAY SUBJECT TO CHANGE | Excel Discussion (Misc queries) | |||
Vlookup code product and to copy commentary with photo of the product in vba | Excel Programming | |||
VBA Code for Matching and totalling columns | Excel Worksheet Functions | |||
Code to Email with UNC in subject line | Excel Programming |