#1   Report Post  
dc
 
Posts: n/a
Default Subquery

I have a sheet with many rows and i need to filter out old versions of the
row in questions,

example

Mr Smith blah blah aaa bbbb cccc 1
Mr Smith blah blah bbb ccccc 2
Mr Smith aaa bbbb ccc 3

In other words each row is a version on what ever im looking at, How do i
get rid of the old versions i.e. number 1 and number 2 and keep version 3 ??

Hope this explains it ok

regards


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

In an adjacent column, and assuming that the name is in column A, version in
F, add this formula

=F1=MAX(IF($A$1:$A$1000=A1,$F$1:$F$1000))

it is an array formula, so commit with Ctrl-Shift-Enter.

Copy the formula down for all relevant rows.

Filter Column F (DataFilterAutofilter), select a value of False, then
delete visible rows.

--
HTH

Bob Phillips

"dc" wrote in message
...
I have a sheet with many rows and i need to filter out old versions of the
row in questions,

example

Mr Smith blah blah aaa bbbb cccc 1
Mr Smith blah blah bbb ccccc 2
Mr Smith aaa bbbb ccc 3

In other words each row is a version on what ever im looking at, How do i
get rid of the old versions i.e. number 1 and number 2 and keep version 3

??

Hope this explains it ok

regards




  #3   Report Post  
dc
 
Posts: n/a
Default

Thank you for that, im not sure its working or I have done it correctly
could i send u some data to explain what I mean ?

regards

"Bob Phillips" wrote in message
...
In an adjacent column, and assuming that the name is in column A, version

in
F, add this formula

=F1=MAX(IF($A$1:$A$1000=A1,$F$1:$F$1000))

it is an array formula, so commit with Ctrl-Shift-Enter.

Copy the formula down for all relevant rows.

Filter Column F (DataFilterAutofilter), select a value of False, then
delete visible rows.

--
HTH

Bob Phillips

"dc" wrote in message
...
I have a sheet with many rows and i need to filter out old versions of

the
row in questions,

example

Mr Smith blah blah aaa bbbb cccc 1
Mr Smith blah blah bbb ccccc 2
Mr Smith aaa bbbb ccc 3

In other words each row is a version on what ever im looking at, How do

i
get rid of the old versions i.e. number 1 and number 2 and keep version

3
??

Hope this explains it ok

regards






  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

Feel free. The addy is

bob dot phillips at tiscali dot co dot uk

do the obvious

--
HTH

Bob Phillips

"dc" wrote in message
...
Thank you for that, im not sure its working or I have done it correctly
could i send u some data to explain what I mean ?

regards

"Bob Phillips" wrote in message
...
In an adjacent column, and assuming that the name is in column A,

version
in
F, add this formula

=F1=MAX(IF($A$1:$A$1000=A1,$F$1:$F$1000))

it is an array formula, so commit with Ctrl-Shift-Enter.

Copy the formula down for all relevant rows.

Filter Column F (DataFilterAutofilter), select a value of False, then
delete visible rows.

--
HTH

Bob Phillips

"dc" wrote in message
...
I have a sheet with many rows and i need to filter out old versions of

the
row in questions,

example

Mr Smith blah blah aaa bbbb cccc 1
Mr Smith blah blah bbb ccccc 2
Mr Smith aaa bbbb ccc 3

In other words each row is a version on what ever im looking at, How

do
i
get rid of the old versions i.e. number 1 and number 2 and keep

version
3
??

Hope this explains it ok

regards








  #5   Report Post  
dc
 
Posts: n/a
Default

Bob see attached data ,there is alot more coloums that i have not shown but
it seems to be doing it the wrong way round, the version i want kept is the
highest version and not lowest does that make sense??

regrads
"Bob Phillips" wrote in message
...
Feel free. The addy is

bob dot phillips at tiscali dot co dot uk

do the obvious

--
HTH

Bob Phillips

"dc" wrote in message
...
Thank you for that, im not sure its working or I have done it correctly
could i send u some data to explain what I mean ?

regards

"Bob Phillips" wrote in message
...
In an adjacent column, and assuming that the name is in column A,

version
in
F, add this formula

=F1=MAX(IF($A$1:$A$1000=A1,$F$1:$F$1000))

it is an array formula, so commit with Ctrl-Shift-Enter.

Copy the formula down for all relevant rows.

Filter Column F (DataFilterAutofilter), select a value of False,

then
delete visible rows.

--
HTH

Bob Phillips

"dc" wrote in message
...
I have a sheet with many rows and i need to filter out old versions

of
the
row in questions,

example

Mr Smith blah blah aaa bbbb cccc 1
Mr Smith blah blah bbb ccccc 2
Mr Smith aaa bbbb ccc 3

In other words each row is a version on what ever im looking at, How

do
i
get rid of the old versions i.e. number 1 and number 2 and keep

version
3
??

Hope this explains it ok

regards














  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

Got it. Put this formula in some spare column, say G3

=D3=MAX(IF($A$3:$A$1000=A3,$D$3:$D$1000))

then as before, copy the formula down for all relevant rows.

Filter Column F (DataFilterAutofilter), click the dropdown arrow, select
the value of False, then delete visible rows.


--
HTH

Bob Phillips

"dc" wrote in message
...
Bob see attached data ,there is alot more coloums that i have not shown

but
it seems to be doing it the wrong way round, the version i want kept is

the
highest version and not lowest does that make sense??

regrads
"Bob Phillips" wrote in message
...
Feel free. The addy is

bob dot phillips at tiscali dot co dot uk

do the obvious

--
HTH

Bob Phillips

"dc" wrote in message
...
Thank you for that, im not sure its working or I have done it

correctly
could i send u some data to explain what I mean ?

regards

"Bob Phillips" wrote in message
...
In an adjacent column, and assuming that the name is in column A,

version
in
F, add this formula

=F1=MAX(IF($A$1:$A$1000=A1,$F$1:$F$1000))

it is an array formula, so commit with Ctrl-Shift-Enter.

Copy the formula down for all relevant rows.

Filter Column F (DataFilterAutofilter), select a value of False,

then
delete visible rows.

--
HTH

Bob Phillips

"dc" wrote in message
...
I have a sheet with many rows and i need to filter out old

versions
of
the
row in questions,

example

Mr Smith blah blah aaa bbbb cccc 1
Mr Smith blah blah bbb ccccc 2
Mr Smith aaa bbbb ccc 3

In other words each row is a version on what ever im looking at,

How
do
i
get rid of the old versions i.e. number 1 and number 2 and keep

version
3
??

Hope this explains it ok

regards













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



All times are GMT +1. The time now is 12:17 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"