Address Consolidation

Sezebear

New Member
Joined
Nov 9, 2015
Messages
7
Hi,

Can somebody please help me I am having a mindblank.

I am trying to show an address in one Cell (Full Address). Theaddress is currently spread over 6 columns. example below


Thank you in advance

[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD="width: 124, bgcolor: transparent"]Full Address

[/TD]
[TD="width: 87, bgcolor: transparent"]Address 1

[/TD]
[TD="width: 87, bgcolor: transparent"]Address 2

[/TD]
[TD="width: 86, bgcolor: transparent"]Address 3

[/TD]
[TD="width: 87, bgcolor: transparent"]Town

[/TD]
[TD="width: 94, bgcolor: transparent"]County
[/TD]
[TD="width: 74, bgcolor: transparent"]Postcode

[/TD]
[/TR]
[TR]
[TD="width: 124, bgcolor: transparent"]Example ind. Est
123 example road
Idea way

Exampleton

Exampleshire

EG12 3IE

[/TD]
[TD="width: 87, bgcolor: transparent"]Example ind. Est

[/TD]
[TD="width: 87, bgcolor: transparent"]123 example road


[/TD]
[TD="width: 86, bgcolor: transparent"]Idea way

[/TD]
[TD="width: 87, bgcolor: transparent"]Exampleton

[/TD]
[TD="width: 94, bgcolor: transparent"]Exampleshire

[/TD]
[TD="width: 74, bgcolor: transparent"]EG12 3IE

[/TD]
[/TR]
</tbody>[/TABLE]


 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
In A2 copied down
=B2&CHAR(10)&C2&CHAR(10)&D2&CHAR(10)&E2&CHAR(10)&F2&CHAR(10)&G2
 
Upvote 0
Same formula, amended to avoid empty rows if any of the cells contains no value

Code:
=IF(B2>"",B2,"")&
IF(C2>"",CHAR(10)&C2,"")&
IF(D2>"",CHAR(10)&D2,"")&
IF(E2>"",CHAR(10)&E2,"")&
IF(F2>"",CHAR(10)&F2,"")&
IF(G2>"",CHAR(10)&G2,"")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top