Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Auto transfer data rows to other sheets when certain entries occur

Hi,
Using Excel I'm building a simple spreadsheet database of all football
results in a league each season, with a master 'Results' worksheet containing
the following columns: -

Master 'Results' worksheet

A B C D E F G
Date Home team Away team H/T score F/T score


I'm then creating a separate worksheet for each team within the league to
record (amongst other things) just that team's results.

Using the master 'Results' worksheet above, I want Excel to automatically
copy across into each individual team's worksheet the data above but showing
only the rows containing that individual team's name, i.e. the relevant team
is listed either in Column B (Home team) or Column C (Away team).

Using answers to previous questions in the Forum I've managed to build an
expression that will do this - but only for one column (B only or C only - so
I get a listing of either 'Home' games or 'Away' games - but not both
together in date order), and I'm struggling to find an expression that will
automatically copy the relevant rows over where the team is found in EITHER
column B or C.

I don't know anything about Macros so if anyone can help with an either/or
expression that would work, to produce a gap free list in each individual
team's worksheet, I'd be very happy to stop banging my head against hard
surfaces.

Many thanks.

--
Steve Sharpe
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Auto transfer data rows to other sheets when certain entries occur

Post your current expression. Chances are that responders out here could
enhance it for you, or maybe suggest a workable alternative to drive the
desired auto-copy results out. Good luck.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 527
Default Auto transfer data rows to other sheets when certain entries occur

Fear not it has already been done. Try:
http://www.xldynamic.com/source/xld.LeagueTable.html

Peter

"Struggling in Sheffield" wrote:

Hi,
Using Excel I'm building a simple spreadsheet database of all football
results in a league each season, with a master 'Results' worksheet containing
the following columns: -

Master 'Results' worksheet

A B C D E F G
Date Home team Away team H/T score F/T score


I'm then creating a separate worksheet for each team within the league to
record (amongst other things) just that team's results.

Using the master 'Results' worksheet above, I want Excel to automatically
copy across into each individual team's worksheet the data above but showing
only the rows containing that individual team's name, i.e. the relevant team
is listed either in Column B (Home team) or Column C (Away team).

Using answers to previous questions in the Forum I've managed to build an
expression that will do this - but only for one column (B only or C only - so
I get a listing of either 'Home' games or 'Away' games - but not both
together in date order), and I'm struggling to find an expression that will
automatically copy the relevant rows over where the team is found in EITHER
column B or C.

I don't know anything about Macros so if anyone can help with an either/or
expression that would work, to produce a gap free list in each individual
team's worksheet, I'd be very happy to stop banging my head against hard
surfaces.

Many thanks.

--
Steve Sharpe

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 66
Default Auto transfer data rows to other sheets when certain entries o

Hi all,
OK chaps, here's the current expressions I'm using.

Source data is in worksheet: '2007-08 All results', (columns A to G)

'2007-08 All results' worksheet

A B C D E F G
Date Home team Away team H/T score F/T score


Receiving worksheet (I want to auto-transfer data to) is: 'Birley City FC'

