Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Finding first occurence of a number

In col F cell 2, I have a number that is ten characters long, and this number
could remain the same for up to 20 or 30 rows with additional information on
either side of this number, but then this number will change to a different
number (number will always be ten characters long) for up to the same 20 or
30 rows, this format will continue for about another 200 rows or so.

So what I am needing is a formula that will locate the first occurence of
this number, so that I can then access the remaining portion of this
information.

Steve


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Finding first occurence of a number

So, does this mean you want the cell address for the first instance of this
number?

with additional information on either side of this number


I assume that means this info is in different cells on either side of the
number.

A1 = number

=ADDRESS(MATCH(A1,F:F,0),COLUMNS(A1:F1),4)

--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
In col F cell 2, I have a number that is ten characters long, and this
number
could remain the same for up to 20 or 30 rows with additional information
on
either side of this number, but then this number will change to a
different
number (number will always be ten characters long) for up to the same 20
or
30 rows, this format will continue for about another 200 rows or so.

So what I am needing is a formula that will locate the first occurence of
this number, so that I can then access the remaining portion of this
information.

Steve




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Finding first occurence of a number

The other information that is on eiterh side of my number, I use other
formulas to locate. What I'm needing is a formula that will find the first
occurence each time the number changes.

Example: In col F cell 2 my number is 1480000770, then in cell 32 same
column the number changes to 1485555691. So I want a formula that will print
the information that is in col F cell 2, or print the information that is in
cell 32, depending on some other criteria.

Steve
"T. Valko" wrote:

So, does this mean you want the cell address for the first instance of this
number?

with additional information on either side of this number


I assume that means this info is in different cells on either side of the
number.

A1 = number

=ADDRESS(MATCH(A1,F:F,0),COLUMNS(A1:F1),4)

--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
In col F cell 2, I have a number that is ten characters long, and this
number
could remain the same for up to 20 or 30 rows with additional information
on
either side of this number, but then this number will change to a
different
number (number will always be ten characters long) for up to the same 20
or
30 rows, this format will continue for about another 200 rows or so.

So what I am needing is a formula that will locate the first occurence of
this number, so that I can then access the remaining portion of this
information.

Steve





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Finding first occurence of a number

Example: In col F cell 2 my number is 1480000770, then in cell 32 same
column the number changes to 1485555691. So I want a formula that will
print
the information that is in col F cell 2, or print the information that is
in
cell 32, depending on some other criteria.



What do you mean by: depending on some other criteria? What other criteria?



--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
The other information that is on eiterh side of my number, I use other
formulas to locate. What I'm needing is a formula that will find the
first
occurence each time the number changes.

Example: In col F cell 2 my number is 1480000770, then in cell 32 same
column the number changes to 1485555691. So I want a formula that will
print
the information that is in col F cell 2, or print the information that is
in
cell 32, depending on some other criteria.

Steve
"T. Valko" wrote:

So, does this mean you want the cell address for the first instance of
this
number?

with additional information on either side of this number


I assume that means this info is in different cells on either side of the
number.

A1 = number

=ADDRESS(MATCH(A1,F:F,0),COLUMNS(A1:F1),4)

--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
In col F cell 2, I have a number that is ten characters long, and this
number
could remain the same for up to 20 or 30 rows with additional
information
on
either side of this number, but then this number will change to a
different
number (number will always be ten characters long) for up to the same
20
or
30 rows, this format will continue for about another 200 rows or so.

So what I am needing is a formula that will locate the first occurence
of
this number, so that I can then access the remaining portion of this
information.

Steve







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Finding first occurence of a number

Biff,

Sorry for any confusion, should not written that last statement "depending
on some other criteria".

All I really need is something that will find each new occurence in the
number in col F.

Steve

"T. Valko" wrote:

Example: In col F cell 2 my number is 1480000770, then in cell 32 same
column the number changes to 1485555691. So I want a formula that will
print
the information that is in col F cell 2, or print the information that is
in
cell 32, depending on some other criteria.



What do you mean by: depending on some other criteria? What other criteria?



--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
The other information that is on eiterh side of my number, I use other
formulas to locate. What I'm needing is a formula that will find the
first
occurence each time the number changes.

Example: In col F cell 2 my number is 1480000770, then in cell 32 same
column the number changes to 1485555691. So I want a formula that will
print
the information that is in col F cell 2, or print the information that is
in
cell 32, depending on some other criteria.

