I have two spreadsheets, A & B. A can be thought of the master spreadsheet and has one record for every employee giving personal information, including a personel number. B has 0, 1, or 1+ records for every employee in A. Each of these records has a personel number. I want to copy the value of a specific field from B to A.
What i need to do is combine the 2 columns together in another sheet in a column. I do require duplicates to come through, and ideally i need it sorted.
So I have two sets of data, I've attached a worksheet which has them both. The datasets have different intervals, but I need to drag "Colour" from Data2 into Data1 and associate it with the correct interval. Sometimes the intervals match up and sometimes they don't - which could be a problem, but as long as its within a small spread it's fine. The "Colour" column in Data1 is filled with my desired result, the source being Data2.
I have a list of numbers from cells A1 to A150 (they are five digits long), I need to join them together preferably with a the following format '12345', I have tried concatenate but it would take too long to type it all out.
I have same tables(same name of columns in all tables) with different data in 30 different workbooks...can I somehow merge data from all tables in one table?
I have to cell values that are strings and I want to add the two string values together to form a sentance, when I do this using a + sign or a & sign there is no space between the 2 strings, how do I get a space?
I am prepare budget salary base on actual joining date and budgeted joining date. I can only manage to get the formula by joining month not by joining date
I feel like I should be be able to do something like Join(Range(XX)," ") to create a space-separated string of values...
Have I missed an easy one-liner, versus one by one concatenating the value from each cell?
In this case, I am doing exactly that - taking 4 columns of more or less unimportant data and cramming them into a single column just in case they are needed someday.
Sub Test() Dim strTemp As String
strTemp = _ Range("C2").Value & " " & _ Range("D2").Value & " " & _ Range("E2").Value & " " & _ Range("F2").Value '//Result: strTemp = "a b c d"
'//This fails - is it possible to do something like this strTemp = Join(Range("C2:F2"), " ")
I read several forum questions for data join and merge but not found a solution for the following scenario. Is possible do it ALL in one macro? I have two different xls files.
file1: sheet has the following structure refcode price count XXBK443 200.0 3 KKKN339 333.0 2 etc..
file2:sheet1 has the structure refcode prod_name color height XXBK443 prodname1 green 10 ZZZZ000 prodname2 yellow 22 KKKN339 prodname3 white 15 AAAA111 prodname4 white 30 etc..................................
Can someone pls. assist me with obtaining an Excel or VBA solution for joining data from across a range of cells/columns into one cell? The single cell containing the intended output has to include the name of the source(s) that are noted on the header column and the price corresponding to each source but would exclude the sources which did not have pricing data. Example of logic is noted below:
Cells B1 - D1 contains names of pricing sources. Cells B2 - D2 contain prices from these pricing sources. Intended output: Cell E2 would have the names of all the pricing sources that had prices as well as their corresponding prices; but would exclude those that didn't.
Lastly, pls. see attached Excel file for format of data and intended output in Column E.
Formula in B2: B17 =IF(RIGHT(A2,10)="_New Entry",1,"")
Formula in C1 =SUM(B2:B17)
I would like to remove Column B, and add the formula in C1 itself. Column B is not of any use, it is just showing which is a new entry and C1 is totaling all the New entries, which is in this case is 4.
I have database of my entire staff with thr date of birth and joining date, in the format "mm/dd/yyyyy".
I want if the date of birth is equal to today()+1, that means if someone is having his b'day on 25may ,and today is 24 may so its cell colour should turn into red.
I know conditional formatting is to be used here. but bit confused with the formula.
I am trying with this =IF(TEXT(C3,"dd-mmmm")=TODAY()+1,true,FALSE), but not working.
means I want if someones b'day is coming , I want to ge t informed earlier.
I am so frustrated to combine several spreadsheets into all in one, and seperate all in one spreadsheet into several with the same header frenquently. Pls check the attached example excel spreadsheet., could anyone teach me how to program in vba to achieve the result as above?
I want to do....is...a macro or something....to be like "Hey...were going to match up column information based on the first column, there exists both the same data in both sheets....as you can see in A3 and A2, now, I want to be able to add the information that is in book1, into the "DBL approved", so like...the 2nd row, I want columns B-G to be filled via book 2 because its saying,
"okay, A3 in DBL has the data 00-120-01, but there exists no data next columns over...but oh look, A2 in Book1 does, let's fill in that missing information!" so now it'll fill in the bullet points, brand, segment, etc."
I am working with excel2003. I have to different workbooks in which on is a Bill of lading that is used to show the items being shipped. The other workbook has a list of the items that we ship.
On the BOL I want to be able to type in the "L" number (or I.D. number) in D14, D19, D24, D29. By typing in the L-number I want it to automatically bring up the product name into cells E14, E19, E24 and E29. With the exact name of the item it will help prevent employee error. I want it to also bring over the exact weight over from the flavor list in cell range C5:C28.
I have the FlavorCodes range with all the L-numbers on the BOL in cell range U9:U48. I thought I had it set up correctly but when I select the L-number in the drop down list in cells E14, E19, E24 and E29 I get error code #NA. I thought I defined the cell range but it is still not working.
how do i access data from different spreadsheet tabs in a same excel file..e.g: if tab 1(student) and tab2(teacher), how do i access tab2 let say cell C4
I have two spreadsheets, The spreadsheet #1 has the information of two years and the Spreadsheet #2 is a montly report. The Spreadsheet # 1 hasta on the column A a number of transaction, and at the column Q the invoice number. The Spreadsheet # 2, only has in the column A the Invoice number. I need to find in the Spreadsheet # 1 the Invoice numbers that match the Invoices that I have in the Spreadsheet # 2 by bringin the "Number of Transaction".
For example: Spreadsheet 1: Has on column A3 the Number of Transaction # 0123, and at the column Q3 the Invoice number 555. At the Spreadsheet number # 2 I have the INvoice # 555 located on A10. I need to know what is the transaction # by adding a formula in a new column (G) so I want to have the Transaction # 0123 in the new column added G.
If I do this manually it will take me hours since these report and the Master is so big, and right now I am doin it using Ctrl-F
I have two spreadsheets (lets call them Spreadsheet A and Spreadsheet B). Spreadsheet A is a list of all my customers and Spreadsheet B is a list of potential leads which may or may not include some which are already customers. Is there a formula I could include in an extra column to highlight which ones are customers already so that I can ensure I don't call them.
If it makes a difference the two spreadsheets are stored on seperate locations on my computer.
I have been handed 503 spreadsheets containing system data for multiple business units in my company. Each spreadsheet is identical in structure (same column headings) but just varies in the number of rows of data
I’ve now been asked to add (4) additional columns to each of the 503 spreadsheets. The (4) new columns are to be called:
I have got a few spreadsheets which save information for each departments, about 8. They contain information on bookings & I am being asked to get information on certain date ranges, mainly monthly reports. (They are being filled in automatically from another excel file.)
Can I have a file which I could call "Master file" which has a macro in that looks up and copies all the relevant rows from each departments spreadsheet into the new master file. I dont think this would be too difficult (still beyond my capabilities though) My intial thoughts were something like (in half code half english).
Create a form where you specify your date range and a submit button e.g. txtstartdate txtenddate
Lookup 'G:FolderGeneral[General.xls] IF in between txtstartdate and txtenddate then paste
ActiveWorkbook.Sheets("master sheet").Activate Range("B2").Select Do
I have a spreadsheet which needs to be shared by 10 people. The spreadsheet is fairly simple but I don't know the best way to do this. I have heard of public folders or to share the .xls.
Im using this code. My data is in column A from Cell A2-A65000, and the data I want to compare against is in a different sheet col K cells k2-k65000. I need it to compare column A on "Sales Reps" against Col K "Data Sheets" and count how many times whats in cell A2-A65000 occurs on in Cells k2-k65000. So if 689 was in cell A2 and was listed in cell k3, k4, k5, it should return the value 3 in Cell B2. My formula is not working. Getting an error.
For Each ce In Range("a2:a" & Cells(Rows.Count, 1).End(xlUp).Row) ce.Offset(0, 1) = WorksheetFunction.CountIf(Sheets("Data Sheet")(Range("k:k"), ce.Value)) Next ce
I have three different spreadsheet, Spreadsheet A with the name of all the clients of the company. Spreadsheet B with the name of all the clients in Toronto and Spreadsheet C with the name of all the clients in Montreal. Now i have to create a fourth spreadsheet to lookup the clients who are not in the Spreadsheet A (basically trying to find new clients). How do i search for the new clients in all the three spreadsheet?
I have sucessfully created a spreadsheet which links to another using a vlookup and an array. I now need to reverse the process. My requirements are this:
I have individual spreadsheets which represent individual projects/quotes for our customers. I'd like each of our sales staff to have a summary spreadsheet which summarises all their ongoing projects in one spreadsheet, dynamically.
when a new project is created on a new (projects/quote) spreadsheet, it looks to the summary spreadsheet and looks to see if that project exists in the summary, if not, it creates a new line and writes the summary details to it. then as the project spreadsheet evolves, it updates its details on the summary sheet dynamically.