Excel to query a web page and return a filtered value

msinn

New Member
Joined
Sep 8, 2011
Messages
1
Apologies, Im sure this has been covered, but I have been unable to stumble across the correct search string to find the answer.

Briefly, I have a large table of molecules and values from an assay (10,000 rows). Each row is unique. I would like to be able to include a query that throws a search at ncbi based on the molecule name- something like

http://www.ncbi.nlm.nih.gov/pubmed/?term=oubain

and returns the number of results found (for this example its 101).

I have not been able to filter the page down from the standard web query interface. This has to be simple, but I haven't been able to figure it out.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
I tried a web query on that URL (only the entire page could be selected for import) and it imported the data as XML columns and I was unable to get the number of results.

You might try an XMLhttp GET request instead and parse the response.
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,633
Members
452,933
Latest member
patv

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top