Re: smallest missing number
- From: mphell0 <mphell0.23bxyn_1140106207.659@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 16 Feb 2006 10:04:24 -0600
If they will always be in ascending order and always only 6 numbers then
the
following formula will work:
=IF(G1-F1>1,F1+1,IF(H1-G1>1,G1+1,IF(I1-H1>1,H1+1,IF(J1-I1>1,I1+1,IF(K1-J1>1,J1+1,K1+1)))))
Its not very elegant but it gets the job done. Perhaps someone else
will come
along with a simpler formula.
--
mphell0
------------------------------------------------------------------------
mphell0's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=30153
View this thread: http://www.excelforum.com/showthread.php?threadid=513202
.
- References:
- Re: smallest missing number
- From: mphell0
- Re: smallest missing number
- Prev by Date: Re: * in date format
- Next by Date: Re: Counting numbers
- Previous by thread: Re: smallest missing number
- Next by thread: Re: smallest missing number
- Index(es):
Relevant Pages
|