MS excel 2013 related query - excel-formula

need help to achieve this. I have a spreadsheet with large number of rows and alot of columns . These rows consist of names, addresses, phone numbers etc. Column A, titled "first name" is blank. Column B, titled "Last Name" has both first and last names, middle initial and some have suffixes. . I need the first name and middle initial in Column A, last name and suffixes in column B and all the business names separated and put on a separate tab. All while taking the other 38 columns of info with each name. how this can be achieved via ms excel? can anybody assist?

Related

VBA or moving data from one column to another column without using copy paste

I am new to VBA's, I want to move data from one column to the next column. In Column A there is information underneath each other which I want to split into columns next to each other
There is a bunch of company names and item descriptions and PO numbers all listed under column A.
So I want to take all the different company names and put it in column B
Take all the different item codes and put them in column C
And take all the PO numbers and put them in Column D
What will be the best way to do this?

Excel: Is it possible to have a running two column list on one page and have it transfer to a secondary tab?

I have a database tab which holds all my information for each item in my inventory. This is always changing as I add new inventory. I want to take certain information in that tab (columns A & B) and use it in a separate tab called stock inventory in columns A & B. When it transfers I would like a blank cells in columns C,D,E, and F. I did try VLOOKUP however, because column A on the database tab is repeated, when the information was transferred to the stock inventory tab it duplicated information instead of actual information. For example Column A may say "Scale" column B may say "abalone, there may be a second entry with the same information in column A but different information in column B. When it transfers to the stock inventory tab anytime it recognizes "scale" in the column A it would say Abalone. This is not what I want. I want to bring over actual information for column B even if column A is the same. Any help is appreciated.
To solve the problem of the repeated value in the VLOOKUP you could create helper column on the left of the first vlookup matrix column, with the formula =ROW()&A2, and use this value as key to be searched with vllokup instead of the value in A1: there will be no duplicates, as the value will be the concatenation of the row number and the name of the article.

Using two values in a sheet to filter and return values from a table in another sheet

I'm fairly new to coding and i've been googling around for the last few hours trying to solve this problem but it seems to be a little beyond what i'm able to do so i would be very grateful for some help
In Sheet1, I have a table which has columns between M - CV (175 columbs). For each column, i have an "ID number" value in row 3. From Row 6 to the end of the table, i have several "search terms" separated by commas in the column CV
In Sheet2, the corresponding "ID Numbers" are in column B. Column AN contains strings.
For each ID Number value in sheet1, i'm looking to find find all the corresponding cells in sheet2 where the ID number in Column B is the same, and Column AN of sheet2 contains at least one of the "search terms" in column CV
For each ID number, i'm hoping to join the entries in Column AN of sheet2 which match the criteria above and paste them into Row 5 of the respective column in Sheet1
I've gone around in quite a few circles trying to do this and i'm back to square 1 with no code to show for it.
I've tried to research both the autofilter function, and using for loops. The research i've done indicates that for loops are rather slow to run for a large data set.
I'm hoping to find a solution which is as easy to read and understand as possible
I hope i've given enough information for everyone to understand and help
THank you in advance
My Excel subscription has expired an I've started using Google Sheets for most of my spreadsheet work, so I tested this there. Some conversion may be required. I did this using formulas, not VBA also, not sure if that changes things for you.
If I understand correctly, you have two sheets with a shared key column, sheet 1 contains search terms across multiple columns, and sheet 2 contains search terms comma delimited in a single column.
With this setup we want to bring the search term column of sheet 2 into the correct row of sheet 1 by key using VLOOKUP. I made a named range in sheets which contained all my data on sheet 2 and called it "dst". My formula was then =VLOOKUP(A2, dst, 7, true) since my key in sheet 1 was in column A, dst was the range I was searching, my column with my delimited search terms was column 7 in relation to dst, and I had ordered sheet 2 by key. I pasted this formula relatively down all rows as needed.
We want to construct a regex string using our search terms across multiple columns in sheet 1, into a single cell. I used =JOIN("|", B2:E2) on sheet 1 since my search terms were in columns B:E, and this resulted in a regex that looked like this for me: alligator|dog|rabbit|lizard where alligator, dog, rabbit, and lizard, were all search terms in that row. Paste down relative as needed.
We want to run our regex against our search target cell containing the comma delimited search terms. I ran =REGEXMATCH(F2, G2) where F2 was my delimited search terms from sheet 2, and G2 was my constructed regex for the row. Paste down relative as needed.
A screenshot of my completed sheet 1:
Once you know which cells have matches you can do whatever you want.

Excel if cell in range contains specific text, export and compile on new worksheet

I am working with a decent size data set in excel. It has 5 columns and up to 5000 rows of data. Column A data is irrelevant to my goal as is Column B and E. The two columns I care about are, Column C which is numbers only in content, and column D which contains text (comments left about the numbers in Column C. For example, the cell D2 would state: “Machine is acting erratically and repairs have not been attempted. Issue has been ongoing for three months and multiple service call requests have been submitted.”
I am curious to know if there is a formula I can use to review ALL cells in Column D to determine if certain words are being used, such as “machine” or “not attempted”, and in some cases, BOTH of those words/phrases, and if the text IS contained in Column D, can the data of column C be compiled and moved into a new sheet to form a list.
Another way of looking at it, Review Column D and if key words or phrases exist, export the cell from column C and the same row to a new sheet in a list. Is this something that is outside of a mere formula and would require going into the macros to try and perform or?
So far I’ve managed to get Excel to count the number of times the phrases and words I’m looking for can be found, but I would like for it to be able to locate the referenced logs and move the log numbers into it’s own sheet.

MS Excel Compare 2 Columns And Add Additional Column

really need some professional ms excel guru, I'm working in small company HR and we have a list of names of our clients and employees (3000 names give or take) with their salary by the side,
now our management wants to add like say "bonuses" to the salary but don't want to add it directly to it's cell but a column next to the "salary's" column,
I've drawn a chart of basically what I'm talking about, I know it's doable or any way of comparing a list of our employee's name and adding additional columns to the employee's row?
Example Of Workflow
Create a named range by the name of "BonusList", anywhere in the same workbook as the list of salaries. That list should consist of 2 columns, the first of which has the names, the second the bonus.
Use this formula in the column where you want the bonus to appear (the new column).
=IFERROR(VLOOKUP($A3, BonusList,2,FALSE),"")
Make sure that the names are in column A of the salary list. You can change the column, if the names are in another column. Make sure that the row in which you paste the first formula is aligned with the row in the formula (here it is row 3). Copy down.
The formula will display a blank if the name from the salary list isn't found in the bonus list.

Resources