+ Reply to Thread
Results 1 to 10 of 10

formula for find missing numbers from column A

  1. #1
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    formula for find missing numbers from column A

    Hi Experts,
    I have file with numbers in Column A, I want formula in column B which numbers missing in column A they will show in column B, I think if you see screenshot you will understand what I trying to say.

    Thanks in Advance.
    G
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by AaruJaan; 05-23-2019 at 03:33 PM.

  2. #2
    Forum Contributor
    Join Date
    03-29-2013
    Location
    lakewood, usa
    MS-Off Ver
    exce2013
    Posts
    112

    Re: formula for find missing numbers from column A

    The attached should solve The formula is arry so use CTL +shift+enter
    Attached Files Attached Files

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.83 for Mac MS 365
    Posts
    8,480

    Re: formula for find missing numbers from column A

    for anyone interested, this is the formula wyowhite provided in post #2... =SMALL(IF(COUNTIF(A:A,ROW($A$8001:$A$80020))=0,ROW($A$8001:$A$80020),""),ROW())
    an array formula activated using ctrl/shift/enter.

    wyowhite, although it isn't a forum rule it is considered good to also post your solution in the post as many cannot download workbooks d/t firewall issues or want to download them as they could be useless to them anyway. This way someone searching for a similar issue can view your solution to see if it might work for them.

    BTW, nice solution.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: formula for find missing numbers from column A

    Hi Sambo Kid, formula is not working for me.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.83 for Mac MS 365
    Posts
    8,480

    Re: formula for find missing numbers from column A

    Did you open wyowhite’s attachment? Did you activate it using ctrl/shift/enter? It works fine in there.

  6. #6
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: formula for find missing numbers from column A

    yes I have used clt/shift/enter

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.83 for Mac MS 365
    Posts
    8,480

    Re: formula for find missing numbers from column A

    Ok, I tried it in your attachment, had to start it in cell B1 but pasted this =SMALL(IF(COUNTIF(A:A,ROW($A$80001:$A$80020))=0,ROW($A$80001:$A$80020),""),ROW())
    then activated it with ctrl/shift/enter and it worked fine for me.
    I did have to adjust wyowhite's range as he started it at 8001 and not 80001 but after that it worked fine for me.

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.83 for Mac MS 365
    Posts
    8,480

    Re: formula for find missing numbers from column A

    I changed the formula so you can use it beginning in cell B3, make it this... =SMALL(IF(COUNTIF(A:A,ROW($A$79999:$A$80020))=0,ROW($A$79999:$A$80020),""),ROW()) with ctrl/shift/enter and it will work.

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,513

    Re: formula for find missing numbers from column A

    In D3 then copy down till blank cell appears.
    COUNTIF formula is slower. MATCH is faster.
    Array formula
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,396

    Re: formula for find missing numbers from column A

    Quote Originally Posted by wyowhite View Post
    The attached should solve The formula is arry so use CTL +shift+enter
    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula to look at a range of cells, match dates within the range and pull data.
    By mark.k.conroy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-04-2019, 10:20 AM
  2. [SOLVED] SUMIF formula with dynamic column range and then expand the width of SUM range
    By gravythief in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-26-2017, 08:36 AM
  3. [SOLVED] Make data range in formula shift for a whole range when copying cell
    By Zaron in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-21-2016, 06:37 AM
  4. Replies: 1
    Last Post: 11-24-2015, 03:00 AM
  5. Replies: 1
    Last Post: 03-02-2015, 11:18 AM
  6. Replies: 1
    Last Post: 09-04-2013, 07:23 AM
  7. Replies: 1
    Last Post: 06-17-2006, 09:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1