Skip to main content
Solved

Formula Assistance

  • November 4, 2024
  • 0 replies
  • 181 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. 

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • Answer
  • November 4, 2024

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.