{"id":87,"date":"2007-05-21T19:20:00","date_gmt":"2007-05-21T19:20:00","guid":{"rendered":"http:\/\/10.168.29.5\/blog\/?p=87"},"modified":"2007-05-21T19:20:00","modified_gmt":"2007-05-21T19:20:00","slug":"queries-in-excel","status":"publish","type":"post","link":"https:\/\/davidsterry.com\/blog\/2007\/05\/queries-in-excel\/","title":{"rendered":"Queries in Excel"},"content":{"rendered":"<p>If you&#8217;re a spreadsheet junky like me, you&#8217;ve learned all kinds of things to do in a spreadsheet. From using $&#8217;s in autofills to cross-workbook cell references to pivot tables. There&#8217;s lots of fun to be had. I&#8217;ve been using Excel and OpenOffice Spreadsheet for years and was pleasantly surprised to find this function the other day: vlookup. It was used to reconcile one statement against another and I think it&#8217;s a good one to remember.<\/p>\n<p>If you ever wanted to create a form to query your huge spreadsheet without having to go over to Access or some other software, you should take a look at vlookup. Here&#8217;s an example:<\/p>\n<p>VLOOKUP(D1;A3:B20;2)<\/p>\n<p>What this does to use the value D1 to search the range A3:B20 for a value. This could be like an account or invoice number. Then it returns the value in the second column(given by the 2 as the last argument) as the value of VLOOKUP. This value could be the dollar amount of # of widgets on the invoice.<\/p>\n<p>If you&#8217;d like to see it in action, <a href=\"http:\/\/davidsterry.com\/vlookup.xls\">click here<\/a> to download an example spreadsheet. Enjoy your new querying powers!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re a spreadsheet junky like me, you&#8217;ve learned all kinds of things to do in a spreadsheet. From using $&#8217;s in autofills to cross-workbook cell references to pivot tables. There&#8217;s lots of fun to be had. I&#8217;ve been using Excel and OpenOffice Spreadsheet for years and was pleasantly surprised to find this function the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-default"],"_links":{"self":[{"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":0,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"wp:attachment":[{"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}