(Expression 1) In 'Birley City FC', grid A2:
=IF('2007-08 All results'!B2="","",IF(OR('2007-08 All results'!B2="Birley
City FC"),ROW(),""))

(Expression 2) In 'Birley City FC', grid B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX('2007-08
Results'!A:A,SMALL($A:$A,ROWS($1:1))))

I've then copied B2 across to H2.
Then I've selected A2 to H2 and copied down to row 1200 (which is the
maximum extent of the source data in '2007-08 All results').

The above expressions auto-transfer all the entries from my source sheet
(columns A to G) where Birley City FC are playing at 'Home' (where Birley
City FC is listed in source sheet column B), and places them in a list (with
no gaps) in my receiving sheet (in columns B to H).

If (in Expression 1) I substitiute C2 for B2 this then auto transfers all
the entries from my source sheet where Birley City FC are playing 'Away'
(where Birley City FC is listed in source sheet column C).

What I want the expression to do is pick up and auto-transfer any line where
'Birley City FC' is present (i.e. listed in EITHER column B or C, 'Home' or
'Away').

I'm sure there must be (ha ha) just some little tweak needed to the initial
expression that will allow this to happen?

Cheers,
Steve.

"Max" wrote:

Post your current expression. Chances are that responders out here could
enhance it for you, or maybe suggest a workable alternative to drive the
desired auto-copy results out. Good luck.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---



  #5   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Auto transfer data rows to other sheets when certain entries o

(Expression 1) In 'Birley City FC', grid A2:
=IF('2007-08 All results'!B2="","",IF(OR('2007-08 All results'!B2="Birley
City FC"),ROW(),""))


Try replacing the above expression with this:
=IF(OR('2007-08 All results'!B2="Birley City FC",'2007-08 All
results'!C2="Birley City FC"),ROW(),"")
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---



  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 66
Default Auto transfer data rows to other sheets when certain entries o

Thanks very much indeed Max, that seem to work just fine.
As usual it's just so blinkin' obvious when it's explained!
All the best,
Steve Sharpe.


"Max" wrote:

(Expression 1) In 'Birley City FC', grid A2:
=IF('2007-08 All results'!B2="","",IF(OR('2007-08 All results'!B2="Birley
City FC"),ROW(),""))


Try replacing the above expression with this:
=IF(OR('2007-08 All results'!B2="Birley City FC",'2007-08 All
results'!C2="Birley City FC"),ROW(),"")
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---

  #7   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Auto transfer data rows to other sheets when certain entries o

Welcome, Steve.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"Struggling in Sheffield"
wrote in message ...
Thanks very much indeed Max, that seem to work just fine.
As usual it's just so blinkin' obvious when it's explained!
All the best,
Steve Sharpe.



  #8   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 66
Default Auto transfer data rows to other sheets when certain entries o

Hi Bill,
Thanks for trying to help, it's not quite what I'm looking for - although I
have down loaded a copy maybe for possible future use!
All the best,
Steve Sharpe.

"Billy Liddel" wrote:

Fear not it has already been done. Try:
http://www.xldynamic.com/source/xld.LeagueTable.html

Peter

"Struggling in Sheffield" wrote:

Hi,
Using Excel I'm building a simple spreadsheet database of all football
results in a league each season, with a master 'Results' worksheet containing
the following columns: -

Master 'Results' worksheet

A B C D E F G
Date Home team Away team H/T score F/T score


I'm then creating a separate worksheet for each team within the league to
record (amongst other things) just that team's results.

Using the master 'Results' worksheet above, I want Excel to automatically
copy across into each individual team's worksheet the data above but showing
only the rows containing that individual team's name, i.e. the relevant team
is listed either in Column B (Home team) or Column C (Away team).

Using answers to previous questions in the Forum I've managed to build an
expression that will do this - but only for one column (B only or C only - so
I get a listing of either 'Home' games or 'Away' games - but not both
together in date order), and I'm struggling to find an expression that will
automatically copy the relevant rows over where the team is found in EITHER
column B or C.

I don't know anything about Macros so if anyone can help with an either/or
expression that would work, to produce a gap free list in each individual
team's worksheet, I'd be very happy to stop banging my head against hard
surfaces.

Many thanks.

--
Steve Sharpe

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
Auto Data Transfer Freshman Excel Worksheet Functions 3 June 29th 06 05:50 AM
Auto transfer rows from 1 sheet to another by account code. Syd Excel Worksheet Functions 0 March 9th 06 04:05 PM
transfer data in excel between sheets Data Transfer betwen Excel Sheets Excel Discussion (Misc queries) 1 June 20th 05 05:20 PM
Auto Data Transfer KRAMER Excel Worksheet Functions 3 May 18th 05 06:26 PM
counting non occur entries excelFan Excel Discussion (Misc queries) 2 December 15th 04 07:15 PM


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