How to suppress Update Links warning?

UPDATE: After all the details summarized and discussed, I spent 2 fair hours in checking the options, and this update is to dot all is. Preparations First of all, I performed a clean Office 2010 x86 install on Clean Win7 SP1 Ultimate x64 virtual machine powered by VMWare (this is usual routine for my everyday … Read more

Last non-empty cell in a column

Using following simple formula is much faster =LOOKUP(2,1/(A:A<>””),A:A) For Excel 2003: =LOOKUP(2,1/(A1:A65535<>””),A1:A65535) It gives you following advantages: it’s not array formula it’s not volatile formula Explanation: (A:A<>””) returns array {TRUE,TRUE,..,FALSE,..} 1/(A:A<>””) modifies this array to {1,1,..,#DIV/0!,..}. Since LOOKUP expects sorted array in ascending order, and taking into account that if the LOOKUP function can not … Read more

Working with time DURATION, not time of day

You can easily do this with the normal “Time” data type – just change the format! Excels time/date format is simply 1.0 equals 1 full day (starting on 1/1/1900). So 36 hours would be 1.5. If you change the format to [h]:mm, you’ll see 36:00. Therefore, if you want to work with durations, you can … Read more

Display milliseconds in Excel

Right click on Cell B1 and choose Format Cells. In Custom, put the following in the text box labeled Type: [h]:mm:ss.000 To set this in code, you can do something like: Range(“A1”).NumberFormat = “[h]:mm:ss.000” That should give you what you’re looking for. NOTE: Specially formatted fields often require that the column width be wide enough … Read more

Remove leading or trailing spaces in an entire column of data

Quite often the issue is a non-breaking space – CHAR(160) – especially from Web text sources -that CLEAN can’t remove, so I would go a step further than this and try a formula like this which replaces any non-breaking spaces with a standard one =TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160),” “))) Ron de Bruin has an excellent post on tips … Read more