Steve
"T. Valko" wrote:

So, does this mean you want the cell address for the first instance of
this
number?

with additional information on either side of this number

I assume that means this info is in different cells on either side of the
number.

A1 = number

=ADDRESS(MATCH(A1,F:F,0),COLUMNS(A1:F1),4)

--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
In col F cell 2, I have a number that is ten characters long, and this
number
could remain the same for up to 20 or 30 rows with additional
information
on
either side of this number, but then this number will change to a
different
number (number will always be ten characters long) for up to the same
20
or
30 rows, this format will continue for about another 200 rows or so.

So what I am needing is a formula that will locate the first occurence
of
this number, so that I can then access the remaining portion of this
information.

Steve










  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Finding first occurence of a number

In other words, you want a list of the distinct numbers from column F.

Assume you want the numbers listed starting in cell H2.

Cell H1 is the column header.

Enter this formula in H2 and copy down until you get blanks:

rng = your actual range like F2:F200

=IF(ROWS(H$1:H1)<=COUNT(1/FREQUENCY(rng,rng)),SMALL(rng,SUMPRODUCT(COUNTIF(r ng,H$1:H1))+1),"")

This will list the numbers in ascending order.

--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
Biff,

Sorry for any confusion, should not written that last statement "depending
on some other criteria".

All I really need is something that will find each new occurence in the
number in col F.

Steve

"T. Valko" wrote:

Example: In col F cell 2 my number is 1480000770, then in cell 32 same
column the number changes to 1485555691. So I want a formula that will
print
the information that is in col F cell 2, or print the information that
is
in
cell 32, depending on some other criteria.



What do you mean by: depending on some other criteria? What other
criteria?



--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
The other information that is on eiterh side of my number, I use other
formulas to locate. What I'm needing is a formula that will find the
first
occurence each time the number changes.

Example: In col F cell 2 my number is 1480000770, then in cell 32 same
column the number changes to 1485555691. So I want a formula that will
print
the information that is in col F cell 2, or print the information that
is
in
cell 32, depending on some other criteria.

Steve
"T. Valko" wrote:

So, does this mean you want the cell address for the first instance of
this
number?

with additional information on either side of this number

I assume that means this info is in different cells on either side of
the
number.

A1 = number

=ADDRESS(MATCH(A1,F:F,0),COLUMNS(A1:F1),4)

--
Biff
Microsoft Excel MVP


"beginner here" wrote in
message
...
In col F cell 2, I have a number that is ten characters long, and
this
number
could remain the same for up to 20 or 30 rows with additional
information
on
either side of this number, but then this number will change to a
different
number (number will always be ten characters long) for up to the
same
20
or
30 rows, this format will continue for about another 200 rows or so.

So what I am needing is a formula that will locate the first
occurence
of
this number, so that I can then access the remaining portion of this
information.

Steve










  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Finding first occurence of a number

Thanks that was a lot of help

"T. Valko" wrote:

In other words, you want a list of the distinct numbers from column F.

Assume you want the numbers listed starting in cell H2.

Cell H1 is the column header.

Enter this formula in H2 and copy down until you get blanks:

rng = your actual range like F2:F200

=IF(ROWS(H$1:H1)<=COUNT(1/FREQUENCY(rng,rng)),SMALL(rng,SUMPRODUCT(COUNTIF(r ng,H$1:H1))+1),"")

This will list the numbers in ascending order.

--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
Biff,

Sorry for any confusion, should not written that last statement "depending
on some other criteria".

All I really need is something that will find each new occurence in the
number in col F.

Steve

"T. Valko" wrote:

Example: In col F cell 2 my number is 1480000770, then in cell 32 same
column the number changes to 1485555691. So I want a formula that will
print
the information that is in col F cell 2, or print the information that
is
in
cell 32, depending on some other criteria.


What do you mean by: depending on some other criteria? What other
criteria?



--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
The other information that is on eiterh side of my number, I use other
formulas to locate. What I'm needing is a formula that will find the
first
occurence each time the number changes.

Example: In col F cell 2 my number is 1480000770, then in cell 32 same
column the number changes to 1485555691. So I want a formula that will
print
the information that is in col F cell 2, or print the information that
is
in
cell 32, depending on some other criteria.

