Pull Specfic Data Only From Database
Aug 4, 2009
check out the attached workbook.
I have 3 companies, A, B, and C, split by worksheet.
What i'm trying to do is consolidate all the data on 1 sheet, so it auto populates if new lines are added in the individual company worksheets.
So if a new line of data is added on the Company A worksheet, it will automatically be added in the Overall consolidated worksheet showing everything (so say I have 5 rows of data in each workshet, I want all 15 rows showing in the consolidated), BUT only if it has the following criteria:
That its got some data in Either the 'CF Currency or Other Currency or Amount' columns. If it fulfills any of that criteria, the new line will be added in the consolidated worksheet.
Copy Rows, Meeting Criteria, From Multiple Worksheets & Append To Summary Sheet - This thread has been made by a guy with the same problem as me and the solution for it works for him, but I cannot make it work for mine. I'd guess it would need small modifications but I don't know coding at all.
View 9 Replies
ADVERTISEMENT
Mar 25, 2014
I am faced with a challenge of identifying all the probable duplicate issue of Id cards for a list of some 50000 students.
There is a list of student names in Column A with associated fields in subsequent columns.
I would like to use either first name or last name as keyword and pull all the data(all the columns) that either partially or fully match the keyword in second sheet.
I have attached a sample workbook for this : STUDENT MASTER.xlsx‎
I have tried vlookup but it pulls only one data set.
View 2 Replies
View Related
Oct 21, 2009
I'm looking for a solution for my worksheet. I've got a main tab in which contains deposit data, I need to take the raw data format it and break it down into 7 different tabs. Each week a report is exported and then one for the actual month containing all the data. I’m currently manually recording some formatting macros because I haven’t learned to write my own yet. The number of columns in this report is always constant but the rows vary depending on the number of deposits. I have 7 tabs where the data from the main sheet will be broken down in. In my spread sheet I have the following headings. (A1)Date, (A2)Batch, (A3)Source (A4)Control (A5)Total Batch (A6)Total Variance
The information I would use to copy the rows to other sheets is going to be based on (A2).
Anything that starts with U65 would go into the U-65 tab.
1,7 or 8 would go to the lockbox tab.
2 or 5 = IN-HOUSE
3 = WIRES
4 = DATA OCEAN
Eh, WH, or WE = ACH
Finally the variance tab will contain any rows which have a number other than 0 Positive or Negative. My biggest problem is that I never know how many rows the data will have so when I recorded my macro I Started dragging my formats to about row 200. It could one day surpass this number so If I had a choice id set it to row 1,000.
View 5 Replies
View Related
Feb 11, 2014
I'm looking to pull names from a database to a particular sheet based on what info is displayed in the database. I have six names listed in the database with a league type and position. I have three different tabs at the bottom for where the info is supposed to pull depending on the player type.
For example, I want all six players to pull to the 'Mixed' tab and populate the appropriate area based on their position. Next I'd like the 3 players with 'AL' for their league type to populate only on the AL tab and likewise for the players with 'NL' for the NL tab. Not only do I need the players to pull to the appropriate tab but i also want them to populate in the right position within that tab.
View 8 Replies
View Related
Apr 26, 2012
I need building a formula to pull information from a database file. The purpose is to try to interpret the data so that I can analyze a time period along with it's content. I don't know how best to explain it. Basically I have a table and I want it to pull information based on 3 criteria: time, type, and total. I would like for the formula to identify a time frame, then identify a type, and then take the totals and add them together.
Time / Type / Total
11:31 /1 / 4
11:43 / 1 / 6
12:04 / 2 / 1
12:31 / 1 / 3
Time / Type / Total
11:30 - 12:00 / 1 / 10
12:00 - 12:30 / 1 / 3
The top is the database and the bottom is basically what I want to happen on the other table. Pretend the / and dividers for each column.
View 9 Replies
View Related
Mar 8, 2013
I am currently pulling information from a database into Excel. In column A is a list of dates that vary depending on how many days I decide to pull. On any given day there are options to which car will be driven and it is random and there are attributes associated with that drive such as below. If the car was not driven the data pull inputs "No Data" or a "0". On any given day up to three cars can be driven but it is still possible that only one will be driven. This is shown in the second table below. I'd like to be able to create an automated summary table such as the first table below. The summary table should be organized by date and show what cars were driven and their attributes. I know this seems simple but in reality I have six different cars and up to 10 attributes for each car and will be pulling months at a time. The only thought I have had is to do a for loop that checks every individual cell but I am not sure how to implement that.
Car
Miles
MPG
Car
Miles
MPG
Car
Miles
MPG
[Code] .....
View 1 Replies
View Related
Oct 24, 2008
I need to be able to pull information from a "master database" into seperate worksheets. Here is my problem. When I use a vlookup and my identifer is say "office property" then the vlookup will only pull the first "office property" and not retrieve any of the remaining "office property" rows.
View 9 Replies
View Related
Jan 28, 2010
I'm writing a macro to search for letters A to Z in one spreadsheet, and copy it's associated data into another spreadsheet where A to Z already exist.
Thus:
Cells.Find(What:="A", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
That works fine. It find's "A", then the rest of the macro moves to the right and copies the data needed:
ActiveCell.Offset(0, 1).Range("A1").Select
Range(Selection, Selection.End(xlToRight)).Select
Selection.Copy
THEN it goes to the NEW spreadsheet (where A to Z are already labeled) and pastes into the corresponding area. Thus:
Windows("The Other Sheet.xls").Activate
Cells.Find(What:="A", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Offset(0, 1).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
This works perfectly.
However:
What if, one day, "A" does not exist in the source data? If say, the data started at "B", because there were no results for "A". Currently, the macro will stop working if it attempts to search for a value that doesnt exist.
How do I make it, for example, Search for "A", find that "A" doesnt exist, then skip to Searching for "B", and then "C" and so on?
View 9 Replies
View Related
Oct 21, 2008
I would like to find a way that will look on a worksheet for a specfic word and highlight all the rows that contain this data.
Column A - Has the wording "JOB" & "WORK"
I want this to look down column A find all the rows with the word "JOBS" and just highlight them rows, i dont want a highlight like conditional formating but a highlight like when you click on the entire row.
View 4 Replies
View Related
Aug 20, 2008
I have a spreadsheet I am working on which lists a bunch of equipment. In column A I have a list of the equipment, and in column B I have a list either saying the equipment is Free or the name of who is borrowing it.
I would like to know how to calculate the total amount of 'Free' values in Column B and display the number of occurances in a cell somewhere so I anyone who opens the document can see that there are 5 Items free, and hopefully it auto-calculates each time a value is changed in Column B from Free to who ever is borrowing that item.
View 3 Replies
View Related
Apr 22, 2009
I have a macro that prints out several worksheets. My problem is that I want to print these worksheets to a specific color printer. There are many different users and most of them will have a black-and-white printer setup as their default. I want to be able to print using the ip address of the color printer.
I have tried setting the active printer using:
Application.ActivePrinter = "\WP010110.117.3.36"
with little luck... This seems like such a simple thing! I have done a lot of research and can't find a good solution although I have seen the question raised several times!
Ozgrid has been a great source of information and solutions in the past. Please help again!
View 9 Replies
View Related
Mar 31, 2004
I am currently trying to create a database of products for my company. For each product I would like to include an image associated with it. I then want to have on another sheet a place where the user will click an error and be able to cycle through the products. As tehy cycle the associated image will pop up.
What I need to understand is after importing the image into excel, how do I associate that image to a cell so I can reference it in another sheet of the database. I am not concerned with how large the database will get, my pictures are quite small.
View 4 Replies
View Related
Nov 7, 2008
I'm trying to lookup a database named database and return a time in column A, based on criteria in cells a1 and b1 on another sheet, A1 would contain a number and B1 would contain a day from mon-fri
eg of Database
A B C D E F G
10:00 5000 Mon Tues
11:00 5000 Wed Thur Fri
and so on
if a1= 5000 & b1=Wed
how can I return 11:00
I have tried index and match =index(a:a,match(a1&b1,b:b&e:e,0))
View 9 Replies
View Related
Aug 6, 2013
Trying to use Excel Data List to create a database style report. IE. Originally blank sheet, which is only populated by data containing data matching "filters" input into cells ( say A1 & A2 )
I.e. A1 = Delivery week to be filtered by, and B1 Manufacturer Name
So if I type week "1" into A1 & Manufacturer "Microsoft" into A2, it will show a table only containing data Microsoft, Week 1, and associated data for those lines across the screen.
Week 1
Microsoft
PO number : Date Ordered: Address 1, 2 3 etc....
0011 01/01/13 Somewhere
0015 02/01/13 Anywhere
0213 05/01/13 Nowhere
I know this is much easier with a database, however my manager insists a database cannot be used, and it must be in a spreadsheet format !
View 3 Replies
View Related
Oct 17, 2013
I've used a countifs, but I'm having trouble doing a sum in a similar way. I have 2 databases and I will try to explain below. I need the to sum the values of database 1 if the second database is >= 20. So the value I would expect on this example would be 900. I would also like to be able to highlight which ones are elliminated. Such as coloring the text red.
Database 1
Eric 100
Jenny 200
Gina 300
Doug 400
Database 2
Eric 18
Jenny 20
Gina 34
Doug 55
View 5 Replies
View Related
Jan 7, 2010
I have a column of numbers each have a 0. infront of them (example 0.2346
0.5698). I want to pull the number from the right until it hits the decimal sign. So for the two above the result would be 2346 and 5698
View 2 Replies
View Related
Jun 3, 2006
I have a workbook with a database of 15 different products. We receive information with current prices for each of the 15 products on a weekly basis. This info comes in one single worksheet. I have created a different file with one worksheet for each product to track price behavior over time. I need to update these database everytime I get a new report. What I was trying to do is to develop a Macro to copy the data from a "Master" worksheet that includes all 15 products info to the respective worksheet for each product. Information is sorted in columns having the most recent date in the lowest column. I would need the Macro to copy the new data below the last price for each product. I would copy the data into the "MAster" worksheet, then run the Macro who would copy each row and paste it in its respective worksheet in the row rightafter the previous one.
View 4 Replies
View Related
Feb 8, 2014
I have a spreadsheet that is updated weekly -- but every week new info is added that needs a user to input corresponding info. I use a vlookup function to link to another spreadsheet that populates the info from previous weeks and the info that is missing shows up as #N/A...
First I was using a msgbox function to get the info:
HTML Code:Â
For Each b In myrange
If Application.IsNA(b.Value) Then
Employee = b.Offset(0, -2).Value
SSID = InputBox("Please enter ID# for " & Employee & " :", "New Employee Found")
b.Value = SSID
End If
Next b
But it can be up to 30 different new employees... and that is time consuming.
I would like to make it more user friendly by creating ONE userform that displays all of the employees as labels -- has a text box in which to put the ID # -- and then has a drop down box to choose the type of employee (2 options). I want all of that info to go back to the reference spreadsheet so it will be saved for following weeks, and then redo the vlookup to get the info into the new weekly spreadsheet (I can do that part)....
HTML Code:Â
Private Sub CloseButton_Click()
Unload UserForm1
End Sub
Private Sub ComboBox1_Change()
[Code] ......
View 2 Replies
View Related
Jul 24, 2014
Looking for a formula to accomplish the following:
I'm trying to populate cell A31 on a worksheet titled "VolumeTotals" with the data in Cell E23 from a worksheet titled "CurrentCustomers" if the merged cells F3-F22 on worksheet "CurrentCustomers" are equal to the word "Contract".
View 6 Replies
View Related
Jan 8, 2013
I have an excel workbook with 2 worksheets. One worksheet shows the MASTER LIST of COMPLETE Customer Names (e.g. ABB Supplies Incorporated). The other worksheet has information on customers but the customer names typed in are incomplete (e.g. ABC Supplies). I need a macro that would look do a comparison of the customer names in the 2nd worksheet to the Master List worksheet and pull the data (complete name, address, etc.) for those that would match (partial match since company name is 2nd worksheet is usually incomplete).
View 2 Replies
View Related
Oct 2, 2013
I have one excel 2010 workbook with 5 work sheets, each work sheet contains a list with first/last name(one column) and the company name, some have a 3rd column with their email address in each sheet represents each year starting at 2008 thru to 2013 i have to find out if the people that attended an event in 2008 also attended it in 2009/10/11/12/13 and if they didnt, put their name and company name onto a blank worksheet within the same workbook without using a macro, how can i do this?
View 2 Replies
View Related
Oct 12, 2013
I have spreadsheets supplied by clubs to add data to a database. I am not a spreadsheet user,
Today I have a spreadsheet with the columns A to M repeated in the width of the spreadsheet.
How do I reduce that to one display?
View 7 Replies
View Related
Jan 15, 2010
I am trying to use an excel vba program to get data from a database and then use this data in my program. But i have no clue about where to start.
View 9 Replies
View Related
Feb 23, 2010
I want to pull data from another sheet, however there are multiple listings of each and I want to pull the data to another sheet for each line. I maybe easier if I try and show below:
Col. ACol. BCol. C
Smith101
Jones512
Green65
Black1214
Smith 3612
Jones1512
Dual25
Green1225
I want to pull this data for each name in Col. A in to another sheet. I've tried "IF", "Vlookup" and a couple of others, it just seems to be hitting the first option and pulling the data but not the ones below.
So if I selected Green on the second tab it brings through the "6" and "5", but not informtion from the listing from Green below. So I wiould like to list all the Green's, and the applicable data.
View 4 Replies
View Related
Jan 12, 2010
Is there a way to use Data Validation that will pull data from a source list and also be able to type in additional data or just new data in same cell?
View 3 Replies
View Related
May 31, 2006
I have a Pivot Table, with lots of data in, what I want to be able to do is on a separate sheet pull out the data from the first column(A), and then average out the figures from Columns(B-E).
When this has been done on the sheet (with the average data) in the next column, I then want to use Column(F) (from Pivot Table), and do a simple sum to work out 5% of the difference if it is greater than ZERO between Average Column and Column(F) (from pivot Table) Column(F) must be higher than the average in order to work out the 5%.
View 3 Replies
View Related
Jul 8, 2014
I need to sort a database. In the pic you will see what i have and what i need to do.
example.jpg
View 3 Replies
View Related
Oct 20, 2008
Is there a way for an excel macro to open a access database & import a txt file straight to access (without importing to excel first) & then executing some other code e.g. copy query results(which i already have code for)
View 14 Replies
View Related
Nov 2, 2011
I have a database sheet with all the data, I want to make a query sheet that display the rows of data when I enter the data in the summary sheet. I have 2000 rows of data and about 24 in type(columns)
So if I enter in cell Hona and Miles 50, it will display all the rows in the database sheet that contain those data...so I assume I would have to insert some kind of formula, or is there a simpler way to do it with out VB/database...
Car Miles PriceGasColor
RaceCar 50 Over1.5Red
Honda 100 Over2.5Black
Lexus 200 Over 3.5Silver
View 4 Replies
View Related
Mar 15, 2007
I've "lurked" around the board for a few days now, and I've gotta say this is the most helpful excel forum by far. After wading through a tiny chunk of the thousands of threads on this board, though, I am still having trouble with coding a macro that will do what I need it to do. If it affects anything, I'm on Excel 2002 on Windows XP.
I am currently in a project where I have to go through a database, formatted as thus: ...
View 9 Replies
View Related