Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 27
Thumbs up confirm the missing numbers in a series

help pls.

I have a column of text and numbers with something like this

Col. A
1
3
3a
3b
5a
7

I need to gather <among the series the missing numbers in another helper column <note : no decimals, all positive, no gaps...
2
4
6

is there a formula for this in excel ?

thanks in advance...
--
regards
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 267
Default confirm the missing numbers in a series

How long is this sequence likely to be?
If not too long you could use something like the following and copy it down
the helper column, extending the range to include the cells above in the
helper column for each cell you place it in.

=IF(ISERROR(MATCH(1,A1:A10,0)),"1",IF(ISERROR(MATC H(2,A1:A10,0)),"2",IF(ISERROR(MATCH(3,A1:A10,0))," 3",IF(ISERROR(MATCH(4,A1:A10,0)),"4",IF(ISERROR(MA TCH(5,A1:A10,0)),"5","")))))

"driller2" wrote:


help pls.

I have a column of text and numbers with something like this

Col. A
1
3
3a
3b
5a
7

I need to gather <among the series the missing numbers in another
helper column <note : no decimals, all positive, no gaps...
2
4
6

is there a formula for this in excel ?

thanks in advance...
--
regards




--
driller2

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default confirm the missing numbers in a series

"numbers" is a defined name range

=SMALL(INDEX((COUNTIF(numbers,ROW(INDIRECT(MIN(num bers)&":"&MAX(numbers))))=0)*ROW(INDIRECT(MIN(numb ers)&":"&MAX(numbers))),0),ROWS($1:1)+COUNT(number s))

copy down as far as needed


"driller2" wrote:


help pls.

I have a column of text and numbers with something like this

Col. A
1
3
3a
3b
5a
7

I need to gather <among the series the missing numbers in another
helper column <note : no decimals, all positive, no gaps...
2
4
6

is there a formula for this in excel ?

thanks in advance...
--
regards




--
driller2

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default confirm the missing numbers in a series

The formula is required CTRL+SHIFT+ENTER, not just ENTER

"Teethless mama" wrote:

"numbers" is a defined name range

=SMALL(INDEX((COUNTIF(numbers,ROW(INDIRECT(MIN(num bers)&":"&MAX(numbers))))=0)*ROW(INDIRECT(MIN(numb ers)&":"&MAX(numbers))),0),ROWS($1:1)+COUNT(number s))

copy down as far as needed


"driller2" wrote:


help pls.

I have a column of text and numbers with something like this

Col. A
1
3
3a
3b
5a
7

I need to gather <among the series the missing numbers in another
helper column <note : no decimals, all positive, no gaps...
2
4
6

is there a formula for this in excel ?

thanks in advance...
--
regards




--
driller2

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default confirm the missing numbers in a series

You're not accounting for the letters in the cells.

--
Biff
Microsoft Excel MVP


"Teethless mama" wrote in message
...
"numbers" is a defined name range

=SMALL(INDEX((COUNTIF(numbers,ROW(INDIRECT(MIN(num bers)&":"&MAX(numbers))))=0)*ROW(INDIRECT(MIN(numb ers)&":"&MAX(numbers))),0),ROWS($1:1)+COUNT(number s))

copy down as far as needed


"driller2" wrote:


help pls.

I have a column of text and numbers with something like this

Col. A
1
3
3a
3b
5a
7

I need to gather <among the series the missing numbers in another
helper column <note : no decimals, all positive, no gaps...
2
4
6

is there a formula for this in excel ?

thanks in advance...
--
regards




--
driller2





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default confirm the missing numbers in a series

tmama, thats a nice formula, as per fx-test result on the formula may need
some adjustment..
The growing datarange "numbers" will be on a protected column so i cannot
sort it later..

"numbers" "fx result"
1 2
3a 3
3b 4
3c 5
5a 6
5b 8
7 10
9 11
11a 12
14 13
16 15
aa 17
bb 18
cc 19
dd 20
ee 21
ff 22
24 23

is this still possible ?


"Teethless mama" wrote:

The formula is required CTRL+SHIFT+ENTER, not just ENTER

"Teethless mama" wrote:

"numbers" is a defined name range

=SMALL(INDEX((COUNTIF(numbers,ROW(INDIRECT(MIN(num bers)&":"&MAX(numbers))))=0)*ROW(INDIRECT(MIN(numb ers)&":"&MAX(numbers))),0),ROWS($1:1)+COUNT(number s))

copy down as far as needed


"driller2" wrote:


help pls.

I have a column of text and numbers with something like this

Col. A
1
3
3a
3b
5a
7

I need to gather <among the series the missing numbers in another
helper column <note : no decimals, all positive, no gaps...
2
4
6

is there a formula for this in excel ?

thanks in advance...
--
regards




--
driller2

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find missing values in a series petermcwerner Excel Worksheet Functions 10 January 4th 07 08:35 AM
Function for missing data in a series? bman342 Excel Worksheet Functions 11 October 11th 06 06:47 PM
How to find missing numbers in series phil Excel Worksheet Functions 5 July 26th 06 04:38 PM
Series Lines Handling of Missing Data [email protected] Charts and Charting in Excel 1 December 8th 05 10:24 PM
to find missing serial numbers in randomly generated numbers B.H. Hadi Excel Worksheet Functions 2 December 1st 05 10:56 PM


All times are GMT +1. The time now is 11:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"