Re: display specific next highest value from a column containing m by T
T
Sat May 10 12:53:09 CDT 2008
Assuming there are only numbers and "C numbers" in the range (empty cells
and formulas blanks are OK).
A few keystrokes shorter:
=MAX((LEFT(F10:F100)="C")*REPLACE(F10:F100,1,1,0))
--
Biff
Microsoft Excel MVP
"RagDyeR" <ragdyer@cutoutmsn.com> wrote in message
news:un1PpDssIHA.5096@TK2MSFTNGP02.phx.gbl...
> Meant to post this example (also minus extra parens):
>
> =MAX(IF(LEFT(F10:F100)="C",--RIGHT(F10:F100,LEN(F10:F100)-1)))+1
> --
>
> HTH,
>
> RD
> =====================================================
> Please keep all correspondence within the Group, so all may benefit!
> =====================================================
>
>
> "RagDyeR" <ragdyer@cutoutmsn.com> wrote in message
> news:uEtGNBssIHA.1952@TK2MSFTNGP05.phx.gbl...
> Should mention, this gives the highest "C" number that is presently in the
> range.
>
> If you would like, simply append a "+1" to the end of the formula to give
> you the *next* number to use.
> --
>
> Regards,
>
> RD
> -----------------------------------------------------------------------------------------------
> Please keep all correspondence within the Group, so all may benefit !
> -----------------------------------------------------------------------------------------------
>
> "RagDyeR" <ragdyer@cutoutmsn.com> wrote in message
> news:O2lFO%23rsIHA.552@TK2MSFTNGP06.phx.gbl...
> Try this *array* formula:
>
> =MAX(IF(LEFT(F10:F100)="C",(--RIGHT(F10:F100,LEN(F10:F100)-1))))
>
> --
> Array formulas are entered using CSE, <Ctrl> <Shift> <Enter>, instead of
> the
> regular <Enter>, which will *automatically* enclose the formula in curly
> brackets, which *cannot* be done manually. Also, CSE *must* be used when
> revising the formula.
>
> --
>
> HTH,
>
> RD
> =====================================================
> Please keep all correspondence within the Group, so all may benefit!
> =====================================================
>
> "bvasquez" <bvasquez@discussions.microsoft.com> wrote in message
> news:B8086EA0-2A61-432C-A347-2E8EFB429D05@microsoft.com...
> They are random. The C numbers I manually enter. For my application I am
> using these C numbers to indicate change orders on a contract. It is
> imperative that the go in a consecutive order without skipping any
> numbers.
> They will be entered in a random order but always within the F column
> starting with the range of (F10:F100). As the range (F10:F100) begins to
> fill
> up and I expand the range to (F10:F500) and so on, I am using cell F9 to
> tell
> me what my next consecutive C number will be. This way I ensure the C
> count
> climbs consecutively without having to physically look through the range
> for
> the next highest C number and possibly missing a number in between.
>
> "T. Valko" wrote:
>
>> Are these alpha-numerics in sequential order? Like this:
>>
>> 1
>> 2
>> C1
>> C2
>> 3
>> 4
>> C3
>> 5
>> C4
>>
>> Or, are they random:
>>
>> C4
>> 2
>> C1
>> 1
>> 3
>> C3
>>
>> --
>> Biff
>> Microsoft Excel MVP
>>
>>
>> "bvasquez" <bvasquez@discussions.microsoft.com> wrote in message
>> news:308DDF5F-B821-4E53-B24B-71215FA33EE8@microsoft.com...
>> > Just cant seem to get it. I am working with data in F10:F100 that
>> > contains
>> > numbers like (1,2,3,4) as well as lettered numbers like (C1,C2,C3,C4).
>> > I
>> > can
>> > not come up with a formula that will index this column and return the
>> > next
>> > highest C number. F9 needs to display the next highest C number. I can
>> > get
>> > this to work with the standard numbers only (1,2,3,4). Any suggestions
>>
>>
>>
>
>
>
>