During a Webinar I recently attended you said that inserting empty columns between number-columns just to keep the underlines from touching was a bad idea - however, you never said, or at least I never heard you say, what the better way to do this is - in our situation the lines absolutely cannot touch.
Using the following code to remove empty rows based on whether a specific range of columns is empty. The code works if the cell has a zero, but not when the cell is blank. An example of the data is attached.
VB: Public Sub DelRows2() Dim Cel As Range, searchStr, FirstCell As String Dim searchRange As Range, DeleteRange As Range
I receive an extraction from AutoCAD that lists the electrical devices in a drawing. I don't have any problems extracting the letters. I have a problem extracting the device number and the device number extension.
The device label extraction is similar to this: DCM1005-1 DCM1005-10 DCM1005A MTR1005-1 MTR1005-10 MTR1005A
I want to create 3 columns from the device label: (I separated the column with commas) A1, B1, C1, D1 DCM1005-1, DCM, 1005, 1 DCM1005-10, DCM, 1005, 10 DCM1005A, DCM, 1005, A MTR1005-1, MTR, 1005, 1 MTR1005-10, MTR, 1005, 10 MTR1005A, MTR, 1005, A
I am trying to populate the 2 tables from excel to word. I will be getting the excel file with tables in various sheets. One sheet consist of 2 tables that will be inserted to one word document. So if there are 2 sheets then I will have the tables inserted in the 2 word document. In the excel sheet I have attached, there are 2 sheets with tables in each of them. I have written the code to copy and paste the table to word doc from (general) range A1:G4 (Table 1) and A9:H18 (Table 2) that has empty rows and columns selected. But there are empty rows and columns inserted since the table range is not same sheetwise. I would like get the empty rows and columns deleted in the word table.
Find the attached sample excel sheet and the word documents.
I'm back working on my estimate sheet again and hit another roadblock. I have a series of rows all separated by multiple spaces and would like to copy every one to the first empty column on a separate page sequentially until a certain condition is met (first time row starts with zero in column U, in this pic second row down would end routine).
The first column here is U on sheet "Partitions & Woodwork" so since this first row doesn't start with a zero, U10 - BC10 would need to be copied and pasted transposed into the first open column on sheet "Rebirth" (2nd pic below).
U V W X Y Z
It would be pasted transposed here from B2 downwards on sheet named "Rebirth". The next row that didn't start with zero would be pasted transposed starting at c2 and so on until the first time a row beginning at column U on sheet "Partitions & Woodwork" began with a zero (0).
The number of spaces between rows being copied varies on the partitions & woodwork sheet but the columns (U - BC) are a constant every time a row needs to be copied.
I'm trying to compare values in 2 separate columns to see how many times the same value appears in both columns. Ideally I would be able to insert a range function to compare the values in the column "ID 1" against the values in column "ID 2" and return the count of times that a value appears in both columns. For example 2122, 1112 and 1718 appear in both columns and I would like the formula to return a count of 3.
In my actual project I'm comparing 2 columns in the same worksheet. The column are column B with data in cells B2:B10266 against column C with data in cells C2:C18560.
if anyone know if there is a formula that can separate a name which sometimes have two words or one or two space. For example a formula that can separate a name by first space in one column and the second half in the second column.
example: David T Blain
name is in column A,
column B is David T column C is Blain.
I don't think this is possible with a formula, but if you think it is let me know.
I think it would be more efficient to do this with a macro, could you please see if you could provide a macro that can do this.
I have some data which i want to split, i have tried " Text to columns "on excel but couldnt find a way it works.In one cell my data is exactly like this:
Name of product Code of product
Loc.: here is the location expire date:
I would like each one of these itens on one column, like
A b c d Name of product code of product Loc.:here is the location expire date:
I have a spreadsheet of products that are listed in column A and another list of products in column B. I need to find the difference in price in a percentage for each product. My problem is the lists differ a little bit in that there are more products in column A so they are not lined up correctly. Is there a way to have excel look in column A and find the match in column B and then line them up so the matching products are in the same row? This will cut out a lot of time having to do the formula in each cell rather than autofilling the formula.
I am working on a workbook, it's not my workbook so I can't change how it's laid out.
I am trying to figure out a way that excel will check 2 different columns for a code that is manually entered, then enter the codes description in another cell.
It's basically a deposit and expense ledger.
One column has expense codes and names, the other deposit codes and names.
I want to be able to enter the code letter into a cell in the ledger and excel will enter the code description into another cell.
I have two columns in my excel sheet, the first column has the Second name, First Name and the second column has the Date of birth.
Now what I'm after is two columns really, the first column should show the Furst name Second Name (space in between with no Comma) and the Second column should show the First Initial from the first name, the first initial from the second name and then the date of birth.
I have a spreadsheet with these columns:Group_Name Contact Name Company Name Contact ID
Situation: The Group Name Column has the name of the group that the Contact Name is a member of. The Contact Name could be a member of many Group Names and therefore there may be many rows of the same Contact Name one with each Group Name that they are a member of. I have manually created separate columns for each Group Name in the spreadsheet that is attached.
Goal: I would like to have a macro that will look at the Group Name column and create a new column for each distinct group. I then would like the macro to go down the Contact Name column (I believe that I will have to have it sorted)and look at the Group Name that is listed in that row and put "True" in the Group Column that was created in the above step. Then, go to the next row, if the Contact Name is the same, look that the Group Name column and put "True" in the corresponding Group Column in the FIRST ROW OF THAT CONTACT NAME. Then Delete that row.
I have text in column A and text in column B. I would like to create column C and place the number 1 in each row whenever columns A and B contain the text I am looking for. I could then use C to filter all the 1's with ease (by way of macro or the autofilter). In my problem, column A contains the following text per cell:
B B B-A B-A B-V B-V
Column B contains: THR THR-MATT HF-MATT HS-HS-THR HS-MATT
I need to filter based on column A having the letter "A", or column B having the word "MATT". Columns A and B do not have to contain both "A" and "MATT", respectively, in order for column C to have a 1.
I have a column of first and last names that sometimes look like this: Smith, Michael D and other times look like this Smith, Michael (no middle initial) I would like to separate them into two separate columns, one for First name and the other for last name. I have no use for the middle initial so that can be ignored.
I have two worksheets with one row of 'accounting' type numbers in A1:A100 (it can be shorter or longer) on both sheets. I need to run a search on worksheet one to see which of them exactly match any on the second worksheet and then highlight them.
It can be a macro or it can highlight each entry a different color. Something so that I can determine which two numbers go together and I can run the thing only once.
There most likely will not be multiples on the same worksheet but if there are it will be few. If multiples happen it is ok it just needs to be matched to the second worksheet in a different color than the other similar numbers.
Another thing is if there is no match in either worksheet that is ok it can just skip to the next number in the list and check that one. There does not need to be a match.
Today this data is inserted into one cell, in one column, but in 50 000 rows (in 9 different sheets!). I would like to separe it into separe columns so I could run calculations on the data. Separating it manually would take me at least 1 year,
I have two sets of data (delivery destinaition & profit) for 2 separate depots (A&B) delivering to 3 countrys (1,2,& 3). I have used a clustered column chart to show the number of deliveries to the different countries by each depot. The problem I have is that I want to add separate lines (one for each depot) showing the profit figures for each destination (on a secondary axis).
1. In my first column(Let's call it "input"), there will be a variety of values from 1-10 which will appear in cells as 1,7,10 or 4,5,6,7 or any other similar variation. The quantity of numbers can vary and will always be comma delimited.
2. Following the first column are 10 additional columns. For simplicity, let's say they're labelled 1-10.
3. If 2,5,6,9 is present in the first cell, I want the number 1 in the columns labelled 2,5,6 and 9. If 1,4 is present in the first cell, I want the number 1 in the columns labelled 1 and 4.
The input will only be in the first cell so I am hoping to find a way to automate the placement of 1's in the appropriate column depending on the input in the first column("input").
As a bonus, I'd like all cells not present in the first column to appear as a "0".
I have a 45 page spreadsheet with over 3500 contacts and the data is currently listed in individual cells as seen below:
John Smith Director of Business Travel Sales ABC Hotel 1200 Market St. Philadelphia, PA 19107 Phone (215) 555-1234 Fax (215) 555-4321 jsmith@abchotels.com www.abchotels.com
I want to convert the each item [data] above into separate columns so I can then save it as a CSV file and then export th data into an email list; but I have no idea how do to this.
I need to take the data out of one column from sheet A and compare it to the data on another column sheet B.
Real life example:
I have a very large list of contacts with multiple columns of data. On a separate spreadsheet, I have a list email addresses that I need to remove from the larger list of contacts. How can I compare them against one another to detect any matched email addresses for deletion?
List of contacts is appx 130mb List of email addresses is appx 4mb
I am working on a project, I have three different lists that I want to compare and I want to identify in 3 separate columns which titles are found on which list.
For example:
Title List 1List 2List 3 ACAROLOGIA x ACCIDENT ANALYSIS AND PREVENTION x ACROCEPHALUS x ACS CHEMICAL BIOLOGY x x x ACS CHEMICAL NEUROSCIENCE x x x ACS COMBINATORIAL SCIENCE x x ACS MEDICINAL CHEMISTRY LETTERS x x ACS SYNTHETIC BIOLOGY x x x