Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save discarn8/4312ed35e720ffa79f383b5ab421e69b to your computer and use it in GitHub Desktop.

Select an option

Save discarn8/4312ed35e720ffa79f383b5ab421e69b to your computer and use it in GitHub Desktop.
EXCEL_FORMULA_Check_if_cell_contains_number
Check if the cell has a dn in it and if not - add it
=IF(C2=0,"",IF(ISNUMBER(SEARCH(C2,B2)),B2,B2&" "&C2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment