<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9127127</id><updated>2011-12-14T22:04:34.579-05:00</updated><title type='text'>Tech Notes Exchange</title><subtitle type='html'>Everyday we come accross some problem for which we try, research for hours and once solved, looks so easy.I like to keep a note of it and share with others, so people can use them.These notes are not necessarily my own writing but are the one which I came accross during my research over the net to find out solutions.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sameerlalcanada.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>57</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9127127.post-2427559101333971328</id><published>2011-11-21T19:24:00.002-05:00</published><updated>2011-11-21T19:26:15.517-05:00</updated><title type='text'>DATEDIF function</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://lh3.googleusercontent.com/-QhL7W3mYad0/TsrrcqgLdHI/AAAAAAAAJRY/HhzPkDNawkk/s434/datedif.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 363px; height: 434px;" src="https://lh3.googleusercontent.com/-QhL7W3mYad0/TsrrcqgLdHI/AAAAAAAAJRY/HhzPkDNawkk/s434/datedif.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The DATEDIF function can be used to calculate the number of days/moths/years between two dates in versions of Excel from 97 to 2007.&lt;br /&gt;&lt;br /&gt;=DATEDIF(B9,C9,"m")/12&lt;br /&gt;&lt;br /&gt;=DATEDIF(B9,TODAY(),"d")&lt;br /&gt;&lt;br /&gt;=DATEDIF(B9,C9,"m")&lt;br /&gt;&lt;br /&gt;It is interesting to note that DATEDIF  is not listed with other functions under the formula tab in Excel 2007.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-2427559101333971328?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/2427559101333971328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/2427559101333971328'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2011/11/datedif-function.html' title='DATEDIF function'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh3.googleusercontent.com/-QhL7W3mYad0/TsrrcqgLdHI/AAAAAAAAJRY/HhzPkDNawkk/s72-c/datedif.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-7356646434675622310</id><published>2009-05-28T13:43:00.001-04:00</published><updated>2009-05-28T13:46:09.433-04:00</updated><title type='text'>Folder and File Option : Missing Security Tab: Windows XP</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Problem: Right clicking on folder or file not showing security tab:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Go to Explorer -&gt; tools -&gt; folder options -&gt; View-&gt; &lt;br /&gt;&lt;br /&gt;navigate to the last check box in the list “USE SIMPLE FILE SHARING” . &lt;br /&gt;&lt;br /&gt;Uncheck this checkbox and click OK. &lt;br /&gt;&lt;br /&gt;Now you will be able to see the security tab in file properties.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-7356646434675622310?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/7356646434675622310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/7356646434675622310'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2009/05/folder-and-file-option-windows-xp.html' title='Folder and File Option : Missing Security Tab: Windows XP'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-117647986622263417</id><published>2007-04-13T11:57:00.000-04:00</published><updated>2007-04-13T12:02:04.243-04:00</updated><title type='text'>Allow only numeric value in a textbox on a form</title><content type='html'>Remove //** From the html codes:&lt;br /&gt;&lt;br /&gt;This is the function in the header tag   &lt;br /&gt;&lt;br /&gt;    function AllowNumeric(e) { &lt;br /&gt;    var iKeyCode = 0; &lt;br /&gt;    if (window.event) &lt;br /&gt;      iKeyCode = window.event.keyCode &lt;br /&gt;     else if (e) &lt;br /&gt;      iKeyCode = e.which; &lt;br /&gt;    if (iKeyCode &gt; 47 &amp;&amp; iKeyCode &lt; 58) &lt;br /&gt;      return true &lt;br /&gt;     else &lt;br /&gt;      return false; &lt;br /&gt;&lt;br /&gt;Here is the HTML for the textbox&lt;br /&gt;&lt;br /&gt;//////(&lt;)//**&lt;br /&gt;INPUT onkeypress="javascript: return AllowNumeric(event);" id="txtAcctNo" style="WIDTH: 120px; HEIGHT: 20px"&lt;br /&gt;       type="text" maxLength="8" runat="server" size="14"&lt;br /&gt;//**&gt;///////&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-117647986622263417?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/117647986622263417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/117647986622263417'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2007/04/allow-only-numeric-value-in-textbox-on.html' title='Allow only numeric value in a textbox on a form'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-115574812136121220</id><published>2006-08-16T13:01:00.000-04:00</published><updated>2007-01-18T12:47:41.526-05:00</updated><title type='text'>The VLOOKUP Function:Very useful and very simple</title><content type='html'>&lt;HEAD&gt;&lt;br /&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE="JavaScript"&gt;&lt;br /&gt;function person_in() {&lt;br /&gt;   enter=new Date();&lt;br /&gt;}&lt;br /&gt;function person_out() {&lt;br /&gt;   exit=new Date();&lt;br /&gt;   time_dif=(exit.getTime()-enter.getTime())/1000;&lt;br /&gt;   time_dif=Math.round(time_dif);&lt;br /&gt;   alert ("You've only been here for: " + time_dif + " seconds!!")&lt;br /&gt;}&lt;br /&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;/HEAD&gt;&lt;br /&gt;&lt;BODY bgcolor=ffffff onLoad='person_in()' onUnLoad='person_out()'&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The most useful and least used in common practice due to lack of knowledge is the VLOOKUP function of MS Excel.&lt;br /&gt;Here I am presenting with the help of one example the common use of VLOOKUP function.&lt;br /&gt;Let us first see the function:&lt;br /&gt;With the VLOOKUP function, ypu can look for specified data in the first column of a table. The result is returned from the column number specified, if found.The formula for VLOOKUP is:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;=vlookup(lookup_value,table_array,col_index_num,range_lookup)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/6147/651/1600/ExcelBlogVlookup.jpg"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/6147/651/320/ExcelBlogVlookup.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Let us look at the example, I want to see if value in column A3 to A6 of table A exist in Table B.If yes, I want formula to return me column E's value.&lt;br /&gt;The formula is:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;=+VLOOKUP(A3,$E$3:$F$6,1,FALSE)&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Now, here I am looking for A3(lookup_value) of table A in E3 to F6(table_array), remember: it will look into left most column,so in E3 to E6,and return me value from column 1(col_index_num) which is E3 to E6.Then comes the range_lookup which is False.The Reason for it being False is,the use of False as the optional range_lookup Argument. This directs to the VLOOKUP to find an exact match and is most often needed when looking for a text match. If this is omitted, or True, you will often get unwanted results when searching for text that is in an unsorted column of data. When True is used, or the range_lookup Argument is ignored, the data should be sorted (by the first column) in ascending order.&lt;br /&gt;&lt;br /&gt;See the results in column A8 to A11.&lt;br /&gt;&lt;br /&gt;Now, if I want to return the value from column F of Table B, all I have to do is to change column index to 2.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;=+VLOOKUP(A3,$E$3:$F$6,&lt;span style="color:#ff0000;"&gt;2&lt;/span&gt;,FALSE)&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;See the results in column D8 to D11.&lt;br /&gt;&lt;br /&gt;Whenever, match is not found, the formula will retorn an error i.e. #N/A.To avoid this, i write another formula:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;=IF(ISERROR(+VLOOKUP(A3,$E$3:$F$6,1,FALSE))=TRUE,0,(+VLOOKUP(A3,$E$3:$F$6,1,FALSE)))&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Meaning that if vlookup returns error i.e. #N/A, then return 0 else return vlookup value.&lt;br /&gt;That is all to it.Hope you find it useful.&lt;br /&gt;&lt;/BODY&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-115574812136121220?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/115574812136121220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/115574812136121220'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2006/08/vlookup-functionvery-useful-and-very.html' title='The VLOOKUP Function:Very useful and very simple'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-113051365128095772</id><published>2005-10-28T11:28:00.000-04:00</published><updated>2005-10-28T11:34:11.283-04:00</updated><title type='text'>Export Custom Outlook Form Data to MS Access</title><content type='html'>Dim appAccess&lt;br /&gt;Dim nms&lt;br /&gt;Dim strFolder&lt;br /&gt;Dim fld&lt;br /&gt;Dim strAccessPath&lt;br /&gt;Dim rst&lt;br /&gt;Dim dbe&lt;br /&gt;Dim wks&lt;br /&gt;Dim dbs&lt;br /&gt;Dim itms&lt;br /&gt;Dim itm&lt;br /&gt;&lt;br /&gt;Sub CommandButton1_Click()&lt;br /&gt;&lt;br /&gt;    Set nms = Application.GetNamespace("MAPI")  &lt;br /&gt; strFolder = "fbtest folder"       &lt;br /&gt;Set fld = nms.Folders("Personal Folders").Folders(strFolder)&lt;br /&gt;&lt;br /&gt;'Pick up path to Access database directory from Access SysCmd function           &lt;br /&gt;Set appAccess = CreateObject("Access.Application")   &lt;br /&gt;strAccessPath = appAccess.SysCmd(9)   &lt;br /&gt;&lt;br /&gt;'Get DAO version from DBEngine   &lt;br /&gt;strDBEngine = appAccess.Application.DBEngine.Version   &lt;br /&gt;&lt;br /&gt;'MsgBox "DBEngine version: " &amp; strDBEngine   &lt;br /&gt;&lt;br /&gt;appAccess.Quit&lt;br /&gt;&lt;br /&gt;If strDBEngine = "3.51" Then        &lt;br /&gt;'Office 97 DAO version        &lt;br /&gt;Set dbe = CreateObject("DAO.DBEngine.35")        &lt;br /&gt;strDBName = strAccessPath &amp; "fbtestdb.mdb"    &lt;br /&gt;ElseIf strDBEngine = "3.6" Then        &lt;br /&gt;'Office 2000 DAO version        &lt;br /&gt;Set dbe = CreateObject("DAO.DBEngine.36")        &lt;br /&gt;strDBName = strAccessPath &amp; "fbtestdb.mdb"   &lt;br /&gt;&lt;br /&gt;Else       &lt;br /&gt;&lt;br /&gt;MsgBox "Unknown Office version; canceling"       &lt;br /&gt;&lt;br /&gt;Exit Sub   &lt;br /&gt;&lt;br /&gt;End If      &lt;br /&gt; 'MsgBox "DBName: " &amp; strDBName   &lt;br /&gt;Set wks = dbe.Workspaces(0)   &lt;br /&gt;Set dbs = wks.OpenDatabase("S:\sameer\fbtestdb.mdb")      &lt;br /&gt;&lt;br /&gt; 'Open Access table containing contact data   &lt;br /&gt;Set rst = dbs.OpenRecordset("fbtesttable")&lt;br /&gt;    'Set up reference to Outlook folder of items to export   &lt;br /&gt;&lt;br /&gt;Set itms = fld.Items   &lt;br /&gt;ItemCount = itms.Count   &lt;br /&gt;If ItemCount = 0 Then       &lt;br /&gt;MsgBox "No FB requests to export"       &lt;br /&gt;&lt;br /&gt;Exit Sub   &lt;br /&gt;Else       &lt;br /&gt;&lt;br /&gt;MsgBox ItemCount &amp; " FB requests to export"   &lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;    'Set up reference to Outlook folder of items to export   &lt;br /&gt;Set itms = fld.Items   &lt;br /&gt;ItemCount = itms.Count   &lt;br /&gt;&lt;br /&gt;If ItemCount = 0 Then&lt;br /&gt;      &lt;br /&gt;MsgBox "No Fund Builder requests to export"       &lt;br /&gt;&lt;br /&gt;Exit Sub   &lt;br /&gt;Else       &lt;br /&gt;&lt;br /&gt;MsgBox ItemCount &amp; " FB requests to export"   &lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;    For Each itm In itms      &lt;br /&gt;&lt;br /&gt; rst.AddNew      &lt;br /&gt;&lt;br /&gt; 'Custom Outlook properties&lt;br /&gt;rst.Request=itm.userproperties("001 Request")&lt;br /&gt;rst.AccountNumber=itm.userproperties("002 Account Number")    rst.ClientName=itm.userproperties("002 Client Name")&lt;br /&gt;       &lt;br /&gt;rst.Update   &lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;   &lt;br /&gt;rst.Close   &lt;br /&gt;&lt;br /&gt;MsgBox "All FB requests exported!" &lt;br /&gt;&lt;br /&gt;End Sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-113051365128095772?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/113051365128095772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/113051365128095772'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/10/export-custom-outlook-form-data-to-ms.html' title='Export Custom Outlook Form Data to MS Access'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-113051262318916030</id><published>2005-10-28T11:16:00.000-04:00</published><updated>2005-10-28T11:22:33.946-04:00</updated><title type='text'>Export Data From Outlook Custom Form to Excel</title><content type='html'>Sub CommandButton1_Click()&lt;br /&gt;ExportToExcel()&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Sub ExportToExcel()&lt;br /&gt;&lt;br /&gt;Dim appExcel&lt;br /&gt;Dim olMAPI&lt;br /&gt;Dim strTemplatePath&lt;br /&gt;Dim strSheet&lt;br /&gt;Dim Ifld&lt;br /&gt;Dim MItem&lt;br /&gt;&lt;br /&gt;Set olMAPI = GetObject("", "Outlook.Application").GetNameSpace("MAPI")&lt;br /&gt;Set Ifld = olMAPI.Folders("Personal Folders").Folders("SamTest")&lt;br /&gt;&lt;br /&gt;i=1&lt;br /&gt;&lt;br /&gt;'Pick up Template path from the word options dialog&lt;br /&gt;strTemplatePath="H:\"&lt;br /&gt;&lt;br /&gt;'Debug.Print "Document folder: " &amp; strTemplatePath&lt;br /&gt;&lt;br /&gt;strSheet="SameerTest.xls"&lt;br /&gt;strSheet=strTemplatePath &amp;amp; strSheet&lt;br /&gt;&lt;br /&gt;'Set appExcel= New Excel.Application&lt;br /&gt;Set appExcel=GetObject("", "Excel.Application")&lt;br /&gt;&lt;br /&gt;appExcel.Workbooks.Open (strSheet)&lt;br /&gt;Set wkb = appExcel.ActiveWorkBook&lt;br /&gt;Set wks =wkb.Sheets(1)&lt;br /&gt;wks.Activate&lt;br /&gt;wks.Cells(1, 1)="Subject"&lt;br /&gt;wks.Cells(1,2)="ClientName"&lt;br /&gt;wks.Cells(1,3)="ClientAddress"&lt;br /&gt;wks.Cells(1,4)="ClientAge"&lt;br /&gt;&lt;br /&gt;appExcel.Application.Visible=TrueFor Each MItem In Ifld.Items&lt;br /&gt;&lt;br /&gt;If Left(MItem.Subject, 12) = "Client Form" Then&lt;br /&gt;i = i + 1&lt;br /&gt;&lt;br /&gt;If MItem.Subject&lt;&gt;"" Then&lt;br /&gt;wks.Cells(i,1).Value = MItem.Subject&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;If MItem.UserProperties("010 ClientName").Value&lt;&gt;"" Then&lt;br /&gt;wks.Cells(i,2).Value = MItem.UserProperties("010 ClientName").Value&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;If MItem.UserProperties("020 ClientFirstName").Value&lt;&gt;"" Then&lt;br /&gt;wks.Cells(i,3).Value = MItem.UserProperties("020 ClientAddress").Value&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;If MItem.UserProperties("030 ClientInitial").Value&lt;&gt;"" Then&lt;br /&gt;wks.Cells(i,4).Value = MItem.UserProperties("030 ClientAge").Value&lt;br /&gt;End If End If&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;Set MItem = Nothing&lt;br /&gt;Set Ifld = Nothing&lt;br /&gt;Set strTemplatePath = Nothing&lt;br /&gt;Set strSheet = Nothing&lt;br /&gt;Set olMAPI = Nothing&lt;br /&gt;Set appExcel = Nothing&lt;br /&gt;&lt;br /&gt;End Sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-113051262318916030?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/113051262318916030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/113051262318916030'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/10/export-data-from-outlook-custom-form.html' title='Export Data From Outlook Custom Form to Excel'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-112610069751817788</id><published>2005-09-07T09:42:00.000-04:00</published><updated>2005-09-07T09:44:57.523-04:00</updated><title type='text'>Counting Commas or Special characters in a cell</title><content type='html'>&lt;span style="font-size:85%;"&gt;Suppose, your names seperated by "," is in cell A4.&lt;br /&gt;&lt;br /&gt;Here is the formula to calculate number of commas in the cell A4:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#3366ff;"&gt;=LEN(A4)-LEN(SUBSTITUTE(A4,",",""))&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The first part: LEN(A4) calculates length of string with commas. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;The Second part: LEN(SUBSTITUTE(A4,",","")) calculates length of string without commas.&lt;br /&gt;&lt;br /&gt;The differnece of the two i.e. first part-second part will give you number of commas in your string.&lt;br /&gt;&lt;br /&gt;This formula can come out handy in many calculations.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-112610069751817788?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/112610069751817788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/112610069751817788'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/09/counting-commas-or-special-characters.html' title='Counting Commas or Special characters in a cell'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-112472196089650826</id><published>2005-08-22T10:44:00.000-04:00</published><updated>2005-08-22T10:46:00.906-04:00</updated><title type='text'>VB 6.0-Some Formatting Expression</title><content type='html'>I find it very handy:&lt;br /&gt;&lt;br /&gt;Formatting numbers with named formats Expression Result &lt;br /&gt;Format(35988.3708, "general number") 35988.3708 &lt;br /&gt;Format(35988.3708, "currency") $35,988.37 &lt;br /&gt;Format(-35988.3708, "currency") ($35,988.37) &lt;br /&gt;Format(35988.3708, "fixed") 35988.37 &lt;br /&gt;Format(1, "fixed") 1.00 &lt;br /&gt;Format(35988.3708, "standard") 35,988.37 &lt;br /&gt;Format(1, "standard") 1.00 &lt;br /&gt;Format(0.35988, "percent") 35.99% &lt;br /&gt;Format(0, "Yes/No") No &lt;br /&gt;Format(0.35988, "Yes/No") Yes &lt;br /&gt;Format(0, "True/False") False &lt;br /&gt;Format(342, "True/False") True &lt;br /&gt;Format(0, "On/Off") Off &lt;br /&gt;Format(-1, "On/Off") On &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Formatting numbers with special characters Expression Result &lt;br /&gt;Format(35988.3708, "00000.0") 35988.4 &lt;br /&gt;Format(35988.3708, "0000000.0") 0035988.4 &lt;br /&gt;Format(35988.3708, "00,000.00000") 35,988.37080) &lt;br /&gt;Format(6.07, "0.###") 6.07 &lt;br /&gt;Format(6.07, "0.000##") 6.070 &lt;br /&gt;Format(143879, "#,###,###.00") 143,879.00 &lt;br /&gt;&lt;br /&gt;Formatting numbers with embedded characters Expression Result &lt;br /&gt;Format(45, "\[00\]") [45] &lt;br /&gt;Format(642, "\£000.00") £642.00 &lt;br /&gt;Format(99, "00\¢") 99¢ &lt;br /&gt;Format(8, "#0\).") 8). &lt;br /&gt;&lt;br /&gt;Formatting dates and time&lt;br /&gt;&lt;br /&gt;Format(36715.5784, "general date") 7/8/00 1:52:54 PM &lt;br /&gt;Format(36715.5784, "short date") 7/8/00 &lt;br /&gt;Format(36715.5784, "medium date") 08-Jul-00 &lt;br /&gt;Format(36715.5784, "long date") Saturday, July 08, 2000 &lt;br /&gt;Format(36715.5784, "short time") 13:52 &lt;br /&gt;Format(36715.5784, "medium time") 01:52 PM &lt;br /&gt;Format(36715.5784, "long time") 1:52:54 PM &lt;br /&gt;Format(36715.5784, "c") 7/8/00 1:52:54 PM &lt;br /&gt;Format(36715.5784, "d") 8 &lt;br /&gt;Format(36715.5784, "dd") 08 &lt;br /&gt;Format(36715.5784, "ddd") Sat &lt;br /&gt;Format(36715.5784, "dddd") Saturday &lt;br /&gt;Format(36715.5784, "ddddd") 7/8/00 &lt;br /&gt;Format(36715.5784, "dddddd") Saturday, July 08, 2000 &lt;br /&gt;Format(36715.5784, "w") 7 &lt;br /&gt;Format(36715.5784, "ww") 28 &lt;br /&gt;Format(36715.5784, "m") 7 &lt;br /&gt;Format(36715.5784, "mm") 07 &lt;br /&gt;Format(36715.5784, "mmm") Jul &lt;br /&gt;Format(36715.5784, "mmmm") July &lt;br /&gt;Format(36715.5784, "q") 3 &lt;br /&gt;Format(36715.5784, "y") 190 &lt;br /&gt;Format(36715.5784, "yy") 00 &lt;br /&gt;Format(36715.5784, "yyyy") 2000 &lt;br /&gt;Format(36715.5784, "h") 13 &lt;br /&gt;Format(36715.5784, "hh") 13 &lt;br /&gt;Format(36715.5784, "n") 52 &lt;br /&gt;Format(36715.5784, "nn") 52 &lt;br /&gt;Format(36715.5784, "s") 54 &lt;br /&gt;Format(36715.5784, "ss") 54 &lt;br /&gt;Format(36715.5784, "ttttt") 1:52:54 PM &lt;br /&gt;Format(36715.5784, "AM/PM") PM &lt;br /&gt;Format(36715.5784, "am/pm") pm &lt;br /&gt;Format(36715.5784, "A/P") P &lt;br /&gt;Format(36715.5784, "a/p") p &lt;br /&gt;Format(36715.5784, "AMPM") PM &lt;br /&gt;&lt;br /&gt;Format "w" returns day of week (1 = Sunday, 7 = Saturday) &lt;br /&gt;Format "ww" returns week of year (1-53) &lt;br /&gt;Format "y" returns day of year (1-366) &lt;br /&gt;Format "h" returns hour of day as one or two digits...if necessary &lt;br /&gt;Format "hh" returns hour of day as two digits...definitely &lt;br /&gt;Above applies to "n"/"nn", and "s"/"ss" as well &lt;br /&gt;Format "AMPM" uses settings from WIN.INI [intl] s1159=AM, s2359=PM &lt;br /&gt;Try mixing and matching the format strings Expression Result &lt;br /&gt;Format(36715.5784, "m-d-yy") 7-8-00 &lt;br /&gt;Format(36715.5784, "d-mmmm-y") 8-July-00 &lt;br /&gt;Format(36715.5784, "mmmm yyyy") July 2000 &lt;br /&gt;Format(36715.5784, "hh:mm a/p") 01:52 p &lt;br /&gt;Format(36715.5784, "m/d/yy h:mm") 7/8/00 13:52 &lt;br /&gt;&lt;br /&gt;FormatDateTime&lt;br /&gt;This new function works about the same as the regular Format function, but you're only allowed to &lt;br /&gt;use one of 5 constants - &lt;br /&gt;vbGeneralDate, vbLongDate, vbShortDate, vbLongTime, vbShortTime.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-112472196089650826?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/112472196089650826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/112472196089650826'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/08/vb-60-some-formatting-expression.html' title='VB 6.0-Some Formatting Expression'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-111374357723468262</id><published>2005-04-17T09:10:00.000-04:00</published><updated>2005-04-17T09:12:57.236-04:00</updated><title type='text'>MS Excel: Working in multi-sheet environment</title><content type='html'>When we are referencing one sheet data to another sheet in a formula or otherwise comparing multi sheets in a work book, it becomes tedious to move from sheet to sheet back and forth. Think of a situation where you have to refer data from three or four sheet.&lt;br /&gt;&lt;br /&gt;Wouldn't it be nice, if you can have all those three sheets of workbook open side by side?&lt;br /&gt;Did you know that there is an easy way to do this and I always find it very handy while working on a multi-sheet workbook?&lt;br /&gt;&lt;br /&gt;Open your workbook, sheet1.&lt;br /&gt;&lt;br /&gt;Go to Window tab,&lt;br /&gt;Click on New Window,&lt;br /&gt;Select sheet 2 on this newly opened workbook where you will see on the top with the name: 2.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/picblog/multisheet/wmsheet1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Again repeat the same steps and open sheet 3. Here with the name, you will see: 3.&lt;br /&gt;&lt;br /&gt;Now, that you have the same workbook opened thrice with different sheets,&lt;br /&gt;&lt;br /&gt;Go to window,&lt;br /&gt;Click arrange,&lt;br /&gt;Select Vertical&lt;br /&gt;&lt;br /&gt;and here you go, three sheet of same workbook opened side by side, toggle around and enjoy working on multi-sheet workbook.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/picblog/multisheet/wmsheet2.jpg" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-111374357723468262?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111374357723468262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111374357723468262'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/04/ms-excel-working-in-multi-sheet.html' title='MS Excel: Working in multi-sheet environment'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-111229157618128886</id><published>2005-03-31T04:46:00.000-05:00</published><updated>2005-03-31T12:52:56.183-05:00</updated><title type='text'>MS Excel: Close all Open Workbooks</title><content type='html'>At times, when you have many workbook open on your desktop and wish to close all of them together,there is an easy way in MS Excel to do this. I could never understand the reason why this option is not on main menu and is kept hidden.&lt;br /&gt;Follow this:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Press Shift key on the keyboard while clicking File on the menu;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;And now you will see the option: Close All&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Click on it and all the workbooks are closed&lt;/span&gt; unless, in some workbook(s), you have made changes and not saved them.Excel will prompt you to save changes and close the workbooks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-111229157618128886?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111229157618128886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111229157618128886'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/03/ms-excel-close-all-open-workbooks_31.html' title='MS Excel: Close all Open Workbooks'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-111223584695364619</id><published>2005-03-30T21:22:00.000-05:00</published><updated>2005-03-30T22:24:10.326-05:00</updated><title type='text'>MS Excel: Not only sort data in a column but also in the rows</title><content type='html'>Click a cell of the row you want to sort horizontally.&lt;br /&gt;&lt;br /&gt;Select Sort from the Data menu.&lt;br /&gt;&lt;br /&gt;In the Sort dialog box, click on the Options.&lt;br /&gt;&lt;br /&gt;In the Sort Options dialog box, click on Sort Left to Right, then click OK.&lt;br /&gt;&lt;br /&gt;Back in the Sort dialog box, go to the Sort By combo box and select a row to sort, and also select the direction (ascending or descending).&lt;br /&gt;&lt;br /&gt;You can select additional rows by going to the boxes.&lt;br /&gt;&lt;br /&gt;Click OK.&lt;br /&gt;Yu Hooo!!! Excel sorts the row horizontally.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-111223584695364619?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111223584695364619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111223584695364619'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/03/ms-excel-not-only-sort-data-in-column.html' title='MS Excel: Not only sort data in a column but also in the rows'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-111212860470068183</id><published>2005-03-29T15:34:00.000-05:00</published><updated>2005-04-17T09:09:49.486-04:00</updated><title type='text'>MS Excel: Get Summary Calculations on the Fly</title><content type='html'>As a busy executive, you are presented with lots of data in MS Excel format. Though you know the formulas to calculate and find results, but it is just a waste of time to write formula to see what the sum of particular range is or which is the highest value or lowest value or may be the average.&lt;br /&gt;While looking at the spreadsheet, you can do the following to improve your analysis capabilities or effectively respond to one off questions which keeps coming up during meetings:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. From the menu option, select View, and check the status bar.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/picblog/analyzeonfly/statuspic1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. This action will start showing you status bar at the bottom of spreadsheet.&lt;br /&gt;&lt;br /&gt;3. Select the range of data you wish to analyze, and you will see on the status bar, Sum= 100 or whatever is the sum of the range selected (By default, excel is set to show Sum).&lt;br /&gt;&lt;br /&gt;4. Right click on status bar, and you will see options like Average, Count, Count Nums, Max, Min and Sum. Select any one and see the result on status bar.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/picblog/analyzeonfly/statuspic2.jpg" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-111212860470068183?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111212860470068183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111212860470068183'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/03/ms-excel-get-summary-calculations-on.html' title='MS Excel: Get Summary Calculations on the Fly'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-111202762791467258</id><published>2005-03-28T11:29:00.001-05:00</published><updated>2005-03-29T15:34:16.713-05:00</updated><title type='text'>MS Excel: Sum of a column with #DIV/0! Or any other error message in some cells</title><content type='html'>&lt;p&gt;My friend recently requested me to suggest some quick fix for sum of a column which has few cells containing #DIV/0! Or any other error message. Doing the sum function produces error because sum neither ignores those cells nor understands it.&lt;br /&gt;&lt;br /&gt;My process to deal with this problem is:&lt;br /&gt;&lt;br /&gt;1.Insert a column next to the column you are trying to sum up.&lt;br /&gt;2.In my example, the first cell is A3, I inserted column B.&lt;br /&gt;3.In Cell B3, I wrote the formula “=IF (ISERROR (A3), 0,A3)”&lt;br /&gt;4.This formula looks for the cell value and if it is an error, converts it to 0.&lt;br /&gt;5.Then I copied this formula in B4 to B6 since my values were in up to cell B6, you could copy it till last cell value.&lt;br /&gt;6.Select Cells B3 to B6, copy and paste special-values only.&lt;br /&gt;7.Now you can sum this column and you are done.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;Formulas:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/picblog/sumerror/exerror1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Values:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/picblog/sumerror/exerror1.jpg" /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-111202762791467258?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111202762791467258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111202762791467258'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/03/ms-excel-sum-of-column-with-div0-or_28.html' title='MS Excel: Sum of a column with #DIV/0! Or any other error message in some cells'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-111185547600868922</id><published>2005-03-26T11:38:00.000-05:00</published><updated>2005-03-26T11:47:49.700-05:00</updated><title type='text'>MS Excel and VBA: Transposing Data</title><content type='html'>&lt;span style="color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;This tip is submitted by Anupam Srivastava:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#003300;"&gt;&lt;em&gt;&lt;strong&gt;Transposing Data from Column to Row with a feature to start a New Row for each New Record which is identified by an empty Row:&lt;br /&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;The original dataset was stored in the same column followed by an empty row before each new group entry. The task was to bring each dataset into row format to make data analysis job easier. This is particularly useful for comparing information.&lt;br /&gt;This Macro scans through the column, copies each item and paste it into different columns in the same row and begins a new row for each empty row it finds. The datasets are differentiated by empty row before new dataset begins.&lt;br /&gt;To maintain consistency with the generated table, it is wise to make sure that each new dataset has the same number of data entities (items).&lt;br /&gt;&lt;br /&gt;For users with knowledge of DB, if we consider each group to be an attribute with x number of entities, then each new attribute that you add to the original data should consist x entities to make sure that the final table gets populated in a uniform fashion.&lt;br /&gt;&lt;br /&gt;For this Macro it is assumed that each dataset consists of 7 entities&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Sub DataTranspose()&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;‘ Declare variable to denote column and row assignment&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;' Row Variable&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Dim i As Integer &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;span style="color:#009900;"&gt;' Column Variable&lt;/span&gt;&lt;br /&gt;Dim j As Integer&lt;br /&gt;i = 2&lt;br /&gt;j = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;' Sheet has 218 rows of data&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For i = 1 To 218&lt;br /&gt;Range("A" &amp; i).Select&lt;br /&gt;Selection.Copy&lt;br /&gt;Range("a" &amp;amp; j).Select&lt;br /&gt;ActiveSheet.Paste&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;' Increment Row Counter to read next row&lt;/span&gt;&lt;br /&gt;i = i + 1&lt;br /&gt;Range("A" &amp; i).Select&lt;br /&gt;Selection.Copy&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;' Transposing Row Entry to Column&lt;/span&gt;&lt;br /&gt;Range("B" &amp;amp; j).Select&lt;br /&gt;ActiveSheet.Paste&lt;br /&gt;i = i + 1&lt;br /&gt;Range("A" &amp; i).Select&lt;br /&gt;Selection.Copy&lt;br /&gt;Range("C" &amp;amp; j).Select&lt;br /&gt;ActiveSheet.Paste&lt;br /&gt;i = i + 1&lt;br /&gt;Range("A" &amp; i).Select&lt;br /&gt;Selection.Copy&lt;br /&gt;Range("D" &amp;amp; j).Select&lt;br /&gt;ActiveSheet.Paste&lt;br /&gt;i = i + 1&lt;br /&gt;Range("A" &amp; i).Select&lt;br /&gt;Selection.Copy&lt;br /&gt;Range("E" &amp;amp; j).Select&lt;br /&gt;ActiveSheet.Paste&lt;br /&gt;i = i + 1&lt;br /&gt;Range("A" &amp; i).Select&lt;br /&gt;Selection.Copy&lt;br /&gt;Range("F" &amp;amp; j).Select&lt;br /&gt;ActiveSheet.Paste&lt;br /&gt;i = i + 1&lt;br /&gt;Range("A" &amp; i).Select&lt;br /&gt;Selection.Copy&lt;br /&gt;Range("G" &amp;amp; j).Select&lt;br /&gt;ActiveSheet.Paste&lt;br /&gt;i = i + 1&lt;br /&gt;Range("A" &amp; i).Select&lt;br /&gt;Selection.Copy&lt;br /&gt;Range("H" &amp;amp; j).Select&lt;br /&gt;ActiveSheet.Paste&lt;br /&gt;i = i + 1&lt;br /&gt;Range("A" &amp; i).Select&lt;br /&gt;Selection.Copy&lt;br /&gt;Range("I" &amp;amp; j).Select&lt;br /&gt;ActiveSheet.Paste&lt;br /&gt;i = i + 1&lt;br /&gt;j = j + 1&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------------&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;Anupam Srivastava is B.Sc. (Computer Engineering) from Queen’s University, Kingston, Canada.&lt;/span&gt;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-111185547600868922?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111185547600868922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111185547600868922'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/03/ms-excel-and-vba-transposing-data.html' title='MS Excel and VBA: Transposing Data'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-111176756516195386</id><published>2005-03-25T11:14:00.000-05:00</published><updated>2005-03-28T11:27:10.776-05:00</updated><title type='text'>MS Excel: Always show full menu</title><content type='html'>Turn off the frequently used menu option and always use full menu option during your learning process of MS Excel and remember, learning is a continuous process and you are always learning. So make the full menu option as a regular option for you.&lt;br /&gt;MS Excel only shows you frequently used menu under each tab and then, if you wish to use something other than shown in the menu, you have to go to that expand sign to see full menu:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/picblog/menuitem/excpic1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is frustrating, especially when you are learning. How are you suppose to know, what is hidden under that magic expand sign. I always prefer to keep full menu on.&lt;br /&gt;To do this, it is a very simple two step process:&lt;br /&gt;&lt;br /&gt;Step 1: Go to Tools, find out Customize and click:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/picblog/menuitem/excpic2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now, you will see something like this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/picblog/menuitem/excpic3.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 2: Click on Options tab and select, always show full menus, close and you are done.&lt;br /&gt;&lt;br /&gt;Now, every time you click on a menu, you will see full menu. Remember, by doing this on MS Excel, your all other MS Office programs like MS Words etc. will also show full menu items and it is not possible to avoid this. But who cares, it is always good to keep full menu in view irrespective of program you are using.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-111176756516195386?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111176756516195386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111176756516195386'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/03/ms-excel-always-show-full-menu.html' title='MS Excel: Always show full menu'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-111141275070878265</id><published>2005-03-24T08:45:00.000-05:00</published><updated>2005-03-25T11:20:49.843-05:00</updated><title type='text'>MS Excel : The Leading Zeros</title><content type='html'>MS Excel keeps removing that leading zero from your number?&lt;br /&gt;Excel automatically sees the data as a number and leading zeros have no value in numbers, so it gets rid of them.&lt;br /&gt;It is helpful when you're actually dealing with numbers, but irritating when it's a Item number or Employee number.&lt;br /&gt;There is a quick way to get Excel to leave your zeros alone. Justchange the cell format to text. There are couple of ways to make this change—&lt;br /&gt;1. Highlight the cells to change.&lt;br /&gt;Then go to the Format menu, Cells choice. (Ctrl + 1 works too.)&lt;br /&gt;On the General tab choose Text from the Categories list.&lt;br /&gt;Click OK.&lt;br /&gt;The leading zeros are there.&lt;br /&gt;2.If you only have a few cells to change you could just type an apostrophe before entering the data (ie. instead of typing 01122 in the cell type '011122).&lt;br /&gt;When you hit the Enter key the change is made instantly, for that cell only, and again your zero is there.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-111141275070878265?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111141275070878265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111141275070878265'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/03/ms-excel-leading-zeros.html' title='MS Excel : The Leading Zeros'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-111141205120106276</id><published>2005-03-21T08:32:00.000-05:00</published><updated>2005-03-21T08:34:11.203-05:00</updated><title type='text'>Outlook SaveAs Type Constants</title><content type='html'>&lt;strong&gt;Constant          Value&lt;/strong&gt;&lt;br /&gt;olTXT                 0&lt;br /&gt;olRTF                 1&lt;br /&gt;olTemplate        2&lt;br /&gt;olMSG                3&lt;br /&gt;olDoc                  4&lt;br /&gt;olHTML             5&lt;br /&gt;olVCard              6&lt;br /&gt;olVCal                 7&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-111141205120106276?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111141205120106276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/111141205120106276'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/03/outlook-saveas-type-constants.html' title='Outlook SaveAs Type Constants'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110598795627215808</id><published>2005-01-17T13:49:00.000-05:00</published><updated>2005-01-17T13:53:36.766-05:00</updated><title type='text'>SQL db to MS Access-How to</title><content type='html'>&lt;span style="font-size:85%;color:#3333ff;"&gt;Go To SQL Enterprise Manager&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&gt;&gt;&gt; Select Server&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&gt;&gt;&gt;Open DB&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&gt;&gt;&gt;&gt;Tools&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&gt;&gt;&gt; Export.. and it will guide you through from there.Don't remember, you probably have to disconnect as well.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Try disconnecting and then, don't forget to connect back. :)&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110598795627215808?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110598795627215808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110598795627215808'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2005/01/sql-db-to-ms-access-how-to.html' title='SQL db to MS Access-How to'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110313468084795629</id><published>2004-12-18T02:21:00.000-05:00</published><updated>2004-12-18T00:27:06.556-05:00</updated><title type='text'>MS Excel:Quickly Navigate Multi-Sheet Workbooks</title><content type='html'>&lt;span style="font-size:85%;"&gt;Right-click the the arrow buttons at the bottom left-hand side of the screen (the sheet tab navigation tool). You'll get a clickable menu of all the sheets in the workbook.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110313468084795629?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110313468084795629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110313468084795629'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excelquickly-navigate-multi-sheet.html' title='MS Excel:Quickly Navigate Multi-Sheet Workbooks'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110313446279726627</id><published>2004-12-17T02:12:00.000-05:00</published><updated>2004-12-16T23:51:45.163-05:00</updated><title type='text'>MS Excel:Search for an Asterisk, Question Mark, or Tilde</title><content type='html'>&lt;span style="font-size:85%;"&gt;Since these characters have special meanings in Excel, you will need to precede them with a tilde to be able to search for them successfully. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;So, to find an asterisk, Edit&gt;Find, and then type &lt;span style="color:#3333ff;"&gt;~*&lt;/span&gt; in the Find dialog box; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;to find a tilde, type &lt;span style="color:#3333ff;"&gt;~~&lt;/span&gt;; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;to find a question mark, type &lt;span style="color:#3333ff;"&gt;~?&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110313446279726627?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110313446279726627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110313446279726627'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excelsearch-for-asterisk-question.html' title='MS Excel:Search for an Asterisk, Question Mark, or Tilde'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110313422789198579</id><published>2004-12-16T03:08:00.000-05:00</published><updated>2004-12-16T09:39:41.280-05:00</updated><title type='text'>MS Excel:Change Text Case</title><content type='html'>&lt;span style="font-size:85%;"&gt;Excel provides three handy functions to change the case of text.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;UPPER:&lt;/span&gt; converts all text to uppercase&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;LOWER:&lt;/span&gt; converts all text to lowercase&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;PROPER:&lt;/span&gt; converts text to The First Letter Of Each Word Is Capitalized.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;If cell A1 contains the text: sameer lal, the following formula will produce Sameer Lal.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;=PROPER(A1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You may want to then select the cell or the range, Copy and then Edit&gt;Paste Special (then choose Values) to change the contents of the cells from functions into the values produced by the functions.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110313422789198579?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110313422789198579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110313422789198579'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excelchange-text-case.html' title='MS Excel:Change Text Case'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110282198576929109</id><published>2004-12-15T05:30:00.000-05:00</published><updated>2004-12-15T12:54:49.826-05:00</updated><title type='text'>MS Excel: Formula Error and What It refers To</title><content type='html'>&lt;span style="font-size:85%;"&gt;When you get an error in your formula cell, you’ll need to determine what caused the error and fix it.&lt;br /&gt;Common Formula Errors You’ll See in EXCEL&lt;br /&gt;What Appears in the Cell and What happened? :&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;#DIV/0!&lt;/span&gt;&lt;br /&gt;Appears when the formula calls for division by a cell that either contains the value 0 or, as is more often the case, is empty. Division by zero is a no-no.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;#NAME?&lt;/span&gt;&lt;br /&gt;Appears when the formula refers to a range name that doesn't exist in the worksheet. This error value appears when you type the wrong range name or fail to enclose in quotation marks some text used in the formula, causing Excel to think that the text refers to a range name.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;#NULL!&lt;/span&gt;&lt;br /&gt;Appears most often when you insert a space (where you should have used a comma) to separate cell references used as arguments for functions.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;#NUM!&lt;/span&gt;&lt;br /&gt;Appears when Excel encounters a problem with a number in the formula, such as the wrong type of argument in an Excel function or a calculation that produces a number too large or too small to be represented in the worksheet.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;#REF!&lt;/span&gt;&lt;br /&gt;Appears when Excel encounters an invalid cell reference, such as when you delete a cell referred to in a formula or paste cells over the cells referred to in a formula.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;#VALUE!&lt;/span&gt;&lt;br /&gt;Appears when you use the wrong type of argument or operator in a function, or when you call for a mathematical operation that refers to cells that contain text entries.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110282198576929109?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110282198576929109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110282198576929109'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excel-formula-error-and-what-it.html' title='MS Excel: Formula Error and What It refers To'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110282101910019795</id><published>2004-12-14T01:08:00.000-05:00</published><updated>2004-12-14T00:10:49.630-05:00</updated><title type='text'>MS Excel:Remembering Cell Names</title><content type='html'>&lt;span style="font-size:85%;"&gt;When you're doing a formula and can't remember the range names that you need, you can: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Press [F3]&lt;/span&gt; - (a list of range name appear)&lt;br /&gt;&lt;br /&gt;DOUBLE CLICK the range name that you want to include in formula.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110282101910019795?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110282101910019795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110282101910019795'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excelremembering-cell-names.html' title='MS Excel:Remembering Cell Names'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110281395563154440</id><published>2004-12-13T06:11:00.000-05:00</published><updated>2004-12-13T18:13:21.816-05:00</updated><title type='text'>MS Excel: Quick Click Movement </title><content type='html'>&lt;span style="font-size:85%;"&gt;If you Want to find out where a column ends or where the next blank cell is in the column.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Select a cell: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Double-click the bottom edge of the selected cell,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;(Take cursor to botton edge and when it becomes + sign made of four arrows)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;and you're taken to the last filled cell below the selected cell in the current column. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This trick works for rows nd column and in all four directions.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;So, for example, if you want to find the last filled cell or the next empty cell in the current row:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Select a cell: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Double-click the right edge of the cell.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110281395563154440?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110281395563154440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110281395563154440'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excel-quick-click-movement.html' title='MS Excel: Quick Click Movement '/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110281349204417821</id><published>2004-12-12T05:02:00.000-05:00</published><updated>2004-12-12T08:25:29.606-05:00</updated><title type='text'>MS Excel:Range Names Used In Formulas</title><content type='html'>&lt;span style="font-size:85%;"&gt;Named ranges let you calculate the total for all cells in a range with a formula such as &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;SUM(Value) instead of SUM(E2:E20)&lt;br /&gt;For example, enter the name Quantity for Column C and Price for column D and value in column E.(highlight the column from C2:C20 and then type the name in the Range name text area at the left of the fx symbol and &lt;span style="color:#009900;"&gt;&lt;strong&gt;hit Enter&lt;/strong&gt;&lt;/span&gt;).&lt;br /&gt;Then enter the fo&lt;span style="color:#3333ff;"&gt;rmula =Quantity*Price &lt;/span&gt;in column E cells.&lt;br /&gt;Now, as you fill in numbers in the Quantities and Price columns, Excel automatically calculates Values  in the third column.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110281349204417821?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110281349204417821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110281349204417821'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excelrange-names-used-in-formulas.html' title='MS Excel:Range Names Used In Formulas'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110260982041388113</id><published>2004-12-11T05:28:00.000-05:00</published><updated>2004-12-11T17:57:14.013-05:00</updated><title type='text'>MS Excel: Avoid error displays in formulas</title><content type='html'>&lt;span style="font-size:85%;"&gt;Sometimes a formula may return an error message &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;but you may want to avoid the messages.&lt;br /&gt;You can do so by using an IF() function to check for an error.&lt;br /&gt;The formula below displays a blank if the division results in an error. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;=IF(ISERROR(A1/B1),"",A1/B1)&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110260982041388113?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110260982041388113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110260982041388113'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excel-avoid-error-displays-in.html' title='MS Excel: Avoid error displays in formulas'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110260908460329943</id><published>2004-12-10T06:15:00.000-05:00</published><updated>2004-12-10T20:44:59.430-05:00</updated><title type='text'>MS Excel: Indirect Function</title><content type='html'>&lt;span style="font-size:85%;"&gt;Excel's INDIRECT function accepts a text string as an argument,and then evaluates the text string to arrive at a cell or range reference.Assume that cells B2,C2,D2 on our Master worksheet hold the student's name.&lt;br /&gt;The following formula utilizes the INDIRECT function to create the range reference used by the SUM function(Cell B2 to B6 carry individual marks for each subjecton different sheets named after students referred in B2 to D2): &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;=SUM(INDIRECT(B2&amp;amp;"!$B$2:$B$6")) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;&lt;br /&gt;&lt;/span&gt;Note that the ampersand operator to join the student name with the cell reference (expressed as text).Refer the example below:The cell B2 contains the text Sam,the SUM function returns the sum of the range Sam!B1:B6.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/sumindirect.jpg" /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110260908460329943?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110260908460329943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110260908460329943'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excel-indirect-function.html' title='MS Excel: Indirect Function'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110247977958590028</id><published>2004-12-09T06:27:00.000-05:00</published><updated>2004-12-09T10:46:15.800-05:00</updated><title type='text'>MS Excel: Copy formula shortcut</title><content type='html'>&lt;span style="font-size:85%;"&gt;If you have some formula in cell A3, go to cell A4 and press Ctrl+D and the formula will be copied there in cell A4.Similarly, cover cell A3 to A15, and press Ctrl+D, the formula will be copied from A4 to A15&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;.Same thing you can perform in right cell to the cell of formula by &lt;em&gt;pressing Ctrl+R, in our case, B3.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&lt;span style="color:#3366ff;"&gt;This tip is contributed by Pramod Jain&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110247977958590028?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110247977958590028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110247977958590028'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excel-copy-formula-shortcut.html' title='MS Excel: Copy formula shortcut'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110226465818717669</id><published>2004-12-08T11:34:00.000-05:00</published><updated>2004-12-08T12:56:48.570-05:00</updated><title type='text'>MS Excel:Cell Counting Techniques</title><content type='html'>&lt;p&gt;&lt;span style="font-size:85%;"&gt;Excel provides many ways to count cells in a range that meet various criteria: &lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;span style="color:#3333ff;"&gt;DCOUNT function&lt;/span&gt;. The data must be set up in a table, and a separate criterion range is required.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;span style="color:#3333ff;"&gt;COUNT function&lt;/span&gt;. Simply counts the number of cells in a range that contain a number. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;span style="color:#3333ff;"&gt;COUNTA function&lt;/span&gt;. Counts the number of non-empty cells in a range. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;span style="color:#3333ff;"&gt;COUNTBLANK&lt;/span&gt; function. Counts the number of empty cells in a range. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;span style="color:#3333ff;"&gt;COUNTIF function&lt;/span&gt;. Very flexible, but often not quite flexible enough.&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110226465818717669?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110226465818717669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110226465818717669'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excelcell-counting-techniques.html' title='MS Excel:Cell Counting Techniques'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110226389565043854</id><published>2004-12-07T05:22:00.000-05:00</published><updated>2004-12-09T11:14:46.460-05:00</updated><title type='text'>MS Excel:Calculate the day of the year and days remaining </title><content type='html'>&lt;span style="font-size:85%;"&gt;If you've ever had to figure out which of the year's 365 days a particular date falls on, or how many days remain in the year, you've probably found that Excel lacks functions to perform the calculation. But you can create formulas to do the job.&lt;br /&gt;The formula below returns the day of the year for a date in cell A1:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;=A1-DATE(YEAR(A1),1,0)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note: Excel automatically formats the cell as a date, so change the number format to another option (like General).&lt;br /&gt;To calculate the number of days remaining in the year (assuming that the date is in cell A1), use the following formula:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;=DATE(YEAR(A1),12,31)-A1&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/days.jpg" /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110226389565043854?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110226389565043854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110226389565043854'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excelcalculate-day-of-year-and-days.html' title='MS Excel:Calculate the day of the year and days remaining '/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110212266495669347</id><published>2004-12-06T06:02:00.000-05:00</published><updated>2004-12-06T10:16:09.853-05:00</updated><title type='text'>MS Excel:Count AutoFiltered Rows </title><content type='html'>&lt;span style="font-size:85%;"&gt;AutoFiltering a list hides rows that don't meet your filter criteria. After applying filtering criteria, Excel shows the record count on the status bar--but this value disappears when the sheet is calculated.&lt;br /&gt;To display a permanent count of the visible rows in an AutoFiltered list, create a formula using Excel's SUBTOTAL function. The first argument for SUBTOTAL specifies the type of operation (an argument of 2 displays a count of the visible cells in a range).The formula in cell which will display visible rows is:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;=SUBTOTAL(2,A6:A3000)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The formula counts the number of visible cells in the range (minus the header row). Apply different filtering criteria, and the formula updates to show the new count. The SUBTOTAL function only works for AutoFiltering and outlining. If you hide rows manually, it won't return the correct result.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110212266495669347?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110212266495669347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110212266495669347'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excelcount-autofiltered-rows.html' title='MS Excel:Count AutoFiltered Rows '/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110212225628443592</id><published>2004-12-05T06:02:00.000-05:00</published><updated>2004-12-05T11:02:30.713-05:00</updated><title type='text'>MS Excel:Calculating a conditional average </title><content type='html'>&lt;span style="font-size:85%;"&gt;In the real world, a simple average often isn't adequate for your needs.&lt;br /&gt;For example, an instructor might calculate student grades by averaging a series of test scores but omitting the two lowest scores. Or you might want to compute an average that ignores both the highest and lowest values.&lt;br /&gt;In cases such as these, the AVERAGE function won't do, so you must create a more complex formula. The following Excel formula computes the average of the values contained in a range named "scores," but excludes the highest and lowest values:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;=(SUM(scores)-MIN(scores)-MAX(scores))/(COUNT(scores)-2)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;Here's an example that calculates an average excluding the two lowest scores:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;=(SUM(scores)-MIN(scores)-SMALL(scores,2))/(COUNT(scores)-2)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110212225628443592?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110212225628443592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110212225628443592'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excelcalculating-conditional.html' title='MS Excel:Calculating a conditional average '/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110209642962129346</id><published>2004-12-04T03:51:00.000-05:00</published><updated>2005-03-26T07:15:15.420-05:00</updated><title type='text'>MS Excel: Word Count</title><content type='html'>&lt;span style="font-size:85%;"&gt;Here is VBA Macro to count number of words in Excel spreadsheet as MS Excel does not have built in word counter like MS Word:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Sub NumberOfWords() &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Dim NumberOfWord As Long &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Dim RangeArea As Range &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Dim Str As String &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Dim Num As Long &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;For Each RangeArea In ActiveSheet.UsedRange.Cells &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Str = Application.WorksheetFunction.Trim(RangeArea.Text) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Num = 0 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;If  Str &lt;&gt; "" Then &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Num = Len(Str) - Len(Replace(Str, " ", "")) + 1 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;End If &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;NumberOfWord = NumberOfWord + Num&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Next RangeArea &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;MsgBox NumberOfWord&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;End Sub&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110209642962129346?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110209642962129346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110209642962129346'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excel-word-count.html' title='MS Excel: Word Count'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110187028840169415</id><published>2004-12-03T09:59:00.000-05:00</published><updated>2004-12-03T12:48:09.836-05:00</updated><title type='text'>MS Excel: Delete Those Unwanted Sheets</title><content type='html'>&lt;span style="font-size:85%;"&gt;Deleting the whole sheet, Excel makes it quick and painless:&lt;br /&gt;Right-click on the sheet tab. Select Delete from the shortcut menu.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110187028840169415?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110187028840169415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110187028840169415'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excel-delete-those-unwanted-sheets.html' title='MS Excel: Delete Those Unwanted Sheets'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110186979746789898</id><published>2004-12-02T04:51:00.000-05:00</published><updated>2004-12-02T20:14:59.963-05:00</updated><title type='text'>MS Excel: Add a Row or Column Easily</title><content type='html'>&lt;span style="font-size:85%;"&gt;In Excel, the easiest way to insert or delete entire rows or columns is to use keyboard shortcuts: &lt;span style="color:#3333ff;"&gt;[Ctrl]+ and [Ctrl]-. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Drag across the row numbers or column letters in the worksheet frame to select the number of rows or columns you want to insert. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Then, you press [Ctrl]+ (use the plus sign on the numeric keypad) to insert entire rows or columns at that spot. You press [Ctrl]- to delete entire rows or columns.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110186979746789898?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110186979746789898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110186979746789898'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excel-add-row-or-column-easily.html' title='MS Excel: Add a Row or Column Easily'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110186950834148770</id><published>2004-12-01T05:50:00.000-05:00</published><updated>2004-12-01T12:13:46.346-05:00</updated><title type='text'>MS Excel:Copying Format</title><content type='html'>&lt;span style="font-size:85%;"&gt;Sometimes you'll want to copy only a range's formatting. The easiest way to do this is to use the Format Painter button (it's the one that looks like a paint brush on the Standard toolbar). To do so, first select the cell or range whose formatting you want to copy, then click the Format Painter button. When the mouse pointer changes to a paint brush, select the range to which you want to copy those formats. When you release the mouse button, Excel will paste the formats to that range and the mouse pointer will return to normal.&lt;br /&gt;To copy formatting to several nonadjacent cells or ranges, repeat the same steps, only double-click the Format Painter button. This way, the mouse pointer will remain a paint brush until you press [Esc]&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110186950834148770?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110186950834148770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110186950834148770'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/12/ms-excelcopying-format.html' title='MS Excel:Copying Format'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110186920102711747</id><published>2004-11-30T21:43:00.000-05:00</published><updated>2004-11-30T21:48:50.483-05:00</updated><title type='text'>MS Excel:Protecting Cells</title><content type='html'>&lt;span style="font-size:85%;"&gt;When a cell contains words or a formula that you don't want deleted by accident, use the protection feature. To protect cells, select the cells to protect. Right click, and choose Format Cells. Click the Protection tab and click Locked. Tools/Protection and choose Protect Worksheet. Now, if you try to change anything about that cell (formatting or the contents), you will get a message that the cell is protected. If you do need to change the cell, go to Tools/Protection and choose Unprotect Worksheet. After changes, remember to protect the worksheet again&lt;/span&gt;!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110186920102711747?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110186920102711747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110186920102711747'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excelprotecting-cells.html' title='MS Excel:Protecting Cells'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110178877297031584</id><published>2004-11-29T23:24:00.000-05:00</published><updated>2004-11-29T23:26:12.973-05:00</updated><title type='text'>MS Excel:Prevent Duplicate entries within a range of cells</title><content type='html'>&lt;span style="font-size:85%;"&gt;Suppose you want to prevent duplicate entries in the range of cells A1:A10:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Select cell A1.&lt;br /&gt;Choose "Validation" from "Data" menu.&lt;br /&gt;Choose "Settings" tab.&lt;br /&gt;Choose "Custom" from "Allow" drop-down list.  &lt;br /&gt;In the Formula box, enter the following  =NOT(OR(COUNTIF($A$1:$A$10,A1)&gt;1))&lt;br /&gt;Choose the "Error Alert" tab in order to set an alert style.&lt;br /&gt;Set Style to Stop (the alert message with a Stop sign on it).&lt;br /&gt;In the Title box, enter what you want to appear in the Error Alert's title bar (for example, "Duplicated Entry"); in the Error Message box, enter the message box text ("Please type an entry not entered previously," for example).&lt;br /&gt;Choose  "OK".&lt;br /&gt;Back in the worksheet, select cell A1;&lt;br /&gt;then, using the square AutoFill handle, drag to fill cells A2:A10.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110178877297031584?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110178877297031584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110178877297031584'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excelprevent-duplicate-entries.html' title='MS Excel:Prevent Duplicate entries within a range of cells'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110166890690635707</id><published>2004-11-28T03:56:00.000-05:00</published><updated>2004-11-28T14:08:26.906-05:00</updated><title type='text'>MS Excel:Separating first name and last name</title><content type='html'>&lt;span style="font-size:85%;"&gt;Cell A1 contains a name - Sameer Lal&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The formula for extracting the &lt;span style="color:#3333ff;"&gt;first name&lt;/span&gt; is =&lt;span style="color:#3333ff;"&gt;LEFT(A1,FIND(" ",A1))&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The formula for extracting the &lt;span style="color:#3333ff;"&gt;last name&lt;/span&gt; is =&lt;span style="color:#3333ff;"&gt;MID(A1,FIND(" ",A1)+1,LEN(A1))&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This tip can be used for many other purposes and comes out very handy.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110166890690635707?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110166890690635707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110166890690635707'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excelseparating-first-name-and-last.html' title='MS Excel:Separating first name and last name'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110150406777826786</id><published>2004-11-27T04:19:00.000-05:00</published><updated>2004-11-27T11:33:56.013-05:00</updated><title type='text'>MS Excel:Setting Non-scrolling Rows and/or Columns</title><content type='html'>&lt;span style="font-size:85%;"&gt;Position your cell pointer to indicate rows and/or columns to lock. When you give the command, rows above your cell pointer and columns to the left of your cell pointer will be frozen or set aside as separate scrolling areas.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Position your cell pointer to define the rows and columns to freeze. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Go to the Window menu and choose Split or Freeze Panes. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;Return to the Window menu to Remove Split or Unfreeze Panes.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Split gives you areas that you can scroll within.If you've chosen Freeze Panes your cell pointer will move out of the frozen pane area if you attempt to move beyond it.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110150406777826786?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110150406777826786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110150406777826786'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excelsetting-non-scrolling-rows.html' title='MS Excel:Setting Non-scrolling Rows and/or Columns'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110147898628529065</id><published>2004-11-26T09:21:00.000-05:00</published><updated>2004-11-26T09:23:06.286-05:00</updated><title type='text'>MS Excel:Displaying Cell Formulas Rather Than Results</title><content type='html'>&lt;span style="font-size:85%;"&gt;To change Excel cells display for formulas to display the actual formula rather than the formula results.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Shortcout:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt; &lt;span style="color:#3333ff;"&gt;Keyboard shortcut Press Ctrl and ~(Tilde sign)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;From Menu:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Tools  Options  View tab  Window Options section, check Formulas.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110147898628529065?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110147898628529065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110147898628529065'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-exceldisplaying-cell-formulas.html' title='MS Excel:Displaying Cell Formulas Rather Than Results'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110142675306390746</id><published>2004-11-25T06:51:00.000-05:00</published><updated>2004-11-30T21:50:23.636-05:00</updated><title type='text'>MS Excel:Insert and Auto Sum</title><content type='html'>&lt;span style="font-size:85%;"&gt;Insert an AutoSum &lt;span style="color:#000099;"&gt;Alt = (equal sign)&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Excel will try to guess what cells you want to total up, either the cells immediately above or to the left - but you can change the range of cells to whatever you need.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110142675306390746?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110142675306390746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110142675306390746'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excelinsert-and-auto-sum.html' title='MS Excel:Insert and Auto Sum'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110135114579944910</id><published>2004-11-24T08:38:00.000-05:00</published><updated>2004-11-24T21:52:25.800-05:00</updated><title type='text'>MS Excel:Check For Numbers Stored In a Text Format</title><content type='html'>&lt;span style="font-size:85%;"&gt;Excel can't perform calculations on cell values formatted as text, such as number values that you've imported as text from other databases into Excel. Excel 2002 includes a feature that alerts you to these cells and optionally converts them to numbers. To activate this feature, follow these steps:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;1. Go to Tools  Options.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;2. On the Error Checking tab, select the Enable Background Error Checking and Number Stored As Text check boxes, and click OK.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Now, when Excel finds a number in a cell formatted as text, it will place a green error indicator in the upper left corner of the cell. To convert cells to a number format, select the cell, click the Error Checking Options button displayed to the left of it, and select Convert To Number.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110135114579944910?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110135114579944910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110135114579944910'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excelcheck-for-numbers-stored-in.html' title='MS Excel:Check For Numbers Stored In a Text Format'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110124313081127837</id><published>2004-11-23T16:50:00.000-05:00</published><updated>2004-11-23T15:55:31.870-05:00</updated><title type='text'>MS Excel:Turn the Auto calculation- ON and OFF</title><content type='html'>&lt;p&gt;&lt;span style="font-size:85%;"&gt;You may temporarily want to turn off the automatic calculation option while working with large worksheets in Microsoft Excel. This allows you to enter all the formulas without having to wait for a recalculation. To do this:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Open the Tools menu and click Options. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;In the Options dialog box, click the Calculations tab. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Then, click on the radio button labeled Manual, and click OK to close the dialog box. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;If you want to check a calculation while you are working, simply press F9.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;When you finish a large worksheet, don’t forget to turn automatic calculation back on.&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110124313081127837?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110124313081127837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110124313081127837'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excelturn-auto-calculation-on-and.html' title='MS Excel:Turn the Auto calculation- ON and OFF'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110116372993728593</id><published>2004-11-22T10:46:00.000-05:00</published><updated>2004-11-22T17:51:07.066-05:00</updated><title type='text'>MS Excel: Data Selection</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Move entire columns:&lt;/strong&gt; Highlight the column letters. Hold down the Shift key. Drag.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Move entire rows:&lt;/strong&gt; Highlight the row numbers. Hold down the Shift key. Drag.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Data selection of multiple areas:&lt;/strong&gt; Press the Control key while using the mouse to select multiple cells, data ranges, columns, rows, or worksheet tabs.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Modify the area of a selected range:&lt;/strong&gt; If you use the mouse to highlight a range of too many or too few cells, use the Shift and Arrow keys to modify your selection.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To select a single column:&lt;/strong&gt; Put the cursor in the column then control-spacebar, or click on the column letter.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To select a single row:&lt;/strong&gt; Put the cursor in the row then shift-spacebar, or click on the number.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To select the entire worksheet:&lt;/strong&gt; Control A or click on the blank cell in upper left corner.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To select a range:&lt;/strong&gt; Click the cell in the upper left corner. Hold down the shift key. Click the opposite corner.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To select multiple ranges:&lt;/strong&gt; Press Control then repeat the above procedure in another area.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To select all worksheets:&lt;/strong&gt; Right click on any tab and choose Select All Sheets. &lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110116372993728593?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110116372993728593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110116372993728593'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excel-data-selection.html' title='MS Excel: Data Selection'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110105499445129217</id><published>2004-11-21T14:40:00.000-05:00</published><updated>2004-11-21T11:46:56.640-05:00</updated><title type='text'>MS Excel: Which formula to use</title><content type='html'>&lt;span style="font-size:85%;"&gt;As you can see the same result is derived from all the three formulas shown below, it is for you to decide which one you feel most comfortable with.&lt;br /&gt;The sumproduct has it's own limitation of being used to return only number but for numbers, I find it most suitable.&lt;br /&gt;Before writing formulas, always break it parts, see the results of that part and then merge parts together.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/table2.jpg" /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110105499445129217?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110105499445129217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110105499445129217'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excel-which-formula-to-use.html' title='MS Excel: Which formula to use'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110089123099651495</id><published>2004-11-20T08:31:00.000-05:00</published><updated>2004-11-20T10:43:41.200-05:00</updated><title type='text'>MS Access(or MS Excel):Mathematical order of operations</title><content type='html'>&lt;span style="font-size:85%;"&gt;5 + 3 * 4 = ?&lt;br /&gt;Answer is 17 or 32&lt;br /&gt;It is 17.&lt;br /&gt;Remember this order:&lt;br /&gt;B E D M A S&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;B = ( ) Brackets&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;E = 2raise to power 3 Exponents=8&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;D = / Division&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;M = * Multiplication&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;A = + Addition&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;S = - Subtraction&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110089123099651495?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110089123099651495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110089123099651495'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-accessor-ms-excelmathematical-order.html' title='MS Access(or MS Excel):Mathematical order of operations'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110083466745356704</id><published>2004-11-19T09:22:00.000-05:00</published><updated>2005-03-25T11:13:58.570-05:00</updated><title type='text'>MS Excel:INDEX and MATCH to Look up Data</title><content type='html'>&lt;span style="font-size:85%;"&gt;Create the following table with information in cells B3:D7 and this table contains salary information in cells D3:D7:&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/index.jpg" /&gt;&lt;br /&gt;Say, you want to look up the salary of a person by using the person's name. To do this, use a combination of the INDEX and MATCH functions as under: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;=INDEX($B$3:$D$7, MATCH("Lal",$B$3:$B$7,),3) &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;br /&gt;&lt;/span&gt;This formula uses cells B3:D7 and looks up Lal's salary in the third column. The formula returns 4000.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110083466745356704?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110083466745356704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110083466745356704'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excelindex-and-match-to-look-up.html' title='MS Excel:INDEX and MATCH to Look up Data'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110071243499451106</id><published>2004-11-18T13:20:00.000-05:00</published><updated>2004-12-05T11:22:13.900-05:00</updated><title type='text'>MS Excel: Magic Sumproduct Formula</title><content type='html'>&lt;span style="font-size:85%;"&gt;You can count or sum a particular column based on any number of criteria from other columns without ever bothering to use array function.&lt;br /&gt;Here in this example, I have used both, Sumproduct and Array formula Sum to show the results from both.&lt;br /&gt;Essentially, in A8 and A13 , we are finding out sum of quanity which are greater than 20 with "Sam" in Area "a" and in A10 and A15 , we are finding out count of records of quanity which are greater than 20 with "Sam" in Area "a" both by SumProduct formula and array formula of Sum(where you have to enter Ctrl+Shift+Enter to enter the formula):&lt;/span&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/table.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You can perform many calculations using this magic Sumproduct formula without ever bothering to go for array formula.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110071243499451106?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110071243499451106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110071243499451106'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excel-magic-sumproduct-formula.html' title='MS Excel: Magic Sumproduct Formula'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110069893280100388</id><published>2004-11-17T08:40:00.000-05:00</published><updated>2004-11-17T08:42:12.800-05:00</updated><title type='text'>MS Excel: Entering a line break within a cell</title><content type='html'>&lt;span style="font-size:85%;"&gt;Just a quick note, If you want to enter a line break within a cell, type in the first line then&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Press ALT+ENTER&lt;/span&gt;&lt;br /&gt;Type in the second line. Do the same again if you have more lines to enter.&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Press ENTER&lt;/span&gt; when you are done typing.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110069893280100388?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110069893280100388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110069893280100388'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excel-entering-line-break-within.html' title='MS Excel: Entering a line break within a cell'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110061479586413188</id><published>2004-11-16T09:17:00.000-05:00</published><updated>2004-11-16T09:19:55.863-05:00</updated><title type='text'>MS Excel: Find out overdue days</title><content type='html'>&lt;span style="font-size:85%;"&gt;The DATEDIF() function in Excel calculates the number of days, months, or years between two dates. This function makes it very easy to calculate overdue days. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;To try this:&lt;br /&gt;In a worksheet, type the due date in cell A1, using slashes to separate day, month, and year. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;In cell A2, type =DATEDIF(A1,TODAY(),"d")&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;and press ENTER. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The overdue period (in days) will be displayed in cell A2.You can replace "d" with "m" or "y" to find out period in months or years.Same way, you can replace Today() with a date field to find difference between those two fields like, invoice date and payment date.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110061479586413188?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110061479586413188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110061479586413188'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excel-find-out-overdue-days.html' title='MS Excel: Find out overdue days'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110052806971265072</id><published>2004-11-15T09:10:00.000-05:00</published><updated>2004-11-16T09:22:48.433-05:00</updated><title type='text'>MS Excel: Record Counting Based on Multiple conditions</title><content type='html'>&lt;span style="font-size:85%;"&gt;Use of Array formula to count the number of records in excel that meet a set of conditions.Remeber, that writing array formula is same as any other formula except that you press Ctrl+Shift+Enter.&lt;br /&gt;For example:&lt;br /&gt;The worksheet carries three columns, A, B and C.A is for name of student, B for marks and C for gender(M/F).&lt;br /&gt;Your sheet looks like&lt;br /&gt;A ------B -----C&lt;br /&gt;Mary -- 60 -- F&lt;br /&gt;Sam -- 70 -- M&lt;br /&gt;Tim -- 65 -- M&lt;br /&gt;Rudy -- 80 -- F &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Jack -- 75 -- M&lt;br /&gt;For this, you want to see Number of Males getting more than 70.&lt;br /&gt;&lt;br /&gt;The formula will be(Write this in the cell you want the result):&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;=SUM(IF($B$2:$B$6&gt; =70, IF($C$2:$C$6="M",1,0)))&lt;br /&gt;&lt;/span&gt;Press CTRL+SHIFT+ ENTER. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;The result in this case is &lt;span style="color:#6600cc;"&gt;&lt;strong&gt;2&lt;/strong&gt;&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110052806971265072?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110052806971265072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110052806971265072'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excel-record-counting-based-on.html' title='MS Excel: Record Counting Based on Multiple conditions'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110045637025015622</id><published>2004-11-14T13:12:00.000-05:00</published><updated>2004-11-14T13:34:37.780-05:00</updated><title type='text'>DateTime Format and .NET</title><content type='html'>&lt;span style="color:#3333ff;"&gt;The FormatDateTime() function is a powerful functions and is very easy to use.&lt;br /&gt;The format function is:&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;br /&gt;FormatDateTime(date, format)&lt;br /&gt;&lt;br /&gt;You could use:&lt;br /&gt;&lt;br /&gt;Format DateTime(Now,”M/dd/yyyy”)&lt;br /&gt;&lt;br /&gt;Or any other similar formatting argument.But Microsoft provides lot of predefined VBScript functions designed to reduce coding time:&lt;br /&gt;&lt;br /&gt;When specifying the format argument, you can either type the Visual Basic constant name (name in left column), or the constant's corresponding value (0 - 4, from the middle column). They do the same thing, it's just less typing if you use the value.&lt;/span&gt;&lt;br /&gt;&lt;img src="http://www.geocities.com/sameerlal_2/table1.jpg" /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;I find using numbers very fast and useful. Like;&lt;br /&gt;Format DateTime(Now,2)&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110045637025015622?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110045637025015622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110045637025015622'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/datetime-format-and-net.html' title='DateTime Format and .NET'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110036932768755170</id><published>2004-11-13T12:58:00.000-05:00</published><updated>2004-11-13T13:08:47.686-05:00</updated><title type='text'>Server Variables and .NET</title><content type='html'>&lt;span style="font-size:85%;"&gt;The server variables collection can be very helpful when you are developing applications in .NET. The proper syntax to refer to a server variable in your code is Request.ServerVariables("VariableName") such as to:( Don't forget to declare variable such as; Dim IP as String and then:)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#3366ff;"&gt;Retrieves the user IP Address&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;IP = Request.ServerVariables ("REMOTE_ADDR") &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#3366ff;"&gt;Retrieves the remote host IP Address&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;dnsIP = Request.ServerVariables("remote_host")&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#3366ff;"&gt;Retrieves the page domain name&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;serverName = Request.ServerVariables("server_name") &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#3366ff;"&gt;Retrieves the referer url&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;referer = request.servervariables("http_referer")&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#3366ff;"&gt;Gets the browser type&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;agent = Request.ServerVariables("http_user_agent")&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#3366ff;"&gt;Retrieves page url&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;Url=request.servervariables("URL")&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#3366ff;"&gt;Retrieves request mehtod .. get or post&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;method=request.servervariables("Request_Method")&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#3366ff;"&gt;Retrieves server port&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;serverPort=request.servervariables("server_port")&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#3366ff;"&gt;Retrieves current page&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;scriptName=request.servervariables("script_name")&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#3366ff;"&gt;Retrieves server software&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;serverSoftware=request.servervariables("server_software")&lt;br /&gt;&lt;br /&gt;Consult the Microsoft Documentation for a full description of all the Server Variables.This handy list is a for commonly used server variables including referred above:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;ALL_HTTP&lt;/li&gt;&lt;li&gt;AUTH_TYPE &lt;/li&gt;&lt;li&gt;CONTENT_LENGTH &lt;/li&gt;&lt;li&gt;CONTENT_TYPE &lt;/li&gt;&lt;li&gt;GATEWAY_INTERFACE &lt;/li&gt;&lt;li&gt;HTTP_ACCEPT&lt;/li&gt;&lt;li&gt;HTTP_ACCEPT_LANGUAGE&lt;/li&gt;&lt;li&gt;HTTP_CONNECTION&lt;/li&gt;&lt;li&gt;HTTP_USER_AGENT&lt;/li&gt;&lt;li&gt;HTTP_COOKIE&lt;/li&gt;&lt;li&gt;HTTP_HOST&lt;/li&gt;&lt;li&gt;HTTP_COOKIE&lt;/li&gt;&lt;li&gt;HTTP_REFERER&lt;/li&gt;&lt;li&gt;LOGON_ACCEPT_ENCODING &lt;/li&gt;&lt;li&gt;PATH_INFO &lt;/li&gt;&lt;li&gt;PATH_TRANSLATED &lt;/li&gt;&lt;li&gt;QUERY_STRING &lt;/li&gt;&lt;li&gt;REMOTE_ADDR &lt;/li&gt;&lt;li&gt;REMOTE_IDENT&lt;/li&gt;&lt;li&gt;REMOTE_HOST &lt;/li&gt;&lt;li&gt;REQUEST_METHOD &lt;/li&gt;&lt;li&gt;SCRIPT_MAP &lt;/li&gt;&lt;li&gt;SCRIPT_NAME &lt;/li&gt;&lt;li&gt;SERVER_NAME &lt;/li&gt;&lt;li&gt;SERVER_PORT &lt;/li&gt;&lt;li&gt;SERVER_PORT_SECURE &lt;/li&gt;&lt;li&gt;SERVER_PROTOCOL &lt;/li&gt;&lt;li&gt;SERVER_SOFTWARE &lt;/li&gt;&lt;li&gt;URL &lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110036932768755170?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110036932768755170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110036932768755170'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/server-variables-and-net.html' title='Server Variables and .NET'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110027350805023049</id><published>2004-11-12T10:27:00.000-05:00</published><updated>2004-11-12T10:31:48.050-05:00</updated><title type='text'>Various Articles on .NET</title><content type='html'>&lt;span style="font-size:85%;"&gt;Just thought to list my articles published on .NET, may be, you would find it useful for reference:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://aspalliance.com/424"&gt;Using DateTime Picker With Null Support with MS Access and ASP.Net&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://aspalliance.com/427"&gt;Selecting, Confirming and Deleting Multiple DataGrid items in ASP.NET&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://aspalliance.com/429"&gt;CodeSnip: The Basics of MS Access with ASP.NET&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://aspalliance.com/547"&gt;CodeSnip: Bidirectional Sorting of a DataGrid in VB.NET&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110027350805023049?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110027350805023049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110027350805023049'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/various-articles-on-net.html' title='Various Articles on .NET'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110027237683927267</id><published>2004-11-12T10:02:00.000-05:00</published><updated>2004-11-12T10:12:56.840-05:00</updated><title type='text'>.NET and MS Access Query</title><content type='html'>&lt;span style="font-size:85%;"&gt;I was developing a project in .NET with MS Access as backend database where a report was generated to show if the shipment was done within 24 hrs of order,between 24 and 48 hrs and more than 48 hrs. Usually, stores operations remain closed on weekends and thus all orders received over weekend were shipped on Monday.To give effect of weekend closure in the report, I wrote a query in MS Access:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;SELECT tblshipment.*, IIf(([D1]=2 And [D2]=6),((DateDiff("h",[orderdate],[shipmentdate]))-48),IIf(([D1]=2 And [D2]=7),((DateDiff("h",[orderdate],[shipmentdate]))-24),DateDiff("h",[orderdate],[shipmentdate]))) AS DD, Format([shipmentdate],"w") AS D1, Format([orderdate],"w") AS D2, DateDiff("h",[orderdate],[shipmentdate]) AS DDxFROM tblshipment;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;&lt;br /&gt;&lt;/span&gt;By this, I am first finding out hours difference in order date and shipment date and then, looking for, if order date was Friday and shipment date is Monday, then reduce 48 hrs from time difference or if order date was Saturday and shipment date is Monday, then reduce 24 hrs from time difference, to give effect for weekend closure.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110027237683927267?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110027237683927267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110027237683927267'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/net-and-ms-access-query.html' title='.NET and MS Access Query'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-9127127.post-110026885839804686</id><published>2004-11-12T09:03:00.000-05:00</published><updated>2004-11-12T09:14:18.396-05:00</updated><title type='text'>MS Excel: Finding unique entries in a column</title><content type='html'>Today, I came accross a situation where one column in MS Excel had account numbers with other column showing amount charged.Certain account numbers were charged for number of times during the period and we wanted to find out, how many accounts were charged during this period as number.This was part of bigger formula but finding the number of unique account was accomplished by creating a column and writing the following formula:&lt;br /&gt;Assume Account Numbers are in column A and we created column F for this formula:&lt;br /&gt;&lt;br /&gt;=IF(COUNTIF($A$1:A2,A2)&gt;1,0,COUNTIF($A$1:A2,A2)) and copying it till the last account number row.&lt;br /&gt;&lt;br /&gt;This gave value 1 for each unique account and 0 for repeatition.Just addition of this column provided me by number of unique accounts.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9127127-110026885839804686?l=sameerlalcanada.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110026885839804686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9127127/posts/default/110026885839804686'/><link rel='alternate' type='text/html' href='http://sameerlalcanada.blogspot.com/2004/11/ms-excel-finding-unique-entries-in.html' title='MS Excel: Finding unique entries in a column'/><author><name>Udan Tashtari</name><uri>http://www.blogger.com/profile/06057252073193171933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://farm2.static.flickr.com/1203/1447094209_600c819d47_o.jpg'/></author></entry></feed>