Steve
"T. Valko" wrote:

So, does this mean you want the cell address for the first instance of
this
number?

with additional information on either side of this number

I assume that means this info is in different cells on either side of
the
number.

A1 = number

=ADDRESS(MATCH(A1,F:F,0),COLUMNS(A1:F1),4)

--
Biff
Microsoft Excel MVP


"beginner here" wrote in
message
...
In col F cell 2, I have a number that is ten characters long, and
this
number
could remain the same for up to 20 or 30 rows with additional
information
on
either side of this number, but then this number will change to a
different
number (number will always be ten characters long) for up to the
same
20
or
30 rows, this format will continue for about another 200 rows or so.

So what I am needing is a formula that will locate the first
occurence
of
this number, so that I can then access the remaining portion of this
information.

Steve











  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Finding first occurence of a number

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
Thanks that was a lot of help

"T. Valko" wrote:

In other words, you want a list of the distinct numbers from column F.

Assume you want the numbers listed starting in cell H2.

Cell H1 is the column header.

Enter this formula in H2 and copy down until you get blanks:

rng = your actual range like F2:F200

=IF(ROWS(H$1:H1)<=COUNT(1/FREQUENCY(rng,rng)),SMALL(rng,SUMPRODUCT(COUNTIF(r ng,H$1:H1))+1),"")

This will list the numbers in ascending order.

--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
Biff,

Sorry for any confusion, should not written that last statement
"depending
on some other criteria".

All I really need is something that will find each new occurence in the
number in col F.

Steve

"T. Valko" wrote:

Example: In col F cell 2 my number is 1480000770, then in cell 32
same
column the number changes to 1485555691. So I want a formula that
will
print
the information that is in col F cell 2, or print the information
that
is
in
cell 32, depending on some other criteria.


What do you mean by: depending on some other criteria? What other
criteria?



--
Biff
Microsoft Excel MVP


"beginner here" wrote in
message
...
The other information that is on eiterh side of my number, I use
other
formulas to locate. What I'm needing is a formula that will find
the
first
occurence each time the number changes.

Example: In col F cell 2 my number is 1480000770, then in cell 32
same
column the number changes to 1485555691. So I want a formula that
will
print
the information that is in col F cell 2, or print the information
that
is
in
cell 32, depending on some other criteria.

Steve
"T. Valko" wrote:

So, does this mean you want the cell address for the first instance
of
this
number?

with additional information on either side of this number

I assume that means this info is in different cells on either side
of
the
number.

A1 = number

=ADDRESS(MATCH(A1,F:F,0),COLUMNS(A1:F1),4)

--
Biff
Microsoft Excel MVP


"beginner here" wrote in
message
...
In col F cell 2, I have a number that is ten characters long, and
this
number
could remain the same for up to 20 or 30 rows with additional
information
on
either side of this number, but then this number will change to a
different
number (number will always be ten characters long) for up to the
same
20
or
30 rows, this format will continue for about another 200 rows or
so.

So what I am needing is a formula that will locate the first
occurence
of
this number, so that I can then access the remaining portion of
this
information.

Steve













  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Finding first occurence of a number

"Blood" and "Stone" come to mind with that one, Biff !! <bg

Well done for dragging it out of him in the end.

Pete

On Nov 26, 10:28 pm, "T. Valko" wrote:
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP

"beginner here" wrote in message

...



Thanks that was a lot of help


"T. Valko" wrote:


In other words, you want a list of the distinct numbers from column F.


Assume you want the numbers listed starting in cell H2.


Cell H1 is the column header.


Enter this formula in H2 and copy down until you get blanks:


rng = your actual range like F2:F200


=IF(ROWS(H$1:H1)<=COUNT(1/FREQUENCY(rng,rng)),SMALL(rng,SUMPRODUCT(COUNTIF(-rng,H$1:H1))+1),"")


This will list the numbers in ascending order.


--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
Biff,


Sorry for any confusion, should not written that last statement
"depending
on some other criteria".


All I really need is something that will find each new occurence in the
number in col F.


Steve


"T. Valko" wrote:


Example: In col F cell 2 my number is 1480000770, then in cell 32
same
column the number changes to 1485555691. So I want a formula that
will
print
the information that is in col F cell 2, or print the information
that
is
in
cell 32, depending on some other criteria.


