Adding NCBI Links to GI Numbers in Excel

advertisement
Adding NCBI Links to GI Numbers in Excel
efg, Stowers Institute, 30 Jan 2003
Assume you have an Excel spreadsheet with a column of Genbank ID (GI) numbers and you
wish to create hot links to NCBI from them.
In the B2 cell, enter this formula to create a link to the GI number in A2 (cut and paste the
formula below to make this simple, changing "a2" to any desired cell reference):
=hyperlink("http://www.ncbi.nlm.nih.gov/htbinpost/Entrez/query?uid=" & a2 & "&form=6&db=s&Dopt=g",a2)
If you click on the link at this point, you'll end up at NCBI (as desired):
U:\efg\TechNote\Excel\GI-Numbers.doc 5-Apr-04
1
Adding NCBI Links to GI Numbers in Excel
The Web page seems to replace your Excel spreadsheet. To get back to the Excel spreadsheet,
click on the Excel icon on the task bar at the bottom of the screen, even if you close the web
browser.
To copy the formula, use the arrow keys – instead of clicking with the mouse – to get to cell B2.
Use Ctrl-C to copy this cell. Highlight the desired target cells (the rest of column B in this
example), and then press Ctrl-V to copy the hyperlink formula.
Select the original column | Format | Column | Hide
Reference:
Excel and the Web
http://www.microsoft.com/exceldev/articles/ch11.htm
U:\efg\TechNote\Excel\GI-Numbers.doc 5-Apr-04
2
Download