Building a formula that builds a URL with variables from cells (which will be keywords) - excel

Google Sheets... Basically... I want to build a URL (it'll be a boolean site: search) where one cell field will be the website that is searched and another cell will be the keywords to search for. If there are more than one keywords in the field it'll need to replace the spaces with + signs in the URL.
Example is I have 'opentoexport.com' in a cell for the website and 'this is a test' in the field for the search term/keywords. It needs to build a URL that replace the spaces in the search term with + signs like this - google.co.uk/?gws_rd=ssl#q=site:opentoexport.com+this+is+a+test.
To try to make it clearer what I mean, I want some kind of formula that would make a URL like google.co.uk/?gws_rd=ssl#q=site:(Cell C:4)+(Cell A:4) where C:4 was the website I wanted to do a site: search of and C:4 would be keywords. The keywords in C:4 have spaces between them and the URL needs those spaces to be a + sign instead.
The formula I've tried so far is =CONCAT("google.co.uk/?gws_rd=ssl#q=site:($C4)+($A4))") which doesn't work.
The info in C4 is 'opentoexport.com' which is the website I want to do the site search of on Google.
The info in A4 are the keywords which is the search term I want to use on Google for the site: search, which in this instance is 'articles export market'. I want it to create https://www.google.co.uk/?gws_rd=ssl#q=site:opentoexport.com+this+is+a+test.
Here is an example of the sheet I'm using... https://goo.gl/RHEXce
Could anyone help? It seems complicated but I'm hoping someone who knows what they're doing might be able to make it simple?
note i've had to mess with the URLs to allow myself to post because it warned I had too many links

Does this formula work as you want:
="https://www.google.co.uk/?gws_rd=ssl#q=site:"&C4&"+"&SUBSTITUTE(A4," ","+")

Related

Google Sheets API strips out links

I'm fetching some data from Google Sheets via Node, but the API only returns the text value when there's a hyperlink present. I've searched for solutions, and everyone seems to say to add valueRenderOption: 'FORMULA' to your API call, but that still doesn't do anything for me because it doesn't look like these links are applied via the HYPERLINK formula; the user is highlighting text, hitting CMD/CTRL + K, and creating a link that way because when I select the cell, the formula field is empty.
Figured it out. Looks like you can't use spreadsheets.values.get in this case. You have to use spreadsheets.get and pass includeGridData: true.

Is there a way to search multiple keywords in a Saved Search on NetSuite?

I am creating a Saved Search for my team where users can filter by different parameters but the most important one is a ‘Keyword’ field where we have multiple text strings separated by commas. Eg: One could be (Horses, Apples, Cows, Carrots, Balloons) and another could be (Apples, Cake, Silver, Horses, Bananas)
I want to be able to use the free text search field to look up all rows where I can find a relevant entry.
Eg. Let’s say I type “Apples” and “Horses”. I want to see all entries where these are found together.
I have tried setting the criteria to “Contains” but can’t seem to use operators in the input field. I have also tried to use expressions but got You cannot use an expression builder criteria filter as an available filter" as an error.
I’m not familiar with NetSuite but willing to learn. I was able to create this in Google Sheets. Since we already store our information on NS already, I want to find a way to do it there. Is there a way to achieve this?
Thank you.
When you create the saved search, you can just specify a default value that will be used in the initial search load (e.g. contains Apples). In the Available Filters tab, select the same filter and check Show in Filter Region.
When users run the saved search, they can change the criteria by typing into the field and pressing Tab after (if you press Enter instead of Tab, the results will be downloaded into a CSV file instead of being displayed in the page). In your example, they should type 'apples%horses' then press Tab.
Additional reference: https://www.sikich.com/insight/using-formula-values-as-available-filters-in-netsuite-saved-searches/
Update:
Use 'has keywords' instead of 'contains' in the filter. When viewing the results, separate keywords with a comma. Example: 'apples, horses'

Extract part of text from a URL in Excel

I am working on extracting a part of the URL to another column. Here are 2 URLs -
http://learn.reg.edu/degree-programs/religion-theology/?bm_source=facebook&bm_medium=ppc&bm_campaign_id=6086055048219&bm_adset_id=6086055734819&bm_ad_id=6094109509819&bm_placement=Facebook_Mobile_Feed
http://learn.regent.edu/home-2/?persist=1&bm_placement=an&bm_ad_id=%7B%7Bad.id%7D%7D&bm_adset_id=%7B%7Badset.id%7D%7D&bm_campaign_id=%7B%7Bcampaign.id%7D%7D&bm_campaign=rm&bm_medium=ppc&bm_source=facebook
So I wish to pull out text after "bm_placement=" and whatever it says (like in the above two urls, url 1 has "Facebook_Mobile_Feed" and url 2 has "an")
I am using this formula -
=RIGHT(ES16760,LEN(ES16760)-(FIND("bm_placement=",ES16760,1) +12))
It works fine for the first URL but for the second one, it pulls out everything after "an" which I do not want. Any suggestions on how to solve this?
Thanks!
Use MID with a lot of FINDs:
=MID(A1,FIND("bm_placement=",A1)+ LEN("bm_placement="),FIND("&",A1&"&",FIND("bm_placement=",A1))-(FIND("bm_placement=",A1)+ LEN("bm_placement=")))

excel lookup that alters URL for web based data pull

I've been trying to figure this out for 5 days, searched this site, watched youtube tutorials, and it's just not coming together for me. I know very little excel and no visual basic.
I need to be able to pull specific info from a website and populate an excel sheet with that info.
User-entered data (the variable?) is an email address. I have a long list of email addresses. From this list I want to generate the web data pull.
My excel is currently set up as a form, Column 1=email, that is the info I have. What I want to pull is in columns 2-8: 2=id number, 3=first name, 4=last name, etc.
The site I am pulling from is an internal API, looks like: http://blah.web.blah.com/blah/blah/blah/emailAddress. This site displays each value that I seek as:
<id>12345</id>, <firstName>Joe</firstName>
The site has over 25 lines of info tagged like this, I am only interested in pulling 7 specific lines into the appropriate column and row, based on the email value in Column 1.
I can easily capture all 25+ lines of info, one at a time.
=HYPERLINK("blah.web.blah.com/blah/blah/blah/"&A3
I would prefer to do this as a batch where I paste the email addresses into Column 1 and walk away while the magic computer executes the batch.
...this seems like it should be easy, but I don't know how to do it and haven't found a solution that starts to function. And like a seasoned Russian once said, "What is hard? Everything you do not know."
If you have excel 2013 , you can use FilterXML function

dynamic search folder in Outlook professional 2010

I want to create a search folder that will prompt/take user input (I will enter it manually)
and search all the emails containing that String.
Basically what I am trying to enter is something dynamic and hence I want to pass that string dynamically to the search criteria. is it possible.
Cause: I try to search using the instant search but it finds all emails not with the exact sentence but with all the words in the sentence i typed.
Please help
I found the answer.
Searching for a sentence with in quotes in the instant search area.... i.e.
"your sentence goes here"
will automatically search the complete sentence...
Here is a nice link for that.. really helpful
http://office.microsoft.com/en-us/outlook-help/learn-to-narrow-your-search-criteria-for-better-searches-in-outlook-HA010238831.aspx

Resources