MS Excel 2010 - Auto populate Based on information on another sheet - excel

The goal is to create a formatted balance Sheet based on information (data dump) off of the database.
Download Excel File
There are 2 worsheets
Work Sheet 1: Raw Data Sheet
Column A Column B
Grp 1 Name 1
Grp 1 Name 2
Grp 2 Name 45
I need to populate Work Sheet 2 as
Column A Column B
Grp 1
Name 1
Name 2
Total Grp 1:
Grp 2
Name 45
Total Grp 2
This needs to be automated such that if a new Row is added to the Raw Data Sheet (e.g Grp 1, Name 76) it should be reflected on the other worksheet.
I'm not an Excel Pro (macros, vba etc...) - any help will be appreciated!
Thanks

Have you thought about just making a Pivot Table?
Create a pivot table with Row Labels Column A and Column B, and Values with whatever fields you want to aggregate. It won't update automatically but you just have to hit the "Refresh" button in the PivotTable Options ribbon to update the data.

Related

Excel: Linking the data of one Table's column to Table in another Workbook

Thank you for reading my question.
I am looking to replicate certain columns (e.g columns A,D,F) from a table (e.g TableX) DYNAMICALLY to a set of columns (e.g columns H, J, K) in a second table (Table Y) in a second workbook (Workbook 2).
I want to make sure the link is live between the two, and that if I delete or add rows to Table 1, Table 2 automatically expands/retracts to represent the same number of entries.
I have tried linking the tables, but I end up with !REF errors. I have tried Linking Named Ranges, but I seem to lose expansibility. I have tried linking Table 1 to an Access database, then Linking that Access database with Table 2, but have not been able to get it to work.
Any thoughts?
Cheers for any help.
R
If the Row Number of Table 1 in Excel Workbook 1 and Table 2 in the Excel Workbook 2 are the same, (Example, both tables begin at row number 5), then use the following formula
=IFERROR(IF(ISBLANK('Excel Workbook 1.xlsx'!Table1[[#This Row],[Col_A]]),"",'Excel Workbook 1.xlsx'!Table1[[#This Row],[Col_A]]),"")
If the row numbers of Table 1 and Table 2 are different, (Example Table 1 begin at row 8 and Table 2 begins at Row 25) then use the below formula.
=IF(ISBLANK(OFFSET('Excel Workbook 1.xlsx'!Table1[#Data],ROW()-ROW(D$4)-1,0,1,1)),"",OFFSET('Excel Workbook 1.xlsx'!Table1[#Data],ROW()-ROW(D$4)-1,0,1,1))
In the 2nd formula, the D4 is the location of the title of the column of Table 2.
In the 2nd Formula, I am assuming that there is no data below Table 1. All rows below the title of Table 1 should only contain data which is a part of Table 1.
Change the Cell References, Workbook Names, Sheet Names and Table Names as required.
I hope this solves your problem.
Regards,
Vijaykumar Shetye,
Spreadsheet Excellence,
Panaji, Goa, India

need to copy data from one sheet to another depending on a value of the first sheet

i have never used excel except for in college and well that was a while ago, what i have is 3 sheets sheet 1 contains all user information sheet 2 is company information and sheet 3 is company member information,
now what i need to do is this,
i need to loop through sheet 1 column K and search for what is not "Individual" then i need the value of sheet 1 column A and put that in sheet 3 column C
i also need the index of the same row that does not equal "Individual" and use that to grab the value of sheet 2 column A and put that in sheet 3 column B
hopefully that makes sense and is actually possible and any ideas would be greatly appreciated!

Linked columns in an Excel document

I'm trying to create an excel document with two sheets, the first one containing a list of fruit types, for example
ID Description
1 Apple
2 Orange
3 Pear
...
The second sheet would contain a reference to a row from the first sheet and some additional data.
For example
Fruit_ID Quantity Customer
1 12 Chris
3 7 Jenny
...
And when a user is adding a new row in the second sheet he would be presented with a drop down list of entries from the second sheet when setting the first column value.
The number of rows in the second sheet is dynamic ( user will be adding data into it).
How can I do this ?
Select the cells where you want to display dropdown.
Go to Data Tab > Data Validation
Enter the following criteria
Allow:List
Source: =OFFSET(Sheet1!$A$1,1,0,COUNT(Sheet1!$A$2:$A$1048576))
Change the sheet name accordingly and it will show drop-down based on the Sheet1, column 1.
Let me know if it works.

Excel select rows with missing data and copy the selected rows

I have a big excel file with info of companies and there companyID.
But some companies miss there companyID. So I need to copy dose rows, but I cant find how to do that.
So in this exampel I want copy row 2 and 4
A B
Company CompanyID
1 asd 123
2 sda
3 ads 321
4 sad
You have two options:
filter the column B (CompanyID) where = blank and copy the results into another sheet.
select the entire columns A and B, the insert a pivot table with Company and CompanyID in ROWS. Then FIlter the results to show only the rows where CompanyID is blank.
The second one is more interactive, you just have to refresh the pivot table to get the updated results. Of course, it depends on how many times you have to to this job and how many times the list is being updated.
select all data company name field and company id field.then select filter and sort button in excell.then click company id header and click number filter and then equal and ok

Excel 2010: Vlookup Name from one column & Count and return data from another column

Hoping someone can help me here. :)
I have two columns of data in Worksheet 1:
COLUMN A = NAME (EG. TOM)
COLUMN C = TYPE OF QUERY (FAX, TEL, EMAIL, MAIL)
I would like to have in Worksheet 2:
COLUMN A = NAME (EG TOM)
COLUMN B = A COUNT OF HOW MANY FAXES TOM HAS
COLUNN C = A COUNT OF HOW MANY TELEPHONES TOM HAS
COLUMN D - A COUNT OF HOW MANY EMAILS TOM HAS
COLUMN E = A COUNT OF HOW MANY MAILS TOM HAS
If anyone can help me that would be great.
Thanks guys
You can use a pivot table. In sheet 1, click into the data table, then click Insert > Pivot table.
Drag the Name field to the rows. Drag the query type field to the columns.
Drag the Namie field again, this time to the Values area, where it will turn into a count.
Now you see a count of query types for each name in a matrix.
Use countifs instead if you really want to use formula. A pivot table would be the best way to go though.
eg for column B, row 1 on sheet 2:
=COUNTIFS(Sheet1!A:A, A1, Sheet1!C:C, "FAX")

Resources