Concatenate Based On Cell Value

Apr 29, 2009

Using Excel 2007. Can I use IF along with CONCATENATE.
=if(h26<.0099(concatenate(ak26,AK27))if(h26>.010(concatenate(ak26,aQ26,ak27))
Can't seem to get the proper syntax.

View 5 Replies


ADVERTISEMENT

Macro To Concatenate Variable Amount Of Columns Based On Cell Value

Jul 23, 2014

I have a table that looks like:

7300
3

7301
2

7302
5

And I am trying to make a macro that will go concatenate the first 3 columns of all rows in worksheet 7300, the first two columns of all rows in worksheets 7301, etc, and insert them into column A of each corresponding worksheet.

View 7 Replies View Related

Concatenate Rows Based On ID

Jun 26, 2009

I have attached an table and need to combine name from different rows which a condition that the ID is the same and the name are different from others. However, the code that i have will combine all the name if the ID is match. I'm not familiar with the Macro.

View 4 Replies View Related

Multiple Concatenate Based On Len

Apr 19, 2007

I have a formula, and it works okay, but I have to change it based on how many characters appear in a cell. I would like to avoid this, as there is just too much room for error.

The end result of my formula is to get a result like the following: U1C01EP or U1C01L04EP depending on which columns are completed. But the "variation" on the number of characters in the cell (1 or 2) and accounting for the leading zero is what is getting me confused.

In cell R4, I have the following formula:

=IF(S4="","",IF(X4="",CONCATENATE("U",V4,"C0",W4,$R$1),CONCATENATE("U",V4,"C0",W4,"L0",X4,$R$1)))

Column V always contains only 1 character, so this is not an issue. "U" will be added before the contents of this column in the formula
Column W will contain either 1 or 2 characters. If there is only 1 character, the concatenate needs to add a leading 0 following the "C" and then the contents of column W.

Column X will contain either 1 or 2 characters. If there is only 1 character, the concatenate needs to add a leading 0 following the "L" and then the contents of column X. Now this column may also be blank, if that happens, then there should be no "L" within the result, that portion would be left off.

Cell R1 contains the code that is added to the very end of my result. This code will change, so it is placed in a fixed location to be added to the end.

And I would like to keep the IF statement that I wrote accounting for Column S being Blank, yielding a blank cell completely as a result.

View 6 Replies View Related

Concatenate Based On Text In Different Column

Mar 24, 2014

I am trying to get a complete list of applications per device. I have the device list but it is broken down into seperate lines so i would like some sort of formula (not fussed what type as long as it gets the desired results!) that will look in column A and if the text is the same, to concatenate the info in column b, separated by a comma. So for the first device (4d713006) i would get 1 cell that would have the list of all 52 applications in it separated by a formula. This is so i can vlookup the device name from another sheet and pull through all the list of applications.

I have attached the data : example.xlsx‎

View 3 Replies View Related

Concatenate 3 Cells Based On Condition

Nov 2, 2009

In the workbook, 3 columns of importance Column N,S and AC. Concatenate order ("S"&"N"&"AC") - combine it and show value in column AG. Column AC has either 0 or any other number (50,60,100 etc). If it is 0 I need to insert an 'F' at the end of the code in column AG, any other numbr and i need an 'O'.

Column N has contract code, this will be in the middle, usually its alphabets like RF,EF, but sometimes numbers like 21,33, etc but when its a single digit number like 6, i need it changed to 06 (need the 0 infront). Column S has exchange codes, and this has to appear in the front of the code in Column AG. Same as Column N, if there is a single digit number then put a 0 infront of it.

View 4 Replies View Related

Concatenate Column Based On Condition?

Aug 13, 2013

I need a formula to be placed in cell Col A, Row 1, that concatenates any and all cells in Col A, with a ';' separating each item. I only want this concatenation performed ONLY IF an adjacent cell in Col B contains the letter 'X.

Additionally, if the cell in Col A is null, then I the formula to ignore it, and not perform the concatenation.

Is there a way to do this formulaically?

View 1 Replies View Related

Concatenate Cells Based On Values

Sep 12, 2005

I have a column say column A. It has a pattern of cells where there is a code C10A3(alpha numeric) in say A1 and then in cells A2-A9 there are descriptions (alpha only). This continues uniformally down to cell 300. So every x amt of cells down a code appears and then below this for x cells is a description. What i would like to do is create a macro to concatenate the code waith each of the descriptions and paste it in the adjacent cell to the description. So....

A1 =C10A3
A2 =Global
A3 =America
A4 =South AMERICA
A5 =aFRICA
ETC
A10 =D05a9
A11 =Global

I would like to concatenate A1 and A2 and have the output in B2 (C10A3Global.)
And A1 and A3 with the output in B3 etc. This should continues until A10 (where the cell contains alpha numeric characters) where nothing is entered in B10 and then in B11 there should be D05A9Global....
The only difference between the description and the cell is numeric characters...

View 9 Replies View Related

Concatenate Based On Column Number

Jun 6, 2007

I need to cocatenate anything between and including column 4 and col (unkown until macro is run)

is there a way to do this?

Basically need to add all the cells from 4th column to whatever col is. Example if col = 12

then I need columns 4 to 11 all rows together

View 9 Replies View Related

Concatenate Cells Or Ranges Based On Conditions

Oct 1, 2009

I have a list of people to send drawings out to. I have already made the selections am just trying to work out how to simplify the output so as to use as a field in a data file to go onto a letter.

"| A01 | A02 | A03 | A04 | A05 | A06 | A07 |" are for Joe Bloggs
( | are cells)

In another cell, i would like to merge them together like so

"A01-A07" are for Joe Bloggs

And also as follows

"| A01 | | A03 | A04 | A05 | | A07 |" are for John Smith

would like this to be
"A01, A03-A05,A07" are for John Smith.

So differing conditions depending on what happens in the range. I have had a couple of attempts at this using a VBA concatenate command, I can get them to display like "A01,A02,A03..." with a selected separator, but cannot get it how i want it.

View 4 Replies View Related

Concatenate Cells Based On Checkbox Selection?

May 22, 2012

VBA Code

I would like to combine data into one cell based on check box selection. I have 25 check boxes all named CheckBox1, CheckBox2, etc...

The data will be placed in cell "Q10".

Checkbox 1 would use the data from "AL130"
Checkbox 2 would use the data from "AL131"
etc...

There could be any combination of Checkboxes selected.

Each selection must be separated by a comma.

View 2 Replies View Related

Concatenate Cells Based On Dynamic Criteria

Jul 22, 2014

I am looking to write a formula that can concatenate cell A$1$ (absolute) & B1: B245 (dynamic)and then A$2$- B1:B245 and then so on.

So for example, I need to concatenate cell A$1$ & B1, and then A$1$ & B2, all the way up until B245, and then I need to restart the sequence with A2 and B1.

Formula to preform this concatenation, or will this need to be done with VBA?

View 1 Replies View Related

Macro To Concatenate Based On Entered Date

Sep 3, 2007

I have attached a spreadsheet illustrating my query.

I would like to run a sub procedure called generatedataset then I'd like to enter a date from column J (starting from J4) into G12 ( cell G12 is a named range called effective_date). Then enter the concatenation of the adjacent cells K4 and L4 and place this into cell G9 (cell G9 is a named range called dataset_name). Then call the procedure again. Repeating for all values in range starting at J4 extending down, and for all corresponding concatenated values in K and L.

Data would always be taken from columns J or K&L and placed in the same cells ie G12 (named range effective_date) and G9 (named range dataset_name) respectively.

View 5 Replies View Related

Concatenate Duplicates: Concatenate Results Of All Equal P/N's From Any Given List

Oct 6, 2007

I have a list of P/N's that are used in more then one location. and it's sorted by P/N's.

ColA__ColB__ColC
______Loc___PN
______1_____A
______2_____A
______3_____B
______4_____C
______5_____C

I Want to be able to put in Col A the concatenate results of all equal P/N's from any given list. Or at least select the few cells that i know are duplicates and from that copy the Location to a single Column.

ColA ColB__ColC
______Loc__PN
1,2____1___A
_______2___A
_______3___B
4,5____4___C
_______5___C

View 5 Replies View Related

Concatenate Multiple Rows In A Column Using Delimiter Based On Changing Value

Aug 16, 2013

I am attempting to concatenate the dept numbers for each user in a list. For example, the first user listed below is associated with 6 depts. I would like the resulting macro to concatenate the dept's into one cell next to the Name.

Below is an example with the solution I am attempting to produce.

Sample Table

Name
Dept

Abbruzzese,James L
188100

[Code] ......

Output

Name
Dept

Abbruzzese,James L
188100, 231100, 600377, 600656, 600663, 600708

Abdi,Salahadin
600607, 600670, 600878, 600879, 710432, 710432, 710435

View 2 Replies View Related

Concatenate Non Blank Cells But Use Concatenate And Substitute Instead Of IF

Aug 11, 2013

Sampling table :

one
two
three
four
one
two
three
one
two
one

Desired results obtained via IF =IF(B2>0,A2&" , ",A2)&IF(C2>0,B2&" , ",B2)&IF(D2>0,C2&" , ",C2)&IF(D2>0,D2,"")

one , two , three , four
one , two , three
one , two
one

Is there any smarter, shorter formula via Concatenate and Substitute or other formulas ?

My closest match, but not good enaugh is =SUBSTITUTE(CONCATENATE(A2&", "&B2&", "&C2&", "&D2), ", , ", " ")
[ returna 2 commad ]
one, two, three, four
one, two, three,
one, two
one ,

View 9 Replies View Related

Concatenate Varying Numbers Of Cells Based On Duplicates Found In Separate Column

Jul 25, 2011

I need to concatenate varying numbers of cells based on duplicates found in a separate column, but I'm not sure how to approach it. I have 41,000+ rows of data, so I have to find a formula.

Example:

1AB2Denton, PaulFB357D4D3OwensTest, MarcyFB539F934Brennan,
JosephFB539F935Bowser, AmyFB539F936LaRock, ChuckFB667D3B

Based on duplicates in column B, I want to combine the data in column A into one cell. The duplicates in column B could be only 2, or could be 20+.

View 2 Replies View Related

If / Concatenate Into One Cell

Nov 14, 2008

I have 6 columns:

A1 = LastName
B1 = FirstName
C1 = LastName2
D1 = FirstName2

I need to concatenate into 1 cell so it looks like this: FirstName LastName;FirstName2 Last Name2. Now the challenge is that there are many instances where C1 and D1 are blank (don't have values).

So here was my attempt at a formula:
=IF(A1>""&B1>"",CONCATENATE(B1," ",A1))& IF(C1>""&D1>"",CONCATENATE(";"&D1,"",C1),"")

Now this works, but it ALWAYS leaves a semi colon at the end (even when there is no C1 and D1 to concatentate. Thus I put in my IF statement the "".

View 4 Replies View Related

Concatenate IF Cell Is Not Empty

Dec 4, 2013

I have been sent a very large file of product data from one of my suppliers, They sent all of the details in separate fields (for example, colour, height, width, depth, material etc)

I have processed all these columns to appear how I want them, but now need to join them together so they can all be added to my main description. I want each one to be on a new line when it's displayed on my website, so I'll be adding a <br /> tag (break tag) after each item. This I can do no problem.

This would all be fine, if all the columns contained data, but a lot of the time the columns do not contain data (eg. I have a column for "knife length" but not all of my products are knives, so not all of them require this information"

for example, I have something like:

SKU | Colour | height | width | depth | material
ABC | blue | 50mm | 10mm | 60mm |
BCD | | 80mm | 75mm | 30mm | wood
CDE | red | | | | plastic

I could use something like :

=CONCATENATE($A2, " <br /> ", CHAR(10),$B2, " <br /> ", CHAR(10),$C2, " <br /> ", CHAR(10),)

This however means writing a piece of code for each cell I want to join, My cells go from range "O2" to "DW2", I don't fancy writing that for every single column!! Also, it means that If I have some empty fields, it will still add a break tag, this will look very odd on my site.

I really need a way of writing into the function "include if cell contains data" for each cell. If it doesn't contain anything, skip it and move to the next. (the char(10) in this just gives me a line break in excel so I can see what it'll look like when it's exported)

View 6 Replies View Related

How To Concatenate Infinite Cell

Dec 23, 2013

How to concatenate the infinite cell in one cell. See the attachment .

I need the data in column A ...

Attached File : abcd.xlsx‎

View 10 Replies View Related

Concatenate Partial URL With Cell Value

Mar 31, 2014

I am making a table in excel where I list video games and I would like to place a hyperlink in line with them to open a search page on eBay, I've made a URL-friendly cell (replacing the spaces with + signs, like they do on the URL.

Example table:

game title
game+title
Check

On the "Check" cell I would like a hyperlink that contains the value of the cell saying "game+title" (supposing that is cell B2), i.e:

[URL]....

How would I go about it?

View 2 Replies View Related

Concatenate The Cell Values

Jul 15, 2008

I am trying to merge three cells using the following formulae =CONCATENATE(A3,": ",B3,", ",C$1,", ",C3,"") where C$1 is a title (header) I will use if C3 is populated. However, I would like to leave C$1 out if C3 is not populated.

View 9 Replies View Related

Concatenate All The Cell Content From A Column In One Cell

Feb 27, 2007

I would need to concatenate all the cell'content from a column if the value is different from null ("") in just one cell separated by ";" ... By ex :
In column A I have :
A1-""
A2-X
A3-""
A4-y
In cell B1 I should get "X;Y"

View 9 Replies View Related

Eliminating Empty Cell In Concatenate

Aug 6, 2014

Eliminating empty cell in the concatenate. I am concatenating many cell together. Example is Column A has a word " Starter" Column B is the type of tractor it fits " Case" Column C thru E have other names IE John Deere, Ford only if the part fits more than one type of tractor. In my final Concatenate i end up with many comma's and nothing follows. I have placed a ", " in between each reference of the cell. If the cell is 0 or null. I want the concatenate to ignore the cell and extra commas.

My current function reads + Concatenate(A1,", For ",B2,", ",C2,", ",D2,", ",E2)

What I have now.
Starter, For John Deere, , , , , , , .
Starter, For John Deere, Ford, , , , , , .

What I wish is.
Starter, For John Deere, Ford.

View 2 Replies View Related

If Cell Has X Turn Into Number And Concatenate

Jul 4, 2009

Example is in the attch: Book11.xls. This formula works but if there is no number 4 then I don't want comma after 1, or 2, or 3, How avoid it:

results

1,2,3,4
1,2,
1,2,3,
3,4
1,
4
2,3,

(red , need to be removed)

View 5 Replies View Related

Different CONCATENATE Rules Depending On Cell Value

Oct 28, 2009

I'm trying to do a CONCATENATE function in Excel 2003. The first part of the function (this is working correctly) is a) concatenating 4 cells from a different worksheet (WB_NEW) into one cell and is b) putting a space in between each entry:

=CONCATENATE(WB_NEW!AH3," ",WB_NEW!AI3," ",WB_NEW!AJ3," ",WB_NEW!E3)

What I'm now trying to do is enhance this function to perform with 2 separate concatenation rules i.e. "if one of the cells specified above is blank, concatenate a different set of cells".

View 5 Replies View Related

Concatenate A Range Rather Than Click Each Cell

Feb 3, 2009

Can you concatenate a range. I want to join 30+ cells together but dont want to click on every one?

View 10 Replies View Related

Concatenate Email Addresses Into One Cell

May 29, 2009

I have a list of email addresses. They are in column A.
The 1st email address is in cell A5 and goes down until a blank cell is reached.

QUESTION: Is there a limit on how many email addresses can be contantinated together ? I can limit the number if necessary.

The contantinated list should be placed into cell A1.

View 7 Replies View Related

CONCATENATE The Contents Of Cell VERTICALLY

Apr 19, 2007

is it possible to concatenate the contents of several cell vertically into a single cell? like using (e.g. B47&B48&B49&B50&B51&B52) in a statement but make it vertical? and make some parts blank if it does not contain data.

(CODE)=IF(AND(A45=”1”),*CONCATENATE VERTICAL B47 to B52*, IF(AND(A45=”2”),*CONCATENATE VERTICAL D47 to D52*, IF(AND(A45=”3”),*CONCATENATE VERTICAL F47 to F52*,””)))

(please see attached file for reference)

View 9 Replies View Related

Combining Formulas In A Cell And Concatenate

Feb 18, 2010

I am trying to combine this formula with another formula but I cant get it right.
I have multiple worksheets that feed into 1 so I am using this formula to pull in the info.

=II.MissionCritical!C20. This info is a title like "Writing".
=II.MissionCritical!C23. This info is a yes or no.

So I need the =II.MissionCritical!C20 formula to also say if c23 is no add an *** to the front of the title. so the title would look like "***Writing". and if C23 is yes leave the title as is.

View 2 Replies View Related







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