Merge Text Using IF Or VLOOK?

Oct 24, 2003

I have a database containing dates and activities (text) on the speciified dates.

In some cases a date might have more then one activity therefore I need XL to (on a separate sheet?) merge the text.

E.g:
Sheet1
A B
2004-01-03Lunch with Marie
2004-01-03Reply from MrExcel?
2004-01-04Draft

Wanted 'end-result':
Sheet2
A B
2004-01-03Lunch with Marie; Reply from MrExcel?
2004-01-04Draft

View 9 Replies


ADVERTISEMENT

VLook Up Specific Text Within Text And Output Match From Table

Dec 3, 2009

Table 1:
I like to go to Berlin.
You like to move to Amsterdam.
They want to see Chicago.
When will the reach San Francisco.

Table 2:
Amsterdam
Chicago
San Francisco
Berlin

What I want to do:
I want my function to see if the text in Table 1 contains a value in Table 2, and if yes, output that value.

Desired Result:

Row A1:
I like to go to Berlin.
Row A2:
Berlin
Row B1:
You like to move to Amsterdam.
Row B2:
Amsterdam

View 9 Replies View Related

VLook Up From Across Several Worksheet

Nov 30, 2009

I am using a Vlookup to pull through information from a worksheet, but I am wanting to vlookup in column a on 12 different worksheets to then pull back corresponding information.

Example

12 worksheets - January through to December.

On each worksheet the first colum is a unique reference number 00001, 00002, etc depending on when we have ordered the goods and each column after that has amount order etc.

In a completely seperate workbook I want to input the unique reference and it to bring back certain information. I have used Vlook up for this, but this only appears to work when searching one worksheet. Is there anyway I can get it to search the whole workbook and bring back the information?

View 11 Replies View Related

Vlook Up And Zipcodes

Mar 9, 2009

I'm creating a look up function for the staff where you enter in the zip code, and it returns a series of answers (the state the zip code is attached to, the shipping code to use for regular shipping, next day air, and IF it is available for that zip code, the codes to use for Saturday shipping).

My problem is the fact that I'm looking up zipcodes. I have the cells, both the one where you enter in the zipcode to look up AND the entire column of the 29,000+ zipcodes formatted as "zipcode". However the cell where you enter in the zipcode.. it shows the "0" in the cell, but Excel thinks it's four numbers.. it's not recognizing the "0" in the function line. This means Vlookup is trying to find a 4 digit number, and not the 5 digit one I am asking it to, thus I get #N/A as a result for any zip code starting with "0". Every zipcode that starts with 1 or higher looks up just fine.

I have it set as FALSE so it will return the #N/A when you enter in a nonshippable zipcode, or one that doesn't exist.

If I change to TEXT, then it will not look up anything past "0" in the list, so all answers higher that 070xx (new jersey) come back as #N/A

I'd really like to have just 1 look up, not two, one for Zipcodes starting in "0" and one for zipcodes starting with "1-9". Does anyone know what I can do here? I've tried combinations, but am I just missing something? I'd rather not go back and just drop the 0 in the lookup column of the zipcodes to make this work.. I spent hours reformatting this whole column to show right int he first place.

View 6 Replies View Related

Combining A Vlook Up With And If Then Statement

May 2, 2006

I have a workbook with 2 tabs

The 1st tab has the following info

A B C
Level Acct Dollars
1 3AAAAA1,631,276.63
2 2BBBBB8,879,065.02
3 1BBBBB86.57
4 3 BBBBB234,986.25

The second tab has the following info:

A B C D
Acct Level 1 Level 2 Level 3
1 BBBBB
2 AAAAA
3 CCCCC

I want to combine a vlook up and an if statement to populate the above tab
to look like:

A B C D
Acct Level 1 Level 2 Level 3
1 BBBBB 86.57 8,879,065.02 234,986.25
2 AAAAA 1,631,276.63
3 CCCCC

View 14 Replies View Related

Vlook Up Across Multiple Sheets

Nov 13, 2008

I have a query and not sure if it can be done.

I did have alook across the search forum and web generally and didnt come up with too much luck only found the following [url]

What i am trying to achieve is the following

I have a list of names which i need to do a Vlookup against

the first part works fine

=VLOOKUP(C2,'[ALL_CFA Sales-IM User Profiles edited 2008_11_09.xls]Sales'!$G$2:$H$516,2,0)

Where i come stuck is that some names will be on another worksheet on the same workbook.

I.e i have done a vlookup against sales profile on the first worksheet, but some names shall be on the next worksheet as their "Job Profiles" will be different

Is there a way to extend the vlookup across multiple worksheets in the same workbook,

No two names will be duplicated across the worksheets (unless by pure chance i.e if there happens to be two Steve Smiths this will be two different people and not one indivdual)

View 9 Replies View Related

VLook Up Match Multiple Criteria

Mar 8, 2009

On sheet one, I am trying to match the employees job code for that particular week in cell K2. The vlookup/match is trying to find the particular job code for that employee number for that particular week ending.

Cell A2 (sheet 1, shows their employee #),
Cell J2 (sheet 1) has that particular week ending.
Cell K2 has this formula in sheet 1:
=VLOOKUP(A2,Sheet2!A:C,3,MATCH(J2,Sheet2!$D$1:$D$5,0))

Sheet 2
Column A = employee numbers
Column C = job codes (which I need to appear in cell K2 for sheet 1)
Column D = has the week endings to match against column J in sheet 1

View 2 Replies View Related

How To Use VLook Up Function To Look At A Range Of Numbers

Oct 26, 2012

is it possible to use the VLook up function to look at a range of numbers - I.e.

30-40, answer = 15%, I have tried 30-40 also 30,40 but none seem to work?cualte?

View 4 Replies View Related

Vlookup & Concatenate (Vlook A Value From A Cell In Another Workbook)

Mar 20, 2009

I want to Vlook a value from a cell in another workbook then before I get the formula result I would like it to concatenate the result with another cell.
I have attached an example

AlEXAMPLE.xls

View 2 Replies View Related

Vlook-up Exact Number Match In Sheet

Dec 19, 2008

Sheet 1
23456
23479
23409
23512

Sheet 2
23455
23456
23457
23478
23479
23480
23408
23409
23410
23511
23512
23513

In Sheet 1 there's a Column B with data I'd like to pull using a VLOOK-UP formula. However, I need it too look-up not only the exact number match in Sheet 2, but also the cell directly above it and the cell directly below it. In the sample above if I placed the VLOOK-UP formula in Sheet 2 (at for instance the numbers 23455, 23456, 23457), I'd need it to pull data from Sheet 1, Column B (for the 23456).

View 9 Replies View Related

Can Vlook Function Property, When Look_up Value In 2 Cells

Aug 28, 2009

I am having problem with vlookup.

Cell 1 contains 134 cell 2 contains account number.

can look up value be in 2 columns? It has to be the exact match for both cell in order to generate the data. Thanks.

View 9 Replies View Related

Vlook Up But The Reference Cell Indicates Formula Error

Dec 30, 2009

I am trying to do Vlook up but the reference cell indicates formula error even if this has values.

I have to do F2 in every cell to make the Vlookup work. Is there any way to remove this?

View 9 Replies View Related

Merge Cell Text From Different Column's And Row's

Apr 16, 2007

I want to merge cell text from different column's and row's into a empty cell using VBA and array. e.g (fName, lName, address, City)

I have seen many way's to merge cell text from same row.

View 4 Replies View Related

Merge Cell Contents Into A Text Block?

Oct 31, 2008

I need to merge the contents of an Excel 2007 workbook into a text document, creating a series of paragraphs that look like this: Text text text [contents of cell A1] text text text [contents of cell A1] text. Text text text [contents of cell A2] text text text [contents of cell A2] text. Etc.

Apart from the cell contents, each paragraph will be identical. (I would do this by hand, but there are about 500 paragraphs.). Is there a way to merge the cell contents like that into a text document (Word or whatever)?

View 3 Replies View Related

Import/merge Tab Delimited Text Files

Sep 9, 2006

is there any way for a worksheet to import and merge (append) tab delimited files from these directories:

C:TempmergeVŽ‘—¿šñdata.txt
C:TempmergeVŽ‘—¿šñ (2)data.txt
C:TempmergeVŽ‘—¿šñ (3)data.txt
C:TempmergeVŽ‘—¿šñ (4)data.txt
C:TempmergeVŽ‘—¿šñ (5)data.txt

- contents of data.txt have range A1:Pn, where 'n' is last row, different for each file
- found a previous thread very similar to what i wanted, but donno how to edit this to suit my purpose
[Solved] Importing: Import many TXT files to singe workshee

BTW, does VBA recognise directory folder with unicode characters? I can rename my directory if it doesn't.

View 3 Replies View Related

Insert New Row To Add More Rows To Merge Range With Wrap Text?

Aug 8, 2014

I have a sheet that has a section in range (c18:k25) (it is merged and text is wrapped) If that amount of space is not adequate to fit all their information I would like to add a macro that when activated it asks how many rows would you like to add and then based on that number whether it be 1-10 it would insert a new row to that merged range so they can continue adding more information . I have the sheet locked down to prevent changes so it would have to be unlocked and then re-locked within the macro.

View 1 Replies View Related

Combine/merge Row Cells Text Between Blank Rows

Jun 14, 2009

I have a large list of text in one column which i need to combine between blank rows into one cell or a new column, the number of rows to be combined varies.

for example

aa
bb

ww
xx
zz

rr

gg
hh
ii
jj

would become

aa bb
ww xx zz
rr
gg hh ii jj

I have over 30000 lines so doing it by hand is not an option.

View 9 Replies View Related

Excel 2002 :: Modify Formula To Merge Numerical With Text

Apr 21, 2012

I am using the following formula to find out the No. of "HH" in the range given and I am getting the results simply with numerical value as 2, 3 etc. I want the result should be displayed as 2HH, 3HH depending upon the No. of "HH" available in the given range. The result should be displayed as (the No. added with the text "HH").

=IF(AND(DJ10="HH"),COUNTIF(DF10:DJ10,"HH"),"-")

I use excel 2002.

View 2 Replies View Related

Sort Text By Character Length, Insert Spaces, Merge Cells

Apr 19, 2007

I have multiple columns with many rows of unique text in each. Here is an example of what the 1st few rows of column a and b might look like:

A___________B
hboc______dds
jk________optg
hbv_______pl

FIRST:
I would like to be able to sort the rows by the character length in a column. So, it would look like this (if sorted by 1st column):

A___________B
jk_________optg
hbv________pl
hboc_______dds

Second.........

View 2 Replies View Related

Search For & Merge List Of Text Files Named In Worksheet And Paste In A Specifc Cell

Aug 20, 2006

I did a search for " import text" and found some promising leads, but not exactly what I was looking for. I have tried running macros and looking at the code but don't know how to pass the file names from the the D47:D147 range to VBA(see below). I saw elsewhere that Excel can be told to create a temporary batch file, and that the batch file with the command "copy text1.txt+text2.txt+text3.txt all.txt" for example could be used to merge the 3 text files into a file called all.txt. I don't however know how specify the path where copy starts, to tell the batch file to look in subdirectories or to pass the file into Excel. I've posted this question yesterday to Yahoo Answers http://tinyurl.com/omers and http://tinyurl.com/rfww9 without much luck.

Below is the macro I would like:I have text files whose names are found in the range D47:D147 although without the appended ".txt" extension. The sheets can only contain one name sometimes, but on average 8 to 10, so in the average case only cells D47:D56 would have entries.The text files are found in the say H:Textfiles directory or subdirectories.I would like Excel to find these files, concatenate them with a row between each file, and paste the results into cell K251.Finally, the text import wizard should be used with a space as a delimiter and the last 3 columns (it's sometimes only 2) of the concatenated file, not imported.

View 2 Replies View Related

Vlook Up: Combobox Shows The The First Column (only 1 Of Each) And The Second ComboBox Shows Me The Secondary List

Jun 9, 2006

I have a userform where I have 2 comboboxes. The first combobox shows the the first column (only 1 of each) and the second comboBox shows me the secondary list that correlates to the valuse in the first from column B. Now I have a text box that I am trying to get the value from column C depending on what I have in the first 2 comboboxes. What is the easiest way to do it? This is all in VB since it is a UserForm, and using Vlookup seems to be too many lines if I go that route. Is there a way to use Index and Match in VB where it would be more efficient? I attached just a sample of how the data would be layed out in the Excel sheet.

View 4 Replies View Related

Merge The New And Old Columns?

Mar 31, 2014

I have two columns, which have different length and in which there can be three types of data:

The data also in the first and the second column, so it is an old data.Second is, that the data is in the first column, but not in the second, so it is old, but it was solved.The third type is, when the data is in the second column, but not iin the first, so it is new data.

My task is to regularly update the list (so I have to merge the new and old columns), to see in which conditions the data is, but not to delete any of them (only the recurring, so if it is old, then it must not be listed two times).

View 1 Replies View Related

Looking Up 2 Different Tables To Merge?

Feb 19, 2014

I am trying to merge two different databases in the next week. The problem I am running into is the name from 1 database isn't always the same on the other database.

I want to merge Database 1 with Database 2 and create a relationship with them both by using the database 2 internal #. As you can see in my table database 1 has similar names to database 2 but they are not exact. I want to match these names and have the formula on match tell me what the database 2 internal # is. I have also uploaded a sample excel doc with a note in B2.

database1
Herb Chambers Ford of Braintree
Herb Chambers Honda of Seekonk
Dimmitt St. Petersburg
Database 2 matched internal #
Database 2
Herb Chambers Ford of Braintree (Dave Dinger Ford)
Herb Chambers Honda Of Seekonk (7-FI)
Dew Cadillac (Dimmitt of St. Petersburg)
Database 2 internal #
15360
15301
25413

View 2 Replies View Related

How To Merge Cells In Same Row

May 30, 2014

How can I merge cells in the same row so when I sort a column (A>Z for example) the contents of the row near the selected one change position as well. I paste a picture for example.

View 9 Replies View Related

Merge & Wrap

Oct 4, 2007

I have a need to merge cells in a row and there to be more than one line of data in the merged cell. I also format it to wrap text. But I found that when doing this with merged cells it won't automatically resize the height of the row to accomodate the wraped text. It can be done manually, but this is a pain.

View 13 Replies View Related

Merge Columns A And B To C

Feb 7, 2009

I have a need to get the data from columns A and B and transfer to C but one line from A and second line from B and this successively until the end of A and B. They will have the same number of lines.

View 3 Replies View Related

Merge Two Worksheets ...

Feb 8, 2009

Is there any way that you can combine two worksheets or Excel files, for example:
WORKSHEET_1 has columns and values as:
firstname
lastname
city
state

WORKSHEET_2 has coulms with NO values as:
firstname
lastname
address
city
state phone

I want to take the info from WORKSHEET_1 and insert it into WORKSHEET_2 without specifying any columns since WORKSHEET_1 might sometimes have only 1 column and sometimes might have all 5 columns.

The purpose of this is to create a standardized Excel file that I need to import into a Database, however the users might have Excel files without all the columns required therefore I need to "standardize" the worksheet before being imported and have any black values import as NULL into the Database

View 14 Replies View Related

Merge Worksheets

May 9, 2009

I need to merge for worksheets (in the same workbook) into 1 large worksheet.

Is there a command that does this? Or do you guys have a custom macro that does this?

View 11 Replies View Related

Merge Two Formulas

Nov 12, 2009

I have these two formulas in my excel that are being used to "prepare the data from a web query. Basically what I want to do is strip a number such as x.xxxxx to only x.xx and change to dot to a comma so that the end result it will be x,xx.
So far i have two formulas: =MID(A1,10,4) and =SUBSTITUTE(A5,CHAR(46),CHAR(44)) and I want merge these (or find a better solution).

View 3 Replies View Related

Merge 2 Spreadsheets?

Nov 23, 2009

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."

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved