So I have a packing list, which I have partitioned into separate sheets by category, so each sheet looks something like:
Item | Quantity | Box Number
hat | 2 | 1
So what I want is a 'master' sheet where all my items are listed across all sheets, so that I can sort by box number. This should cater for additions in the sheets and reflect that automatically in the master sheet. I tried copy and paste with links but that doesn't allow for additional rows.
Using Pivot table you can achieve this. Please follow the below steps
Create a Master Sheet and place your cursor at A1 cell
Press Alt+D and then P
you will get pivote table and pivot chart wizard
Select 'Multiple Consolidation Ranges' option
Click on Next
Select 'Create a single page field for me' option
Click on Next
Click on 'Range' edit box at the top
Select the first sheet where you have your first set of data
Select all the range that you wanted to include. You can include as many as empty row at the bottom
CLick on 'Add' Button.
Select the next sheet you wanted to add into your master sheet
Repeat the steps from 10 till all your sheets are included
At the end click 'Next'
Select 'Existing worksheet' option
Click on 'Finish'
If you want to add additional sheet you may need to repeat these steps again.
If you are adding any data into any of the sheet, then you need to click on 'Refresh All' from the 'Data' Ribbon, which will refresh the added data.
You can hide or filter unwanted columns and rows from the pivot
Or you can refer all required cells of this pivot sheet to new sheet. Only issue is you need keep clicking 'Refresh All' from Data Tab on the ribbon everytime there is a change.
Now all your data are in your master sheet
You can also do this using Microsoft Query option found in Data Tab-->From Other sources.
Related
I have a large file with a Scenario Manager, where changing a single cell on the Summary worksheet changes the visible scenario throughout the rest of the workbook. Data Tables are working a treat providing the headline values for each option.
I'd like to have a drop down on each sheet that when changed will change the same single cell on the Summary worksheet, so I don't need to go back to the Summary sheet every time I want to switch visible scenarios.
This is a simple process if I'm using macros and would be the solution I'd normally jump straight to. But this needs to be done without macros and this is where I'm now struggling.
Does anyone know if this is possible (without macros) and point me in the right direction?
Josh
You can insert combo box (Developer Tab > Insert > Form Controls > Combo Box) on each sheet. Mention linked cell as a cell of the summary sheet (Absolute reference with sheet name). That cell will give you index of the item selected in the drop down list. Then you can insert index formula in the cell you want to change every time to get value of the drop down list. Once you insert it on one sheet you can copy it to other sheets. No macros required.
I need to hid the formulas in my sheet without protecting the sheet,say i have sheet 1 in that i need to hide the formulas from range(A1:G10) i can hide the formula but iam not able to provide input for the whole sheet
My requirement is to hide the selected cells formulas and able to give inputs for other cells in the same sheet how can i achieve this.
Select the whole sheet, right click and then select Format Cells.... In the popup window, select Protection tab. Unselect both options and press OK button. This will unlock all cells on the sheet as by default all cells are locked. Next, select your range, repeat the above process again but this time ensure that both options (Locked and Hidden) are selected this time and press OK. Now protect your sheet (in Excel 2013, select the REVIEW tab and select Protect Sheet option and follow the steps).
This will hide your formulas and stop anyone changing the values in the protected cells
I currently use a printed out grid to document my work, but its a bit of a pain to search through and organize. I'd like to go digital, but want to find an easy 'Save current Version' and 'Reset form' option.
If that's is unclear, I want to make a button that will save the spreadsheet, exactly as it is at the time of click (using a name I enter in cell A1), then reset the contents of the spreadsheet.
They can be two separate buttons if needed, but that is the minimum requirement.
I have done this before, and with a little planning can be accomplished through a recorded macro.
Steps:
Create 2 Worksheets, "Form" and "Data".
Design the form on the "Form" worksheet, and populate with sample data.
On the top row of the "Data" worksheet, create references to the fields you to record.
Now Go back to the "Form" worksheet. and start the macro recording.
Go to the "Data" worksheet, right click the row header below the reference row created in step 3 and select "Insert".
Right Click on the row header of the reference row created in step 3 and select "Copy".
Right Click on the row header of the newly insert row from step 5 and select "Paste Special > Values".
Go back to the "Form" worksheet and delete all the placeholder values.
Stop the macro recording and save.
Insert a button that points to the newly created macro.
You can also do this all with VBA, but for a simple task like this, the Record Macro function is perfect.
I need to create a report (for printing) that has two sections. The top section contains the scorecard, and the bottom section contains the drillthrough information for any "red" items in the scorecard.
The scorecard is currently a PowerPivot table with conditional formatting. If the scorecard has 3 "red" cells, then I can double-click on each of the red cells to drillthrough to the details. However, I would like to display those 3 drillthrough tables in the same worksheet below the scorecard, so I can print both the scorecard and the drillthrough details all at once.
I'm looking for a solution that is automated. Each time I print out the report, I can do a lot of copy and paste, but I rather not. I'm looking for a solution that is as automated as possible - so the bottom section of the report will always contain details for anything that is red in the scorecard. I'm open to using VBA.
Thanks!
I would suggest to use VBA. However first store a list of sheets in one of your sheets for your VBA code to use. Create the following subroutine in your Workbook code section to have the trigger for when a new sheet is selected:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Now add code to this subroutine to verify if the sheet selected was already present in your workbook by checking against the list.
If it wasn't in the list yet, check if there is a table on the sheet.
If there is a table on the sheet have its content copied/moved to your report sheet to a specific range and delete the drill through sheet again (and remove it from the list). Have the code select your report sheet again!
If there was NO table on the sheet add it to the list of sheets
I'm working on a spreadsheet to act as a master copy for some important information that will be kept track of for a project. On the main sheet I have a table for notes and a table for contacts set up separated by several columns and some VB code to insert new notes or new contacts. However, when I insert a new note I want it to appear at the top of the table and to move all existing notes down a row. Is there any way to add a row to a specific set of columns so that any other data that is kept on cells with the same row, but in a different table, are not moved?
A basic example:
Dim rng As Range
Set rng = Worksheets("Sheet1").Range("A2:D2")
rng.Insert Shift:=xlDown
...assuming that you want to insert 1 row of cells above the cells currently located in A2:D2.
You'll have to code a VBA macro that selects all cells in the notes table as a Range object, and then moves them down one row.
I wouldn't know the exact code, but I'd advise you use the "Record Macro" function and do it by hand: select two cells in an Excel sheet, press the right mouse button and click "Insert". Then it'll ask you if you want to move the rows down. You can see in the newly recorded macro what the code is, and adjust it for your specific purpose. Good luck!