Consulting

Results 1 to 2 of 2

Thread: Extract missing digits

  1. #1

    Extract missing digits

    Hello everyone
    I have a range of numbers say (1 to 15) in column A
    (1,2,3,5,6,7,9,10,12,13,14,15)
    There are missing digits (4,8,11)

    I want a formula that can extract these missing digits

  2. #2
    Mac Moderator VBAX Guru mikerickson's Avatar
    Joined
    May 2007
    Location
    Davis CA
    Posts
    2,778
    Define a name
    Name: MinToMax
    RefersTo: =ROW(INDEX(Sheet1!$A:$A, MIN(Sheet1!$A:$A), 1): INDEX(Sheet1!$A:$A, MAX(Sheet1!$A:$A), 1))

    Then put this CSE formula and drag down
    =IFERROR(SMALL(IF(COUNTIF($A$1:$A$100,MinToMax)=0, MinToMax), ROW(A1)), "")

    This formula should be entered with Ctrl-Shift-Enter (Cmd+Return for Mac)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •