I have two databases with customer names, street address, city, state and Zip and I need to merge the two of them. The tricky part is that sometimes the fields have different spellings. For example in one database Avenue is spelt out and in the other abbreviated Ave. So what I thought I would do is create a list of word pairing and do multiple search and replaces on those pairing in the two databases to try to get the addresses so they can be compared against each other.
Now, two questions.
First: Can anyone think of a better way than this to compare the databases and if not
Second: Can anyone help me with a macro that will go through the pairs (on the Pairs sheet) and do searches and replaces on the two database sheets column E?
I’ve attached a spreadsheet to make it easier to understand.
I am writing a database for a construction site to monitor all the goods that come in and what apartment Blocks they end up in.
I have three worksheets from different areas of the site. They are simply lists of items coming in and are getting longer everyday. They are all in the same format and have the same column headings. Two of which are date and Location. The location will be Block A to Block G. I want to merge the 3 worksheets into 1 and be organised by date order so that I can then duplicate that worksheet for each Block and filter using the Location Column. The 3worksheets have data manually inputted each day and I would like the merged worksheets to update automatically.
I have a database which shows members details with a colour system for varying levels of payment. I want to copy the membership number title and name from this d/base to another worksheet in the same w/book so I can print it in a4 size and select the page breaks. I think this is achieved by some thing called "concactia"??
I've done something similar using functions but I think a macro is best, in essence in calculating in finance world, a Earnings Before Interest and Tax or commonly referred to as EBIT, one often takes out non operating income and non operating expenses.
What I was hoping to do is have a macro
1. Ask the user to shade or highlight which range to calculate from firstly (like Colo's HTML marker with the pointer where you use the border type lines to highlight the boundary first).
2. The macro than inserts a column to the right of the year block highlighted. the macro uses this column to tag the financial line items, ie. in this case below a 1 for income types (can be any tag) and a 2 for expense line items.
3. It than looks through the database of words (and this is where the fuzzy logic comes into it, there are words which would definitely require a tag, but there are others which may require two matching words). I intend to fill this macro with many expressions which auditors and who ever prepare financial reports use as words in their financial statements..
4. So the macro than looks through this database of words for income and also for expenses, and when it finds matches, it tags alongside the finanicial a 1 for income and 2 for expenses .... signifying non operating income or expense.....
I have a workbook that has multiple tabs and need help trying to figure out how to consolidate all the data. I find myself spending hours doing this manually each day.
Here is what I have:
Workbook has tabs labeled....Wk1_Mon, Wk1_Tues, Wk1_Wed, Wk1_Thurs, Wk1_Friday, Wk1_Summary......and repeats all the tabs through Wk5....then I have a Month_Summary tab.
I have 25 users with 25 seperate workbooks each with individual information on each workbook.
I am trying to get a sum of all the data on the Month_Summary tab for each month for each user and as well as a sum of the Month_Summary tab for all 25 users.
The end result I am looking for is to get a Yearly Sum of all the Month_Summary Tabs for all 25 users as well as individual yearly summaries for each users.
I have one main Folder which contains 25 folders (one for each user). Under each user folder there is a seperate Workbook for each month.
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.
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))
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.
can i consolidated all my sheet into 1 Consolidated Sheet by one sheet information below another. To make it clear i am showing the result how it should appear and what if the sheet is another workbook how would i write the path.
Then it will ask the user what name it wants to find.... then user inputs the name and the macro searches the 2 newly imported worksheets in column A and B, and if it 'contains' the name then will copy it to a results worksheet (and copy row 2 as a static line from each of the work book to differentiate which sheet it came from) ....
I have a spreadsheet that has 25 different sheets on it and all of the sheets have it's own set of private macros. I want to know how do I just take one of the sheets macros and allow it to perform that same function across all the sheets since all the sheets are identical. The function of the macros is to hide/unhide rows for the toggle buttons and to hide/unhide columns for the checkboxes.
Private Sub CheckBox1_Click() If CheckBox1.Value = True Then Columns("j:o").EntireColumn.Hidden = False Else Columns("j:o").EntireColumn.Hidden = True End If End Sub Private Sub CheckBox2_Click() If CheckBox2.Value = True Then Columns("p:u").EntireColumn.Hidden = False Else Columns("p:u").EntireColumn.Hidden = True End If End Sub.............................................
I have a Spreadsheet that has about 150 rows filled with information. Column A (Part Description) Column B (quantity). Certain parts are repeated multiple times. I am trying to come up with a Macro to assign to a button that will do the following.
1.Grab every part on the sheet that has a Quantity in Column B and insert it in Sheet 4 starting in row 15.
2. Instead of having duplicate parts i want it to sum the quantities of all the matching parts.
Right now i am just using a "Hide 0 Quantity" Macro but it is still a pain.
I have three worksheets with a large amount of data on them (~60,000 lines). The column titles and layout are exactly the same. I need to either 1) Get all of the data into one worksheet so I can create a standard pivot table, or 2) Analyze all of the information using a multiple consolidation range pivot. When I try to copy the data from one spreadsheet to another I get an error message stating the copy area is a different size or shape from the paste area, even though it is not. When I try to create a pivot table using multiple consolidation ranges the fields returned are Column, Row, etc instead of the data fields I would expect (the column titles - exactly the same in each worksheet).
I have a list of entries, people log how many products they sell a day, at the end of the I need to consolidate that data, to get a sum of how many goods each person sold that week. So on on tab I will have multiple enetries by the same person and on the consolidtaed tab, I want each person's name and Id # to show up on one row, but them I would like a total of how much goods they have sold for that month. I have attached a copy of my file, the consolidated tab shows what I would like to get in the end.
I have an excel file with a Bill of material for each tab. I'd like to consolidate all the equipments from the differents tab into an unique tab. I enclose a sample: Test BOM.xlsx
I'd like a macro that should be able to detect the name and the quantity of equipment in each tab and copy the data in the 'desired output' tab. I don't know if the same result is possible with a pivot table.
how to consolidate file01 to file02 merging them, resulting the expected output sheet. Currently im doing this manually and it really take up a lot of my time this is just a sample scenario. My real world use of this is composed of over 2000+ accounts with different product purchases and billing numbers.
This should be easy but after searching "consolidate" all that I could find was multiple sheets and complex questions.
I have 5 data columns that I need consolidated into 1 single column. I've tried the consolidate funtion but it appears to only work with formulas and numerical values (unless I cant find the proper command.) I've also tried paste special but it populates the cells following.
I need 5 cells word values pasted into a single cell
I need to pull a data from 3 different SharePoint lists and present it in a new data sheet. So far I know how to create data connections and I am able to see everything in 3 different worksheets but in the same workbook. Also if we have the same Project and IT number we should pull information just from the SharePoint 1 list.
i have a workbook with multiple spreadsheets A1, A2, A3, A4, ...... and I have information in each table, i need a macro to select the range of information and consolidate them into another file, ie the macro would say:
I have three sheets viz AR , AP, TR where I am capturing the monthly maturities for AP and TR and monthly collections in AR sheet.
All the sheets have same number of columns , the common factor between this three sheets are
1) the status column which contains two status cleared and Not cleared and 2) bank where I have different banks
I need to apply two conditions in the first sheet (named consolidate sheet ) where in the user will select first condition as criteria and the second condition as bank , based on this two criteria all the related information should get consolidated from (AR,AP,TR) sheets to the consolidated sheets
I may add more sheets in the future , it should take that also into account
I was able to apply the first condition that of criteria but need setting up the second condition of Bank .
I have attempted to code a "capture" worksheet that will consolidate other worksheets into an importable template. The problem i'm having is when I run my code I beleive it is referenceing the capture page, instead of the other worksheets. I know there are a few ways to accomplish this, one being to reference the other pages through name or location. This will not work as the other sheet names and locations will change, the only constant is the page where all will be consolidated "change capture".
I beleive it is misreferencing as it points to a being 256, and b being 0... both should have different values.
I would like the capture page to consolidate downwards (begin the second paste after the last line of the previous paste).
I have been trying to find a way to consolidate data in two tables, but can't seem to locate a good response. I have been toying with EXACT, VLOOKUP, HLOOKUP, MATCH, and SUMPRODUCT, but none seem to work for my issue.
Two Files - Call them acrendo.xlsx and office.xlsx
Both have a single sheet and contain first name, last name, and date columns. Office also has other information that I'm trying to merge into the corresponding row of acrendo.
Basically, I am trying to take the combined first name, last name, and date column from a row in acrendo as a single record, look for an exact match in office, and if it finds one, return the corresponding values in Coumns D, E, F back to acrendo. Someone suggested using the following sumproduct formula:
This always returns a value of 0, even if there is data in the matching row to be copied over.
One small complicating matter is that there may be duplicate entries in office (i.e. one row in acrendo may match to four rows in office). I can cleanse that if necessary, or preferably, if multiple matches are found, it would simply insert the additional rows into the acrendo file.
Also, is there a way to go through the acrendo file and check for duplicate records and delete them (e.g. if there is the same last name, first name, and date, delete the duplicates).
Can't do this manually as I have acrendo has almost 18,000 rows and office has almost 10,000 rows.
There are over 50 data sets in the worksheet with exactly the same number of columns. However, when the data is updated, the number of rows for each data set can change.
I am assuming it is a loop function in vba to loop through all of the data sets in the worksheet, but I have limited experience with vba to know for sure.
I need some VBA to consolidate multiple worksheets into one (a 'master' worksheet). I do not have the data to hand. But I have been told every tab has identical columns but with varying number of rows. Also, please note that the data we are interested in starts a cell A15 on each tab.
I need to create a macro that pull in data from various spreadsheets, all with the same layouts, but with different file names and different worksheet names, into on master worksheet. The data should drop in after the title line and then continue on after each data set has copied.