0

How can I extract the URL parameter "kw" from this URL using an Excel formula?

http://www.googleadservices.com/pagead/aclk?sa=L&ai=CJUQ7zvAbVdK_CrHSsQf6iIHYD7zV59kHvJfs5LABpuWU_AMIABABKANgofiHgGygAbz01eADyAEBqQK8TgDDlm9-PqoEKE_QrRjDXKCZneohUov47wCTKVWTFGDo-TbcFZnV3yZ1YGhvXWUb_WuIBgGAB6yLqh-QBwOoB6a-G9gHAQ&ohost=www.google.com.ar&cid=5GhbrxlB07mO7bZOlKEDRYCN1cvrdfvVgL6nRn6sDtpHjLQ&sig=AOD64_1lIeXRqqfwLyHYFCfMWeYn0n0N6Q&rct=j&q=&ved=0CBkQ0Qw&adurl=http://segurosendirecto.com.ar/cotizador-de-seguros-auto?kw=san%2520cristobal%2520seguros
1
  • Please show what you have tried so far Commented Jul 18, 2015 at 0:09

1 Answer 1

2

With the URL in cell A1, use:

=MID(A1,FIND("kw=",A1)+3,9999)

enter image description here

and if you want to include the wk=, just drop the +3 from the formula.

Sign up to request clarification or add additional context in comments.

1 Comment

not working in excel 2010, says formula contains an error

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.