Concat Values and Include Value if Greater Than 1

jessebh2003

Board Regular
Joined
Feb 28, 2020
Messages
71
Office Version
  1. 365
Platform
  1. Windows
In my table, I'm trying to combine values using concat but I only want the third item included if the value is greater than one. I've tried this a couple ways (columns Full Name and Full Name2) but neither is giving me the value I'm looking for.

Here's what I'm trying to achieve:
  1. Is the value in Duplicate Value > 1
  2. If TRUE, concat First Name, " ", Last Name, " ", Duplicate Value
  3. If FALSE, concat First Name, " ", Last Name
However,
Excel Formula:
=CONCAT([@[First Name]]," ",[@[Last Name]]," ",[@[Duplicate Value]])
returns First Name, " ", Last Name, " ", Duplicate Value and
Excel Formula:
=IF(COUNTA([@[Duplicate Value]])>1,CONCAT([@[First Name]]," ",[@[Last Name]]," ",[@[Duplicate Value]]),CONCAT([@[First Name]]," ",[@[Last Name]]))
returns First Name, " ", Last Name.

Appreciate any help in getting this to work right! Thanks.

NPO Credit & Video Tracking Combined Report.xlsx
ABCDEFGHIJ
1Activity IDStart DateDescriptionIDNameFirst NameLast NameFull NameDuplicate ValueFull Name2
21234508/24/2021Event Name One67890Jane Doe, MBAJaneDoeJane Doe 11Jane Doe
31234507/27/2021Event Name Two67890Jane Doe, MBAJaneDoeJane Doe 22Jane Doe
Sheet2
Cell Formulas
RangeFormula
H2:H3H2=CONCAT([@[First Name]]," ",[@[Last Name]]," ",[@[Duplicate Value]])
I2:I3I2=COUNTIF($E$2:$E2,$E2)
J2:J3J2=IF(COUNTA([@[Duplicate Value]])>1,CONCAT([@[First Name]]," ",[@[Last Name]]," ",[@[Duplicate Value]]),CONCAT([@[First Name]]," ",[@[Last Name]]))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I2:I3Cell Value=1textNO
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How about
Excel Formula:
=TEXTJOIN(" ",,[@[First Name]],[@[Last Name]],IF([@[Duplicate Value]]>1,[@[Duplicate Value]],""))
 
Upvote 0
Solution
does
=IF(I2>1,F2&" "&G2&" "&I2,F2&" "&G2)
work ?
 
Upvote 0

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