This tool provides a work around for the bug in Google Apps Script that you cannot not detect if cells are merged. Issue 618 http://code.google.com/p/google-apps-script-issues/issues/detail?id=618