I am currently using a Pivot table which is linked to several tables in other sheets in a workbook. However I need to the rows to be ordered as per the Hierarchy I determine when I enter the data. I have the position number in one of the source tables but need to use that data to set the position within the pivot table using some VBA code. I'm not sure if this is possible so any thoughts are appreciated.
Thanks in advance.
Related
I am trying to build a query that populates data in a column in a similar way to how an index, match or vlookup works.
My workbook has 2 sheets:
Contains open order data pulled from SQL (SQL_Data)
Contains saved comments that were manually entered on the SQL sheet (Preserved_Comments)
I have two queries set up:
Saves the order number and the manually input comments from the SQL_Data sheet, and puts them in a table on the Preserved_Comments Sheet
Refreshes the SQL data table
I have been trying to add a 3rd query that adds the comment column back into the SQL_Data sheet, but I can't figure out how to do a join / index, match / Vlookup that looks at the order numbers and populates the saved comment.
My goal for this is to create an order report where when the SQL data is refreshed, the manually added comments are saved and follow the order number.
Any guidance would be appreciated!
You can merge both Queries into a new one. Use a key column, It would be the lookup array in INDEX/MATCH. This should allow you to join the column.
I have a document list that is updated periodically. The list may have up to 5 associated doc numbers associated with it. I need to generate a report that will have the primary document listed and the other 'sub documents' listed as well.
I basically need a table as show in the picture. I attempted a UNION, but if the data is dynamic, I would also continually need to update the query.
Any help or direction with this concept would be greatly appreciated.
I do not see other solution but read the recordset row by row and insert the data into new table. PIVOT would not work in this case.
I'm looking to figure out a way to take some data in a sheet and then carry it over to another sheet and change the formatting of it. In essence, I have a set employees, skills, branches and tiers. Rather than have a long list of each skill name and a separate row for each employee, I'd like to have (see 2nd image) the employee names listed under the skill name in a table.
Here is the spreadsheet with the data:
And then I'd like to format the data like so in the second sheet using an update button:
Any help would be greatly appreciated!
A Pivot Table should do it for you!!
I'm working on a quarterly report that Auto-generates all fields.
I could really use some help building a formula that pulls values from the first column ([T6-TOC]) of three separate tables (ROVH_Jan, ROVH_Feb, ROVH_MAR) existing in another worksheet (RVH 1825). I need the three ranges of values to stack in a single column, but I do not want to eliminate duplicates values.
I've tried using =INDEX formula, and VBA but I can't get the syntax right.
Any suggestions?
These are sources I've viewed but didn't solve my problem.
https://superuser.com/questions/445410/pull-row-of-data-from-one-place-in-spreadsheet-to-another
http://forum.chandoo.org/threads/merge-stack-multiple-named-ranges-across-multiple-worksheets-in-a-master-sheet.11074/
Excel - Combine multiple columns into one column
http://www.mrexcel.com/forum/excel-questions/610527-how-do-i-stack-data-multiple-columns-into-one-column.html
Something like this should work for you:
=IF(ROW(A1)<=ROWS(ROVH_Jan),INDEX(ROVH_Jan[T6-TOC],ROW(A1)),IF(ROW(A1)<=ROWS(ROVH_Jan)+ROWS(ROVH_Feb),INDEX(ROVH_Feb[T6-TOC],ROW(A1)-ROWS(ROVH_Jan)),IF(ROW(A1)<=ROWS(ROVH_Jan)+ROWS(ROVH_Feb)+ROWS(ROVH_MAR),INDEX(ROVH_MAR[T6-TOC],ROW(A1)-ROWS(ROVH_Jan)-ROWS(ROVH_Feb)),"")))
I need to create a pivot table at the front end after retrieving data from the DB in a datatable and need to update the values of my grid with this data.
I have gone through many articles/blogs but they all demonstrate it by using one Data Value column. But in my scenario, I have 8 Data value columns to be pivoted.
Data To Pivot
Pivoted Data
Do someone has idea how to do it efficiently at the front end?
Would it be a good idea to embed the data in excel, create the Pivot there and retrieve the required data from excel?