What do you mean by: depending on some other criteria? What other
criteria?


--
Biff
Microsoft Excel MVP


"beginner here" wrote in
message
...
The other information that is on eiterh side of my number, I use
other
formulas to locate. What I'm needing is a formula that will find
the
first
occurence each time the number changes.


Example: In col F cell 2 my number is 1480000770, then in cell 32
same
column the number changes to 1485555691. So I want a formula that
will
print
the information that is in col F cell 2, or print the information
that
is
in
cell 32, depending on some other criteria.


Steve
"T. Valko" wrote:


So, does this mean you want the cell address for the first instance
of
this
number?


with additional information on either side of this number


I assume that means this info is in different cells on either side
of
the
number.


A1 = number


=ADDRESS(MATCH(A1,F:F,0),COLUMNS(A1:F1),4)


--
Biff
Microsoft Excel MVP


"beginner here" wrote in
message
...
In col F cell 2, I have a number that is ten characters long, and
this
number
could remain the same for up to 20 or 30 rows with additional
information
on
either side of this number, but then this number will change to a
different
number (number will always be ten characters long) for up to the
same
20
or
30 rows, this format will continue for about another 200 rows or
so.


So what I am needing is a formula that will locate the first
occurence
of
this number, so that I can then access the remaining portion of
this
information.


Steve- Hide quoted text -


- Show quoted text -


  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Finding first occurence of a number

Pete,

I don't think that comment was called for, and very unprofessional. In fact
I thought I was very straight forward in my question.

So if my questions don't make any sense, guess I will just have to try
somewhere else, to find my answers, becasue by your comment, it sure doesn't
look like I am welcome here.

So long folks.

Steve Martin

"Pete_UK" wrote:

"Blood" and "Stone" come to mind with that one, Biff !! <bg

Well done for dragging it out of him in the end.

Pete

On Nov 26, 10:28 pm, "T. Valko" wrote:
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP

"beginner here" wrote in message

...



Thanks that was a lot of help


"T. Valko" wrote:


In other words, you want a list of the distinct numbers from column F.


Assume you want the numbers listed starting in cell H2.


Cell H1 is the column header.


Enter this formula in H2 and copy down until you get blanks:


rng = your actual range like F2:F200


=IF(ROWS(H$1:H1)<=COUNT(1/FREQUENCY(rng,rng)),SMALL(rng,SUMPRODUCT(COUNTIF(-rng,H$1:H1))+1),"")


This will list the numbers in ascending order.


--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
Biff,


Sorry for any confusion, should not written that last statement
"depending
on some other criteria".


All I really need is something that will find each new occurence in the
number in col F.


Steve


"T. Valko" wrote:


Example: In col F cell 2 my number is 1480000770, then in cell 32
same
column the number changes to 1485555691. So I want a formula that
will
print
the information that is in col F cell 2, or print the information
that
is
in
cell 32, depending on some other criteria.


What do you mean by: depending on some other criteria? What other
criteria?


--
Biff
Microsoft Excel MVP


"beginner here" wrote in
message
...
The other information that is on eiterh side of my number, I use
other
formulas to locate. What I'm needing is a formula that will find
the
first
occurence each time the number changes.


Example: In col F cell 2 my number is 1480000770, then in cell 32
same
column the number changes to 1485555691. So I want a formula that
will
print
the information that is in col F cell 2, or print the information
that
is
in
cell 32, depending on some other criteria.


Steve
"T. Valko" wrote:


So, does this mean you want the cell address for the first instance
of
this
number?


with additional information on either side of this number


I assume that means this info is in different cells on either side
of
the
number.


A1 = number


=ADDRESS(MATCH(A1,F:F,0),COLUMNS(A1:F1),4)


--
Biff
Microsoft Excel MVP


"beginner here" wrote in
message
...
In col F cell 2, I have a number that is ten characters long, and
this
number
could remain the same for up to 20 or 30 rows with additional
information
on
either side of this number, but then this number will change to a
different
number (number will always be ten characters long) for up to the
same
20
or
30 rows, this format will continue for about another 200 rows or
so.


So what I am needing is a formula that will locate the first
occurence
of
this number, so that I can then access the remaining portion of
this
information.


Steve- Hide quoted text -


- Show quoted text -





  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Finding first occurence of a number

