Showing posts with label Excel. Show all posts
Showing posts with label Excel. Show all posts

Thursday, March 22, 2012

Converting time zones in Excel.

If you have one column (C) in Excel with a list of date time values (PST) and want to have another column (D) in Excel that should show IST, you can use the following formula in the column D.

= C1 + TIMEVALUE("12:30")

Thursday, June 9, 2011

Using Microsoft Excel 2010 for Web Project tracking


Conditional icons in Microsoft Excel 2010 are a great feature. I recently used it to report the status of Web Page development as seen in the screenshot.

Thursday, July 16, 2009

Excel Type mismatch error when adding Pivot Table.

When creating a pivot table from an Excel ListObject, it is important to use the R1C1 format when passing the range information to Excel's PivotCaches.Add method. Failure to do so will cause the method call to fail with the message "Type Mismatch" when the number of rows exceeds 65,536.

Monday, September 29, 2008

Load testing Excel Data Transfer to SQL Server 2008

Ever tried to transfer 1 million rows from Excel to SQL Server using the DTS Wizard in SQL Server 2008? Well I did and here is what I observed. My file had 3 columns in it and the total size of the file on disk was 37 MB. After I specified the Excel file as the source of data and clicked the Next button on the DTS Wizard, the memory consumption of DTS Wizard went up and up till it reached 1.5 GB. It was only then that it presented me with the select destination screen and the memory footprint went down. When I was done with all the steps and started the transfer, it again touched 1.5GB at the step named "Source Connection". I waited for it to reach the step named "Copying..." but I lost my patience and clicked on the Stop button. Inspite of that, the DTSWizard continued execution and I ended up killing it from Task Manager. I will try it again some other day when I have enough time to stare at the screen or keep it running overnight. I think it would be better to write my own program that uses SQLBulkCopy with some optimizations.

Just a thought before I hit the sack. Wouldn't it be cool, if an application like DTS Wizard, would tell you "I am going to take this much memory, this much time for completing this task. Are you willing to continue?" :). If I select not to continue, will it present me with a list of alternatives to do the same task and direct me to a site that gets me in touch with the smart minds @ MS. Any takers at Microsoft?

What is success?

The journey of life takes us through varied experiences like landing an admission at a prestigious college, earning a degree, getting hired,...