Results 1 to 3 of 3

Thread: Need help in excel

  1. #1
    smilydil is offline Senior Member+
    Last Online
    11th April 2020 @ 05:54 PM
    Join Date
    31 May 2009
    Age
    39
    Posts
    309
    Threads
    35
    Credits
    80
    Thanked
    5

    Default Need help in excel

    Salaam,

    Guys I am encountering a problem and looking for the solution. I am sure that I will get the positive reply from you.
    The problem is that I have a different series of numbers in excel sheet and would like to find a number in the whole series that is missing in the whole series. Here I will explain my question in an example.

    The series is as under.
    1001
    1002
    1003
    1005
    1006
    1007
    1009
    1012
    1013
    As you can see that, the series not ascending continuously. Some digits are missing like 1004, 1008, 1010, and 1011.
    Now my question is that how can I trace the same thing with the help of a formula. Mean I would like to use a formula to check that what digits are not showing in the column.

    Please note that original series is over 900 pages.

  2. #2
    syar is offline Advance Member
    Last Online
    18th April 2024 @ 02:42 PM
    Join Date
    31 Jul 2009
    Location
    Nowshera(KP)
    Age
    47
    Gender
    Male
    Posts
    884
    Threads
    9
    Credits
    563
    Thanked
    340

    Default

    as per my understanding

    I assume aap ka data column A m ha aur a1 sa start hota ha.

    In B1 put the below formula it will show how many numbers are missing. Adjust ranges/references accordingly.

    Code:
    =(MAX(A:A)-MIN(A:A)+1)-MATCH(9.999999E+30,A:A)-(CELL("row",A1)-1)
    The below procedure will highligh the cell where the series is missing
    1. choose your range
    2. In home tab--> select conditional Formatting
    3. Conditional formatting----->New Rules--->Formula to determine which cell to highlight
    4. put the below formula
    Code:
    =NOT(A2=A1+1)
    5. then choose your desire cell formatting.
    This will highlight the cell where series is broken or missing.

    If you want to know which number is missing put below array formula
    in C1 or choose your output cells and copy down as far as required.
    Code:
    =SMALL(IF(COUNTIF(A:A,ROW($1:$30))=0,ROW($1:$30),""),ROWS(C1:$C$1))
    Remember Array formula must be enter with the combination of SHIFT+CONTROL+ENTER. and array formulas are very costly.

    regards

  3. #3
    Net-Rider's Avatar
    Net-Rider is offline Advance Member+
    Last Online
    18th January 2014 @ 04:34 AM
    Join Date
    09 Jun 2009
    Location
    **PAKISTAN**
    Gender
    Male
    Posts
    28,932
    Threads
    1755
    Credits
    0
    Thanked
    6986

    Default

    تھریڈ کو موو کیا گیا کورس سیکشن سے آسک اینڈ ایکسپرٹ سیکشن میں

Similar Threads

  1. Answered MS Word Ki file ko JPG me kesy convert kru?
    By 1heart2pain in forum Ask an Expert
    Replies: 10
    Last Post: 24th May 2010, 02:34 AM
  2. Excel 2003 for Starters: The Missing Manual
    By oralover2006 in forum English IT Zone
    Replies: 2
    Last Post: 28th May 2009, 11:01 AM
  3. MicroSoft Excel short cuts
    By khurshid akhtar in forum General Discussion
    Replies: 1
    Last Post: 17th January 2008, 02:58 PM
  4. MS Office 2000 Shortcut Keys
    By general in forum General Discussion
    Replies: 4
    Last Post: 31st May 2007, 04:07 PM
  5. Excel Shortcut Keys
    By cuticle in forum General Discussion
    Replies: 3
    Last Post: 29th January 2007, 07:45 AM

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
  •