jessebh2003
Board Regular
- Joined
- Feb 28, 2020
- Messages
- 71
- Office Version
- 365
- Platform
- 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:
returns First Name, " ", Last Name, " ", Duplicate Value and
returns First Name, " ", Last Name.
Appreciate any help in getting this to work right! Thanks.
Here's what I'm trying to achieve:
- Is the value in Duplicate Value > 1
- If TRUE, concat First Name, " ", Last Name, " ", Duplicate Value
- If FALSE, concat First Name, " ", Last Name
Excel Formula:
=CONCAT([@[First Name]]," ",[@[Last Name]]," ",[@[Duplicate Value]])
Excel Formula:
=IF(COUNTA([@[Duplicate Value]])>1,CONCAT([@[First Name]]," ",[@[Last Name]]," ",[@[Duplicate Value]]),CONCAT([@[First Name]]," ",[@[Last Name]]))
Appreciate any help in getting this to work right! Thanks.
NPO Credit & Video Tracking Combined Report.xlsx | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | Activity ID | Start Date | Description | ID | Name | First Name | Last Name | Full Name | Duplicate Value | Full Name2 | ||
2 | 12345 | 08/24/2021 | Event Name One | 67890 | Jane Doe, MBA | Jane | Doe | Jane Doe 1 | 1 | Jane Doe | ||
3 | 12345 | 07/27/2021 | Event Name Two | 67890 | Jane Doe, MBA | Jane | Doe | Jane Doe 2 | 2 | Jane Doe | ||
Sheet2 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H2:H3 | H2 | =CONCAT([@[First Name]]," ",[@[Last Name]]," ",[@[Duplicate Value]]) |
I2:I3 | I2 | =COUNTIF($E$2:$E2,$E2) |
J2:J3 | J2 | =IF(COUNTA([@[Duplicate Value]])>1,CONCAT([@[First Name]]," ",[@[Last Name]]," ",[@[Duplicate Value]]),CONCAT([@[First Name]]," ",[@[Last Name]])) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
I2:I3 | Cell Value | =1 | text | NO |