Hi. Can anyone help please. This is doing my head in, I was up till 3 am this morning trying all kinds to get this to work, and yes I have checked similar already answers, so apologies for possible re-posting a same question/issue, but the resolutions posted are not appearing to work in my case.so here goes
We have multiple campains going at the same time. These are recorded in a URL address in raw data. So for instance we have 10 campains running so there are 10 different URL addresses. Each address would only be different only by having the campain name included in the URL for example (leaving out the full url of course.
This is the Unbeatable_prices campaign
=%%&sfmc_e=%%_subscriberkey%%&SFMC_JobId=%%jobid%%#unbeatable-prices
This is the fragrance campaign
.co.uk/shop/beauty/fragrance?productId=48&utm_medium=email&utm_source
This is the make-up campaign
.co.uk/shop/make-up?productId=48&utm_medium=email
These are just snippets of the full address but has the campaign name at different places within the url (text sentence)
These are listed in A column from A2, A3, A4 downwards.
So I have tried making a list of the campaigns in a spare column, in my case its column W
Column W
Row 1 Campaign List
Row 2 fragrance
Row 3 unbeatable
Row 4 make-up
Row 5 Books
Rwo 6 Food
Row 7 Lounge
Row 8 drink
And this list WILL grow as the campaigns come on line.
So How can I say search Cell A2 where the long URL sentence is, for one of the words in the above list and then show that word (campaign) lets say in my case I am working in cell P2. The URL will only show one of the campaigns and not multiple caampaigns in the same URL, so it would only need to find one of the words in the list and report it into cell P2, P3, P4 etc
I have tried
=INDEX(W2:W8,MAX(IF(ISERROR(FIND(W2:W7,A2)),-1,1)*(ROW(W2:W7)-ROW(W2:W7)+1)))
but get #VALUE !
Can anyone help ?????
Thanks
Garry
We have multiple campains going at the same time. These are recorded in a URL address in raw data. So for instance we have 10 campains running so there are 10 different URL addresses. Each address would only be different only by having the campain name included in the URL for example (leaving out the full url of course.
This is the Unbeatable_prices campaign
=%%&sfmc_e=%%_subscriberkey%%&SFMC_JobId=%%jobid%%#unbeatable-prices
This is the fragrance campaign
.co.uk/shop/beauty/fragrance?productId=48&utm_medium=email&utm_source
This is the make-up campaign
.co.uk/shop/make-up?productId=48&utm_medium=email
These are just snippets of the full address but has the campaign name at different places within the url (text sentence)
These are listed in A column from A2, A3, A4 downwards.
So I have tried making a list of the campaigns in a spare column, in my case its column W
Column W
Row 1 Campaign List
Row 2 fragrance
Row 3 unbeatable
Row 4 make-up
Row 5 Books
Rwo 6 Food
Row 7 Lounge
Row 8 drink
And this list WILL grow as the campaigns come on line.
So How can I say search Cell A2 where the long URL sentence is, for one of the words in the above list and then show that word (campaign) lets say in my case I am working in cell P2. The URL will only show one of the campaigns and not multiple caampaigns in the same URL, so it would only need to find one of the words in the list and report it into cell P2, P3, P4 etc
I have tried
=INDEX(W2:W8,MAX(IF(ISERROR(FIND(W2:W7,A2)),-1,1)*(ROW(W2:W7)-ROW(W2:W7)+1)))
but get #VALUE !
Can anyone help ?????
Thanks
Garry