Learn Excel - Shift Subtotals Right 1 Column - Podcast 2168

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Nov 6, 2017.
Rebecca in Springfield MO asks: How to move the subtotals right one column?
Sort the data by account
Data, Subtotals, At Each Change in Account, Sum the Amount
Use the #2 group and outline button to show only the totals
Select all of the blanks in one column to the left of the subtotals
Use Home, Find & Select, Go To Special, Visible Cells Only or Alt+;
Home, Insert, Cells, Shift Cells Right
Click the #3 Group & Outline button
maxresdefault.jpg


Transcript of the video:
Learn Excel from MrExcel Podcast, Episode 2168: Shift Subtotals Right One Column.
Hey, welcome back to the MrExcel netcast, I'm Bill Jelen.
I was just in Springfield, Missouri, doing a seminar there, and Rebecca came up and said that she wanted to add Subtotals to a data set-- which is easy enough-- but doesn't let the Subtotals here in Column F. Wants to shift those Subtotals right, one column, so they're over in Column G.
Okay, so to add Subtotals by Account, easy enough.
Choose one cell in the Account column, go to the Data tab, and A to Z, like that.
And then, also on the Data tab, out here under the Outline group, choose Subtotal, and we say At each change in Account, we're going to use the Sum function, and add the Subtotal to Amount, and click OK, and BAM!
Like that, we get Totals at each change in Account number, right?
It's beautiful, it's fast.
Alright.
But to do this trick, what we're going to do is, we're going to collapse down to the #2 view-- these are called Group and Outline buttons, they were added by the Subtotal command and it gives us just those Subtotal lines-- and then what we have to do is, we have to select just the things we can see.
And I'm going to choose one column to the left of our Subtotal column.
So I'm going to start here at E and I'll hold down the Shift key while I page down, and then arrow down to select all of these cells.
Now I'm going to use a shortcut key here of Alt+; --Alt+; selects the visible cells, it's a shortcut for Home-- Find & Select, Go to Special, Visible Cells Only, OK.
Alright, so just Alt+; selects those cells, and then Insert, Insert Cells, Shift cells right, click OK, and it moves them over like that.
And we go back to the #3 view, you can see the Totals sitting out there in Column G, all the way down like that.
Alright.
There you go.
That tip and a lot more Subtotal tips and all kinds of tips, 617 Excel mysteries solved in this book.
Click that "I" in the top right-hand corner for more information about the book.
Alright, wrap-up: Springfield, Missouri, Rebecca-- how to shift the columns over one column.
Alright?
So, first we add the Subtotal; Sort the data by account; At each change in Accounts; On the Amount; use the #2 Group and Outline button; show only the Totals; select all the blanks in one column to the left of the subtotals; and then Alt+semicolon, which selects the visible cells only; and then just Home; Insert Cells; Shift cells to right; go back to the #3 Group and Outline button and you're done.
I want to thank Rebecca for showing up in my seminar in Springfield, I want to thank you for stopping by.
We'll see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,223,624
Messages
6,173,385
Members
452,515
Latest member
alexpecora0

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