Merge data from multiple cell with the conditiion that only if the cell has data in it as well as add HTML list element

yarajani

New Member
Joined
May 22, 2019
Messages
1
[TABLE="width: 206"]
<tbody>[TR]
[TD="class: xl64, width: 206"][/TD]
[/TR]
</tbody>[/TABLE]


This is working fine.

=CONCATENATE(
IF(E5<>"", ""&$E$3&CHAR(160)&$E$4&CHAR(160)&E5&"
",""),
IF(F5<>"",""&$F$3&CHAR(160)&$F$4&CHAR(160)&F5&"
",""),
IF(G5<>"",""&$G$3&CHAR(160)&$G$4&CHAR(160)&G5&"
",""),
IF(H5<>"",""&$H$3&CHAR(160)&$H$4&CHAR(160)&H5&"
",""),
IF(I5<>"",""&$I$3&CHAR(160)&$I$4&CHAR(160)&I5&"
",""),
IF(J5<>"",""&$J$3&CHAR(160)&$J$4&CHAR(160)&J5&"
",""),
IF(K5<>"",""&$K$3&CHAR(160)&$K$4&CHAR(160)&K5&"
",""),
IF(L5<>"",""&$L$3&CHAR(160)&$L$4&CHAR(160)&L5&"
",""),
IF(M5<>"",""&$M$3&CHAR(160)&$M$4&CHAR(160)&M5&"
",""),
IF(N5<>"",""&$N$3&CHAR(160)&$N$4&CHAR(160)&N5&"
",""),
IF(O5<>"",""&$O$3&CHAR(160)&$O$4&CHAR(160)&O5&"
",""),
IF(P5<>"",""&$P$3&CHAR(160)&$P$4&CHAR(160)&P5&"
",""))

Need to add range from line 5 to line 17 in the result. something like this

IF(E5<>"", ""&$E$3&CHAR(160)&$E$4&CHAR(160)&E5:E18&"
",""),

Not getting any error messge but the result show first line E5
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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