I have a spreadsheet that I would like to add a row every 4th row and subtotal the numbers in the columns D-H (last five columns). Just need a summation in the last five columns. Any assistance would be appreciated. Thanks.
I have a spreadsheet that I would like to add a row every 4th row and subtotal the numbers in the columns D-H (last five columns). Just need a summation in the last five columns. Any assistance would be appreciated. Thanks.
To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.
If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.
Doing this will ensure you get the result you need!
Sorry...did not realize I couls add an attachment
I'm still not clear on what you want to achieve. Can you manually mock up a sample of the expected result?
cheers,
the yellow lines are the additional lines needed....basically a blank row inserted after each fourth line and the last five columns ares summed.
Ah, now I see. These formulas are summing rows, not columns.
Create the first row with the sum formula, copy the whole row (by selecting the row header), then use Insert Copied Cells to paste into their new locations (a new row will be inserted)
Perhaps simplest to just use Excel's inbuilt Subtotal functionality:
The other alternative would be to use a Pivot Table to analyse the DataHighlight A:H and apply Data -> Subtotal as follows:
At Each Change In: Half Hour
Use Function: Sum
Add Subtotals To: Calls, Abandoned Calls, Avg Speed of Answer, Avg Abandoned Time
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
that works great...Looks like I need to do some formatting in the cells that have hours, minutes, and seconds. This spreadsheet is a transfer from a business objects query and just changing the format does not allow the cells to be summed. Need to retype the number and then the summation works... I have changed the cell format from a general number to a custom h:mm:ss and the cell show that but still does not allow summation.
Prior to adding the Subtotals...
Type 0 into a blank cell - copy it - highlight your "Time" cells and run Paste Special -> Operation: Add
If you have just one column for the above you can also try highlight the column and run Data -> Text to Columns -> click Finish.
(TtC is limited to one column at a time so for multiple the Paste Special route can be preferable)
You might want to format as [h]:mm if any cell (incl. sub totals) can exceed 24 hours.
worked great....think this is all I need to do to get this done...Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks