Skip to main content
Solved

Formula Assistance

  • Nov 4, 2024 7:40 PM UTC
  • 0 replies
  • 232 views

Forum|alt.badge.img+1

Newbie here! I need to get the word 'County' inserted into this List formula after the [County] field so that it shows up as, Chicago, Cook County, IL instead of Chicago, Cook, IL. Can anyone help? Thanks!

List(", ",[Address: City], [County], [Address: State/Region])

Best answer by MarkShnierYou

np,

var text County = IF(Trim([County])<>"", [County] & " County");

List(", ",[Address: City], $County, [Address: State/Region])

 

//the reason for the extra complexity is to deal with the possibility that the County is blank, in which case adding the word County would be confusing. 

View original
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24
  • Qrew Champion
  • Answer
  • Nov 4, 2024 8:05 PM UTC

np,

var text County = IF(Trim([County])<>"", [County] & " County");

List(", ",[Address: City], $County, [Address: State/Region])

 

//the reason for the extra complexity is to deal with the possibility that the County is blank, in which case adding the word County would be confusing.