I need to diplay the null value in last when sorting a column in a standard page. So far I have tries with a formula field using a large value.


One workaround for you is add new formula field like following and then sort on this formula field.

IF(ISNULL(Custom_Object__c), 9999999999999999999, Custom_Object__c)
  • Do you want to sort a related list on the detail page of the Custom Object record? Or is it the list views? Jun 25 '14 at 9:10
  • Plz ask to @SalesforceAspiration Jun 25 '14 at 9:32
  • @ChetanGupta It is on detail page of Account object. Jun 25 '14 at 9:34
  • 1
    It should be IF(ISNULL(Custom_Object__c), 9999999999999999999,Custom_Object__c) Jul 1 '14 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.