CONCATENATE formula problem

MYMunshi

New Member
Joined
Apr 16, 2016
Messages
16
Hi everyone

I'm struggling with a CONCATENATE formula. I have the following data:

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Record REC[/TD]
[TD]Linked REC[/TD]
[TD]WT/PT[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]9[/TD]
[TD][/TD]
[TD]WT[/TD]
[TD]REC9WT[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]8[/TD]
[TD][/TD]
[TD]WT[/TD]
[TD]REC8WT[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]7[/TD]
[TD]6[/TD]
[TD]PT[/TD]
[TD]REC7/6PT[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]6[/TD]
[TD][/TD]
[TD]PT[/TD]
[TD]REC6PT[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]WT[/TD]
[TD]REC5WT[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]4[/TD]
[TD]3[/TD]
[TD]WT[/TD]
[TD]REC4/3WT[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]WT[/TD]
[TD]REC3WT[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]PT[/TD]
[TD]REC2PT[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]PT[/TD]
[TD]REC1PT[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

In the context of the above table, I've come up with the following formula for column D:

=CONCATENATE(RIGHT($A$1, 3), A2, C2)


The two problems I'm struggling with is:

  • incorporating the linked element (column B) to the desired result as per column D. The best I came up with for this was , =CONCATENATE(RIGHT($A$1, 3), A2, IF(ISBLANK(B2), "", B2), C2) but it doesn't work because I don't know where to place the "/" sign and in general just doesn't work.
  • ensuring that the formula returns blank cells for D11-D14 (as there are no entries in those rows).

Any help pleeeeease??

Thank you kindly in advance :)
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Close, try

=IF(A2="","",CONCATENATE(RIGHT($A$1, 3), A2,IF(B2="","","/"&B2), C2))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,712
Messages
6,174,031
Members
452,542
Latest member
Bricklin

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