<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Excel/VBA on Amit Kohli</title><link>https://www.amitkohli.com/tags/excel/vba/</link><description>Recent content in Excel/VBA on Amit Kohli</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Amit Kohli</copyright><lastBuildDate>Mon, 16 Nov 2015 16:46:47 +0000</lastBuildDate><atom:link href="https://www.amitkohli.com/tags/excel/vba/index.xml" rel="self" type="application/rss+xml"/><item><title>10 things you didn’t know about taxi costs in Accra</title><link>https://www.amitkohli.com/10-things-you-didnt-know-about-taxi-costs-in-accra/</link><pubDate>Mon, 16 Nov 2015 16:46:47 +0000</pubDate><guid>https://www.amitkohli.com/10-things-you-didnt-know-about-taxi-costs-in-accra/</guid><description>&lt;p&gt; &lt;/p&gt;
&lt;h2 style="text-align: center;"&gt;
 "... but I paid 10 yesterday!"&lt;a href="https://i0.wp.com/amitkohli.com/wp-content/uploads/2015/11/ghana-taxi5.jpg"&gt;&lt;img class="size-medium wp-image-467 aligncenter" src="https://i0.wp.com/amitkohli.com/wp-content/uploads/2015/11/ghana-taxi5.jpg?resize=300%2C169" alt="ghana taxi5" width="300" height="169" srcset="https://i0.wp.com/amitkohli.com/wp-content/uploads/2015/11/ghana-taxi5.jpg?resize=300%2C169 300w, https://i0.wp.com/amitkohli.com/wp-content/uploads/2015/11/ghana-taxi5.jpg?w=500 500w" sizes="(max-width: 300px) 100vw, 300px" data-recalc-dims="1" /&gt;&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Having just arrived in Accra, Amit and I were trying to wrap our heads around taxi prices. We knew that we had to negotiate with the taxi driver but often the agreed-upon price kinda didn&amp;rsquo;t make sense&amp;hellip;at all.&lt;/p&gt;</description></item><item><title>Excel is how I do maps…</title><link>https://www.amitkohli.com/excel-is-how-i-do-maps/</link><pubDate>Wed, 08 Jul 2015 15:15:55 +0000</pubDate><guid>https://www.amitkohli.com/excel-is-how-i-do-maps/</guid><description>&lt;p&gt;Following the footsteps of &lt;a href="https://www.linkedin.com/pulse/excel-map-hack-john-nelson" target="_blank" rel="noreferrer"&gt;this cool post I saw&lt;/a&gt; by &lt;a href="https://www.twitter.com/JohnNelsonIDV" target="_blank" rel="nofollow"&gt;JohnNelsonIDV&lt;/a&gt;, I wanted to try to and make a map using Excel.&lt;/p&gt;
&lt;p&gt;Fast forward 2 days and the opportunity came up. Lo and behold, a Map of Reference Evapotranspiration built in Excel!&lt;/p&gt;</description></item><item><title>Excel basics</title><link>https://www.amitkohli.com/excel-basics/</link><pubDate>Mon, 16 Feb 2015 18:32:22 +0000</pubDate><guid>https://www.amitkohli.com/excel-basics/</guid><description>&lt;p&gt;Most of the things posted on this page will make reference to Visual Basic for Applications (VBA).&lt;/p&gt;

&lt;h1 class="relative group"&gt;How do you get to the Visual Basic Editor?
 &lt;div id="how-do-you-get-to-the-visual-basic-editor" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#how-do-you-get-to-the-visual-basic-editor" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h1&gt;