My first impression on reading this thread in its entirety yesterday
was that it was like getting blood from a stone - a common expression
here in the UK, and not usually one which causes offence. My comment
was aimed as a complement to Biff for his patience and perseverance,
in that he had to ask you several follow-up questions and make
suppositions before he had sufficient details to offer you a solution,
spanning an hour.

I would remind you that people who post advice and help on the
newsgroups do so for FREE, giving their time, experience and knowledge
to help others. It WASTES time if a problem is not clearly defined, as
yours obviously wasn't.

Still, if you have taken umbrage and gone somewhere else, then you
won't be reading this ...

Pete

On Nov 27, 11:49 pm, beginner here
wrote:
Pete,

I don't think that comment was called for, and very unprofessional. In fact
I thought I was very straight forward in my question.

So if my questions don't make any sense, guess I will just have to try
somewhere else, to find my answers, becasue by your comment, it sure doesn't
look like I am welcome here.

So long folks.

Steve Martin



"Pete_UK" wrote:
"Blood" and "Stone" come to mind with that one, Biff !! <bg


Well done for dragging it out of him in the end.


Pete


On Nov 26, 10:28 pm, "T. Valko" wrote:
You're welcome. Thanks for the feedback!


--
Biff
Microsoft Excel MVP


"beginner here" wrote in message


...


Thanks that was a lot of help


"T. Valko" wrote:


In other words, you want a list of the distinct numbers from column F.


Assume you want the numbers listed starting in cell H2.


Cell H1 is the column header.


Enter this formula in H2 and copy down until you get blanks:


rng = your actual range like F2:F200


=IF(ROWS(H$1:H1)<=COUNT(1/FREQUENCY(rng,rng)),SMALL(rng,SUMPRODUCT(COUNTIF(--rng,H$1:H1))+1),"")


This will list the numbers in ascending order.


--
Biff
Microsoft Excel MVP


"beginner here" wrote in message
...
Biff,


Sorry for any confusion, should not written that last statement
"depending
on some other criteria".


All I really need is something that will find each new occurence in the
number in col F.


Steve


"T. Valko" wrote:


Example: In col F cell 2 my number is 1480000770, then in cell 32
same
column the number changes to 1485555691. So I want a formula that
will
print
the information that is in col F cell 2, or print the information
that
is
in
cell 32, depending on some other criteria.


What do you mean by: depending on some other criteria? What other
criteria?


--
Biff
Microsoft Excel MVP


"beginner here" wrote in
message
...
The other information that is on eiterh side of my number, I use
other
formulas to locate. What I'm needing is a formula that will find
the
first
occurence each time the number changes.


Example: In col F cell 2 my number is 1480000770, then in cell 32
same
column the number changes to 1485555691. So I want a formula that
will
print
the information that is in col F cell 2, or print the information
that
is
in
cell 32, depending on some other criteria.


Steve
"T. Valko" wrote:


So, does this mean you want the cell address for the first instance
of
this
number?


with additional information on either side of this number


I assume that means this info is in different cells on either side
of
the
number.


A1 = number


=ADDRESS(MATCH(A1,F:F,0),COLUMNS(A1:F1),4)


--
Biff
Microsoft Excel MVP


"beginner here" wrote in
message
...
In col F cell 2, I have a number that is ten characters long, and
this
number
could remain the same for up to 20 or 30 rows with additional
information
on
either side of this number, but then this number will change to a
different
number (number will always be ten characters long) for up to the
same
20
or
30 rows, this format will continue for about another 200 rows or
so.


So what I am needing is a formula that will locate the first
occurence
of
this number, so that I can then access the remaining portion of
this
information.


Steve- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


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
Extract single occurence of order number from list JBW Excel Worksheet Functions 5 September 18th 07 01:22 AM
Assign a number each letter on list compounding occurence @ each e Nat Maxwell Excel Worksheet Functions 4 February 27th 07 09:05 PM
Finding how many events since last occurence in a database list Tony the Bajan Excel Worksheet Functions 3 November 2nd 06 10:32 PM
Finding most common occurence of values in cells containing letters and numbers sparklyballs Excel Worksheet Functions 2 August 18th 06 12:16 PM
finding a number and the number of times it occurs luposlipophobia Excel Discussion (Misc queries) 3 June 22nd 06 03:51 AM


All times are GMT +1. The time now is 11:41 AM.

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"