Extract Data By Multiple Criteria
Jun 20, 2007
I have an excel sheet which has 200 fields and 1000 rows, now I want to make summary of them, so I need some fields to be extracted from those 200 fields to another sheet on multiple criteria, Like Category, First Name, Last Name, District, Village, Date and etc.
View 9 Replies
ADVERTISEMENT
May 16, 2014
Say, I have 100 names , in that two names /employees joined during the week of 04/21/2014-04/25/2014 - 5 business days and one resigned during the week - Thats my first worksheet Which gives the employee name , Employee id , Joining Date , Resignation Date.
Second worksheet i am giving a summary -
In that i would like to get only the names joined during the week and resigned during the week
Is it possible ? Will the offset function can provide me the desired result ?
View 4 Replies
View Related
Jun 28, 2010
I have a data sheet with 20 columns and about 300+ rows. In the results sheet there are 3 criterias (from column A, B, H in datasheet) which are in the form of dropdown in cell A1, A2, A3.
I would like to extract the data from the data sheet based on the criterias selected from dropdown list, to results sheet starting from row 6, with only 12 headers out of 20 (non-continuous, e.g. columns A-C, E, G-K etc.)
View 3 Replies
View Related
Nov 30, 2006
I have a raw database that contains various data all in one column and I only want to extract certain data to a new column. All I want is to extract the time, like 14:00, 14:15, 14:30, etc...... from column "A" and populate column "D" if it meets this criteria.
I have tried everything I can think of, very difficult yet it seems to be so simple.
The "date" is really a date format but the "time" is really text.
Here is what the data looks like:
Column A has....
Name1:
Name2:
Name3:
10/16/2006
14:00
14:15
14:30
14:45
15:00
10/27/2006
16:30
16:45
17:00
View 9 Replies
View Related
Apr 16, 2012
What I am trying to do is extract all the data from a excel database based on criteria. When i specify the site and month I need to pull all the corresponding data and write it to a worksheet. Below is an example. I am not allowed to show all the data it is confidential.
Site Date Operator Month
Chicago 12/3/11 Daniel December
San Jose 4/8/12 Mike April
New York 4/8/12 John April
View 1 Replies
View Related
Jan 8, 2013
i want the compile all information from few sheet (20) with same format on daily basis based on due and CF status cash flow. the format as below as the result will same as original format,
No.
Receive Date
PRF No.
Frank No
[Code].....
View 1 Replies
View Related
Mar 23, 2014
I have a spreadsheet with 2 tabs:
AllData:
Name
Data
Read1
[Code]....
View 9 Replies
View Related
Oct 29, 2009
I am trying to create functions in VBA and I need to extract data from multiple workbooks. For example, is it possible to sum data(numbers) contained in multiple workbooks using VBA? If so, how do I create that function in VBA.
View 9 Replies
View Related
Aug 6, 2008
I am running into at the moment is that where the Select Case is checking if the sheet name starts with the initials and project number, it doesn't seem to recognise if it is correct (and therefore perform the actions). I have stepped through the code and when I use the immediate window to manually check:
? ws.Name Like "TA0632*"
I get True as an answer, but the code goes on to the next case as though it is false. Here is the code I have so far, which I'm sure can be trimmed down loads:
Option Explicit
Dim currCell As Range
Dim c As Long
Dim r As Long
Dim rng
Dim ws As Worksheet
Dim skp As String
Dim LastColumn As Integer
Sub Breakdown()
Dim t
t = Timer
For Each ws In ThisWorkbook.Sheets
Debug.Print "Current sheet is " & ws.Name
CheckSheet...................
View 2 Replies
View Related
Jul 28, 2014
The below article explains exactly what I am trying to do but the formula in step 5 doesn't seem to work. I keep getting an #REF! Error.
[URL].....
I am not sure if maybe I'm typing in the quotations wrong or if the formula doesn't actually work.
View 2 Replies
View Related
Aug 14, 2014
Creating macro which can read data from one/or more sheet and copy and paste it into another sheet, by matching up column A & B and Row 1, between the both sheets.
I have monthly data stored in each sheet, named as May, June, July etc. I also have sheet called 'monthly' within the same workbook, where I would like to extract all monthly totals, from sheets july, June etc, into the 'Monthly' worksheet by matching up its names from Column A and B and row1 header with each sheet's names.
The june,july worksheets have date1, date2 etc, columns with data and after those columns, there are the 'bs, rm, cm, cd, cl' columns, and these are the columns, I would like to use, to extract the numbers from and paste in the 'monthly' worksheet.
My current issue, is that the 'bs, rm, cm..etc' columns are not fixed, due to the 'date1, date2 etc' columns can vary, for each month.
For this current task, I was using a formula as shown below to extract the values into 'monthly' worksheet, however due to unfixed columns for 'bs, rm, cm... etc', I could not get the formula to work for the 'july' and 'Aug' months (i.e. extract data into 'monthly' worksheet, from the june&aug sheets).
[Code] ......
I would like to request, if it is possible to use the formula below to re-create macro which can carry out this task, by extracting all the values from 'june, july, aug etc' sheet, into the 'monthly' sheet, at once.
I have attached a sample workbook with example of data layout and desired output shown in monthly worksheet.
data_extraction2.xls
View 7 Replies
View Related
Mar 15, 2003
I have a spreadsheet containing a factory's operational data, with each machine in the factory being represented by its own worksheet.
The sheets all have the same structure, with each line of data representing a shift (we have 12-hour continental shifts, so column A of all the pages has the date in an standard format, and column B has either "d" or "n", representing the shift). Various datat is documented on each machine on a shift-per-shift basis.
What I need to do is figure out how to do a macro that extracts all of the lines on all of the machines' worksheets that pertain to a particular shift (for instance, all of the lines where column A read "14-Mar" and column B read "d"), and export the values of the entire row to another worksheet, creating a shift summary on one page.
To do this, I would like to make the date and shift user-definable variables that appear at the top of what would become the summary sheet, and have a button that activated such a macro at the top of the page as well.
View 9 Replies
View Related
Apr 15, 2008
I have a folder with an unlimited number of Excel Workbooks. Data within workbooks are in same format - 3 columns of data. I would like to extract the Data in the range (B55:B70) for every workbook, transpose the data and append by rows into one worksheet.
To be clear - I want to take data range B55:B70 from first workbook,transpose and put on first row - take data range from second workbook, transpose and put on second row, repeating for unlimited number of times...
View 8 Replies
View Related
Jun 15, 2014
I have .Raw data in 3 different configurations, which can be opened in Excel.
I want to automatically extract relevant data (Columns) from these 3 different types of .Raw data before running analysis using chart using Macros.
Now here is the problem, Data from the .Rawdata needs to be accumulated. That is, I have multiple sheets of excel, which I have to open manually and extract specific data from individual columns onto another sheet to accumulate every data before running analysis.
How to tackle this situation?
1. Able to detect the right type .Raw data for use in Excel.
2. Extract data from many excel onto one main sheet, using Macros.
View 1 Replies
View Related
Jun 25, 2014
I am finding it very difficult to extract the Project reference data for each employee, I have attached sample working file for reference.
For Example
I have a project names in Rows and Employee names in Columns and each employee fill the working efforts in multiple projects and i would like to extract which all project they have worked for each month. Since the data is very huge i am not able to progress fast in collecting the data
Project NameEmp1Emp2Emp3
A
B 1015
C
D 2012010
Working.xlsx
View 5 Replies
View Related
Aug 31, 2012
I have a worksheet entitled 'Data'. In this worksheet there is a table consisting of 4 columns plus relevant data:
TABLE 1:
Project
Benefit Type
Delivered or Enabled
Benefit
PJ1
Financial
Delivered
Saving of $4M over 24 months.
[code]....
I have been trying to create a formula that will enable me to pull data from the 'benefit' column(column D) so that the cell contents populate in a single cell in a table in a different worksheet.
TABLE 2:
Financial - Delivered
Financial - Enabled
Tech - Delivered
Tech - Enabled
Green - Delivered
Green - Enabled
[code]....
So, as an example, I am hoping that a formula can be created which pulls the text from relevant cells in column D when criteria from columns A, B and C are met e.g. Tech benefits that are Delivered in PJ2 would populate cell E3 ('Tech -Enabled') in Table 2 with:
Continued maintenance of hardware.
Increased capacity.
View 1 Replies
View Related
Oct 3, 2008
I have a few hundred data/text files to analyze, some a few thousand lines deep. I would like to grab 5, just 5 numbers describing voltage levels. I know the preceding text for each of these in the cell and the following text as well. I just need to delete everything else and keep these 5 values in a column using a script or a macro, and do so for all these files in a specified folder.
This would be 3 weeks of work and the analysis needs to be done ASAP for my research.
Thousands of lines of ancillary data
Thousands of lines of ancillary data
Thousands of lines of ancillary data
Thousands of lines of ancillary data
"11/09/07 14:42:20 J13-50 and J6-9, PCU Resistance (XXXXXXX. Ohms) is within 1.000 to 3741."
Thousands of lines of ancillary data...........................
View 9 Replies
View Related
May 14, 2014
I track distribution using 1 workbook for each sales rep. Each workbook has a separate worksheet (scorecard) for each of their locations showing which of our products are used in that location, for various functions. Each of the locations has a segment (bar, nightclub, casual dining, etc.), and a class (AA, A, B, etc.). All of the scorecards are identical, and are in the same file folder on our shared drive.
Sample:
Location A Class:AA Segment: Sports Bar Rep: John Smith
Product: Product X Product Y Product Z
Well: 1 0 0
Back Bar: 0 1 0
Cocktail Menu: 0 1 1
I was unable to find an HTML maker so this is not an actual sample but what I'm looking at. The above data indicates that for location A (Sports Bar, Class AA), Product X is used as the well, Product Y is on their back bar and their cocktail menu, and Product Z is not used at this location at all.
I need to set up an analytic workbook where I can sum data based on multiple and grouped criteria, and for multiple reps ie- display a scorecard that shows totals for nightclubs and sports bars, class AA, A, and B, for a particular rep; OR display a scorecard that shows totals for nightclubs, class A for a group of reps. Ideally I would like to do this using drop down menus that allow the user to select multiple criteria in each of the drop downs, having the data auto-populate based on those selections.
View 2 Replies
View Related
Jun 24, 2014
I've attached a sample sheet to this message.
What I'm trying to do is grab data from the raw data sheet and paste it into the master sheet based off of certain criteria. I want to list any accounts that are not correct.
For example, I want to look through the Raw Data sheet, find the account that contains campaigns which are not correct, and then list the name of the account on the Master sheet. I only need the account name listed once on the Master sheet.
Sample Data.xlsx
View 4 Replies
View Related
Mar 28, 2014
I have a folder with multiples excel sheets
Destination : C: Project CustomerExcel
I would like to extract and compile the information contained in these cells:
a5,c5,a6,c6,c7,a14,g14,e16,g16,e18,i18,a20,g20,h22,j22,h24,l24 all the sheets.
New sheet would contain the information of each sheet eg. Column A2= file name
And Row B2 to R2 or whatever will be the corresponding cells mentioned above for each cell. The code I have only brings back the file name but only a5 from the range but not the rest.
VB:
Sub MergeAllWorkbooks()
Dim SummarySheet As Worksheet
Dim FolderPath As String
Dim NRow As Long
Dim FileName As String
Dim WorkBk As Workbook
Dim SourceRange As Range
[Code] .....
View 5 Replies
View Related
Apr 2, 2014
I jst need to console data from different workbooks to one worksheet. There are 30 workbooks & each workbook contains one worksheet name as Data. The work i am currently doing mentioned below step wise
1) Open workbook
2) Apply filter on whole data
3) Select dates from "J" Column (E.g 02/10/2014 to 02/20/2014)
4) Then Copy whole filtered data
5)Paste into New workbook
6) Open another worbook
7) repeate Step # 2,3
8)Then paste whole data in below the first data New Workbook (In which we have paste the first data below that i will paste this data)
These steps i have to do manually it takes almost 1hr daily After pasting all 30 workbooks data in one workbook i have to make pivot of it & sent it to my Manager. What i need
I jst want a excel macro that will ask me date range from which i have to pull data from all 30 workbooks.
Once i gave date range will jst click on button say extract or pull. It willl console whole 30 workbooks data from the given date range in a one worksheet.
View 13 Replies
View Related
Mar 10, 2009
Need in displaying data by user input criteria, mulitple rows of display also need to display to blank out when no criteria is input. In example spreadsheet the criteria cell is B6 in "Results" page and needs to pull in data from the "Database" page.
View 3 Replies
View Related
May 13, 2014
How I can sum up from raw data under multiple criteria:
Raw Data
Region
Item
Company A
Company B
Company C
North
Orange
1,200
7,894
100
[Code] .....
In the table above I want to sum up as result below, what formula is best for it?
Result
Region
Item
Company A
Company B
Company C
North
Orange
?
?
?
[Code] .........
View 5 Replies
View Related
Feb 26, 2014
I am looking to search in a table (say 4 columns) corresponding to multiple criterion (one for every column except fourth) and returning the values which are numerous (from column 4). I have tried the INDEX function but it only gives me one of the many cells. I am working on a table with +20000 cells per column
View 3 Replies
View Related
Nov 12, 2012
I would like to put a data validation check on a cell to make sure only numbers are inputted in the cell (As opposed to words). So I was looking to write in 2 data validations: 1 to say =value(A1) and the other to allow a zero to be inputted as well. How can I write these both in?
View 2 Replies
View Related
May 22, 2014
I have attached a very simple model of a much larger BI report that we use. I have written a DSUM that returns the correct result in all cases other than when one of the criteria columns is blank. When one or more columns is blank, the result returned is 0 whereas I need it return all data (for e.g. if you remove "sains" from cell B2, I need it to still return data for person "b", "c" and "d" (i.e. 51 for Mar14)).
Attached File : DSUM (2).xlsx
View 3 Replies
View Related
Mar 30, 2009
I need to remove any rows containing "EEE" in the size column.
I also need to remove any discontinued ("D" in the "Type" column)styles that are currently not in inventory. For example 05-5490 does not have any available in either width "D" or "EW" and should be removed; however, 28-112 does have stock and should remain in the spreadsheet. Anything with an "F" in the "Type" column should be left alone.
View 13 Replies
View Related
Jan 6, 2010
I have a worksheet with several columns of data that I have to summarize elsewhere on the sheet. Here are the columns:
ID
Status
Joined
Name
Name can take on 4 possible values. For each value in Name, I want to count the number of cells in a column that fit certain criteria. Here are the counts I want to make:
Status OK: Status is a date.
Joined OK: Status is a date and Joined is a "1".
There are going to be about 500 records to count. I've already implemented these counts in a Windows scripting language that interfaces with Excel, but I know there must be a more direct and faster way to do it entirely in Excel, whether with VBA or writing functions into cells.
View 3 Replies
View Related
Feb 26, 2013
how to Transfer data between worksheets using multiple criteria?
View 1 Replies
View Related
Feb 11, 2010
In the attached vacation accrual spreadsheet, I created two tables: Exempt hours earned, and also, Non Exempt hours earned. I have all employees on one worksheet. The hours accrued (Vacation Level) are different for Exempt and Non Exempt. I need: What is the best formula to autofill the Vacation Level column (H):
It needs to choose exempt or non exempt from column (C) then reference the # Years of Service column (F) to find the correct vacation days earned as defined in the two tables on the right, or those numbers could be used in the formula itself. . . I JUST DON'T KNOW! Nothing I am trying is working!
create a formula! Use the spreadsheet to maybe make name ranges? nested IF statements, or LOOKUP, or even VLOOKUP??? Or something that works. not to repeat, but. . . Nothing I am trying is working!
View 3 Replies
View Related