&lt;h2 class="relative group"&gt;Excel versions prior to 2007:
 &lt;div id="excel-versions-prior-to-2007" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#excel-versions-prior-to-2007" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Under the &lt;strong&gt;Tools&lt;/strong&gt; menu, go to &lt;strong&gt;Macros&lt;/strong&gt;, and the option should be there.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 class="relative group"&gt;Excel 2007:
 &lt;div id="excel-2007" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#excel-2007" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Available through the &lt;strong&gt;Developer&lt;/strong&gt; tab on the ribbon. If you don&amp;rsquo;t see a developer tab:&lt;/p&gt;</description></item><item><title>kml maker for Excel -&gt; Google Earth</title><link>https://www.amitkohli.com/kml-maker-for-excel-google-earth/</link><pubDate>Wed, 02 Jul 2014 12:36:43 +0000</pubDate><guid>https://www.amitkohli.com/kml-maker-for-excel-google-earth/</guid><description>&lt;p&gt;I made a userform that quickly and easily allows you to make a kml file that&amp;rsquo;s readable by google earth based on some excel dataset that has coordinates.&lt;/p&gt;
&lt;p&gt;Features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Simple and advanced modes&lt;/li&gt;
&lt;li&gt;userform for convenience&lt;/li&gt;
&lt;li&gt;Icons change when highlighted&lt;/li&gt;
&lt;li&gt;Allows html to be passed to popup contents, everything is customizable&lt;/li&gt;
&lt;li&gt;Issue a default icon, and change icons for specific points&lt;/li&gt;
&lt;li&gt;Change colours and opacity for points via easy dropdowns&lt;/li&gt;
&lt;li&gt;Pass data from excel columns to the popup for each point&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;ve taken the liberty to make an excel file with the form, and some examples and showcasing the features so you know how to do it. Check it out and please provide comments!&lt;/p&gt;</description></item><item><title>Change lists into tables and tables into lists</title><link>https://www.amitkohli.com/change-lists-into-tables-and-tables-into-lists/</link><pubDate>Fri, 29 Mar 2013 15:04:29 +0000</pubDate><guid>https://www.amitkohli.com/change-lists-into-tables-and-tables-into-lists/</guid><description>&lt;p&gt;Designed a userform that converts dimension formats, i.e. information from tabular format to list (or flat) format, and viceversa. Some options include preserving formatting or not, as well as including blank cells or not.&lt;/p&gt;</description></item><item><title>Search or filter through controls in a userform</title><link>https://www.amitkohli.com/search-or-filter-through-controls-in-a-userform/</link><pubDate>Sat, 09 Feb 2013 18:30:30 +0000</pubDate><guid>https://www.amitkohli.com/search-or-filter-through-controls-in-a-userform/</guid><description>&lt;p&gt;This bit might be useful if you have a lot of controls on a form, and need a quick way to highlight them. This post supports the video:&lt;/p&gt;
&lt;p&gt;I uploaded a video tutorial, you can see it here (please view in fullscreen mode, or watch the video in youtube by clicking on the youtube logo):[http://www.youtube.com/watch?v=5RtV9msZ2RE].&lt;/p&gt;</description></item><item><title>Compare lists and identify matches macro</title><link>https://www.amitkohli.com/compare-lists-and-identify-matches-macro/</link><pubDate>Thu, 07 Feb 2013 16:24:52 +0000</pubDate><guid>https://www.amitkohli.com/compare-lists-and-identify-matches-macro/</guid><description>&lt;p&gt;This macro provides an alternative to vlookup (which looks at two lists and provides data from one list to the second) that retains similar functionality while providing certain benefits. It accomplishes this by physically moving one list to the other. It&amp;rsquo;s impossible to get a false positive, and it doesn&amp;rsquo;t provide that annoying /#N/A that messes up calculations.&lt;/p&gt;</description></item><item><title>Macro userform – a good visual way to organise macros</title><link>https://www.amitkohli.com/macro-userform-a-good-visual-way-to-organise-macros/</link><pubDate>Thu, 07 Feb 2013 16:22:10 +0000</pubDate><guid>https://www.amitkohli.com/macro-userform-a-good-visual-way-to-organise-macros/</guid><description>&lt;p&gt;At a certain point it can become challenging to quickly find and run the macro we need. Below are some options to organize our macros. I will focus on using a &lt;strong&gt;pop-up form&lt;/strong&gt; because it&amp;rsquo;s the method I prefer, but at the bottom of the article, you can see other options.&lt;/p&gt;</description></item></channel></rss>