I have a formula which looks for the string “geo” in my URL column {Cloaked Link} then display all text it finds after it.
But sometimes I will have the text “visit” in the {Cloaked Link} URL column instead of “geo”, so if that’s the case I want to pull out all the text to the right of that string.
Excellent! Now, while I have you. What if I further wanted a new column where I take the value in my {Slug} column and add it into a specific string.
Let’s say the {Slug} value is “borgata-casino”. I want to first check the {Type} column. If that column is set to (GEO) then I want to incorporate the text “geo” and the {Slug} value into a specific string. So for example:
If the {Slug} = borgata-casino/ AND the {Type} = (GEO) I want to:
Excellent! Now, while I have you. What if I further wanted a new column where I take the value in my {Slug} column and add it into a specific string.
Let’s say the {Slug} value is “borgata-casino”. I want to first check the {Type} column. If that column is set to (GEO) then I want to incorporate the text “geo” and the {Slug} value into a specific string. So for example:
If the {Slug} = borgata-casino/ AND the {Type} = (GEO) I want to:
Excellent! Now, while I have you. What if I further wanted a new column where I take the value in my {Slug} column and add it into a specific string.
Let’s say the {Slug} value is “borgata-casino”. I want to first check the {Type} column. If that column is set to (GEO) then I want to incorporate the text “geo” and the {Slug} value into a specific string. So for example:
If the {Slug} = borgata-casino/ AND the {Type} = (GEO) I want to:
This is great, but I need that string of text to display whatever URL is in the Cloaked Link column, not just https://sportshandle.com/, since the site could be different. How would I insert the {Cloaked Link} there instead of that specific string of text?
This is great, but I need that string of text to display whatever URL is in the Cloaked Link column, not just https://sportshandle.com/, since the site could be different. How would I insert the {Cloaked Link} there instead of that specific string of text?
I’m a little confused. Here’s what you asked for:
I understand (thanks to your clarification) that it’s not going to literally be “sportshandle.com”, so that’s not the confusing point. The confusing point is that the pattern you outlined for building this “new” URL creates (as far as I can see) the same URL that’s already in the {Cloaked Link} field. If it’s supposed to be the same domain from that field (whatever that domain may be), and the same geo/visit piece, and the same slug, why not just wrap the extra characters you want around the existing URL in {Cloaked Link}?
'[href*="' & {Cloaked Link} & '"]'
I don’t understand the need to read what’s in the {Type} and {Slug} fields if they’re already part of—and in the case of {Slug}, derived from—the original URL, and you just need that extra wrapper around it.
If that’s not what you need, then I would kindly ask if you could please try to explain it a different way, because what I read above feels like you’re asking how to rebuild something that already exists.
I understand (thanks to your clarification) that it’s not going to literally be “sportshandle.com”, so that’s not the confusing point. The confusing point is that the pattern you outlined for building this “new” URL creates (as far as I can see) the same URL that’s already in the {Cloaked Link} field. If it’s supposed to be the same domain from that field (whatever that domain may be), and the same geo/visit piece, and the same slug, why not just wrap the extra characters you want around the existing URL in {Cloaked Link}?
'[href*="' & {Cloaked Link} & '"]'
I don’t understand the need to read what’s in the {Type} and {Slug} fields if they’re already part of—and in the case of {Slug}, derived from—the original URL, and you just need that extra wrapper around it.
If that’s not what you need, then I would kindly ask if you could please try to explain it a different way, because what I read above feels like you’re asking how to rebuild something that already exists.
Oh, duh, yes, I couldn’t see the forest for the trees there. The simple formula worked. Thanks so much for your help!