Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 73
Default CONCATENATE cells if other cells are the same

Hi

If cells A1:A3 are the same then I want to CONCATENATE cells B1:B3 into
cells E1:E3 and C1:C3 into F1:F3
e.g.
A B C D E F
1 1 B A B A
2 2 S E S D E Q
3 2 D Q
4 5 L D L D
5 8 S T S A T Z
6 8 A Z

I need to copy this formula down my worksheet.

Thanks in advance for any help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 73
Default CONCATENATE cells if other cells are the same

This should read

If cells A1:A3 are the same then I want to CONCATENATE cells B1:B3 into
cells D1:D3 and C1:C3 into E1:E3
e.g.
A B C D E
1 1 B A B A
2 2 S E S D E Q
3 2 D Q
4 5 L D L D
5 8 S T S A T Z
6 8 A Z

I need to copy this formula down my worksheet.

Thanks in advance for any help.


"Mally" wrote:

Hi

If cells A1:A3 are the same then I want to CONCATENATE cells B1:B3 into
cells E1:E3 and C1:C3 into F1:F3
e.g.
A B C D E F
1 1 B A B A
2 2 S E S D E Q
3 2 D Q
4 5 L D L D
5 8 S T S A T Z
6 8 A Z

I need to copy this formula down my worksheet.

Thanks in advance for any help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 60
Default CONCATENATE cells if other cells are the same

If Row_1 can contain headings and your data can start in Row_2...
Try this:
D2: =IF($A2<$A1,B2,"")&IF($A2=$A3,B3,"")&IF($A2=$A4,B 4,"")

Copy that formula across and down through E7.

Is that something you can work with?

Regards,

Ron Coderre
Microsoft MVP (Excel)


"Mally" wrote in message
...
This should read

If cells A1:A3 are the same then I want to CONCATENATE cells B1:B3 into
cells D1:D3 and C1:C3 into E1:E3
e.g.
A B C D E
1 1 B A B A
2 2 S E S D E Q
3 2 D Q
4 5 L D L D
5 8 S T S A T Z
6 8 A Z

I need to copy this formula down my worksheet.

Thanks in advance for any help.


"Mally" wrote:

Hi

If cells A1:A3 are the same then I want to CONCATENATE cells B1:B3 into
cells E1:E3 and C1:C3 into F1:F3
e.g.
A B C D E F
1 1 B A B A
2 2 S E S D E Q
3 2 D Q
4 5 L D L D
5 8 S T S A T Z
6 8 A Z

I need to copy this formula down my worksheet.

Thanks in advance for any help.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 73
Default CONCATENATE cells if other cells are the same

Thanks Ron. Thats what i wanted with the exception if some cells contain the
same words then these are repeated. Is it possible for just one of unique
values to be displayed. Currently my results look like this

YesYesYesYesTrafficTraffic

I want it to look like this

Yes Traffic

with a space in between

etc.

Thank you again

"Ron Coderre" wrote:

If Row_1 can contain headings and your data can start in Row_2...
Try this:
D2: =IF($A2<$A1,B2,"")&IF($A2=$A3,B3,"")&IF($A2=$A4,B 4,"")

Copy that formula across and down through E7.

Is that something you can work with?

Regards,

Ron Coderre
Microsoft MVP (Excel)


"Mally" wrote in message
...
This should read

If cells A1:A3 are the same then I want to CONCATENATE cells B1:B3 into
cells D1:D3 and C1:C3 into E1:E3
e.g.
A B C D E
1 1 B A B A
2 2 S E S D E Q
3 2 D Q
4 5 L D L D
5 8 S T S A T Z
6 8 A Z

I need to copy this formula down my worksheet.

Thanks in advance for any help.


"Mally" wrote:

Hi

If cells A1:A3 are the same then I want to CONCATENATE cells B1:B3 into
cells E1:E3 and C1:C3 into F1:F3
e.g.
A B C D E F
1 1 B A B A
2 2 S E S D E Q
3 2 D Q
4 5 L D L D
5 8 S T S A T Z
6 8 A Z

I need to copy this formula down my worksheet.

Thanks in advance for any help.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Concatenate cells Snakeoids Excel Discussion (Misc queries) 6 July 28th 06 01:46 PM
CONCATENATE TWO DIFFERENT CELLS cs_vision Excel Worksheet Functions 10 April 27th 06 11:12 PM
Concatenate custom cells Lou Excel Discussion (Misc queries) 5 January 13th 06 04:15 PM
Add Space between concatenate cells Mac Landers Excel Worksheet Functions 3 February 1st 05 08:27 PM
how do I UN-concatenate cells julia Excel Discussion (Misc queries) 2 January 5th 05 07:45 PM


All times are GMT +1. The time now is 06:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"