Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Stepping down a cell when a value is entered

Hi all,

I'm trying to put together an 'order of play' page which displays two
teams who should be next to play, depending on whether a cell in Colum
B is blank or filled-in.

For instance cells A11 to A26 contain numbers 1 to 16. Cells C11
contaiin numbers 17 to 32. If cell B11 has an entry of any kind (P
for Playing means the game has commenced, and therefore is not blank)
I would like cell A5 to display the contents of cell A12, and cell C5
to display the contents of cell C12.

If cell B12 then has an entry when the next game commences, I'd like
the static cell A5 to display the contents of cell A13, and static
cell C5 to display the contents of cell C13, and then so on down the
list...

Is there a formula I can use to get this result? I suppose it's like
a rolling formula...

Any help appreciated, and thanks in anticipation!

DubboPete
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Stepping down a cell when a value is entered

Hi,

Try this in a5
=IF(COUNTA($B$11:$B$26)0,LOOKUP(2,1/(B11:B26<""),A11:A26),"")

and in C5
=IF(COUNTA($B$11:$B$26)0,LOOKUP(2,1/(B11:B26<""),C11:C26),"")

Mike

"DubboPete" wrote:

Hi all,

I'm trying to put together an 'order of play' page which displays two
teams who should be next to play, depending on whether a cell in Colum
B is blank or filled-in.

For instance cells A11 to A26 contain numbers 1 to 16. Cells C11
contaiin numbers 17 to 32. If cell B11 has an entry of any kind (P
for Playing means the game has commenced, and therefore is not blank)
I would like cell A5 to display the contents of cell A12, and cell C5
to display the contents of cell C12.

If cell B12 then has an entry when the next game commences, I'd like
the static cell A5 to display the contents of cell A13, and static
cell C5 to display the contents of cell C13, and then so on down the
list...

Is there a formula I can use to get this result? I suppose it's like
a rolling formula...

Any help appreciated, and thanks in anticipation!

DubboPete

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Stepping down a cell when a value is entered

On Apr 20, 9:08*pm, Mike H wrote:
Hi,

Try this in a5
=IF(COUNTA($B$11:$B$26)0,LOOKUP(2,1/(B11:B26<""),A11:A26),"")

and in C5
=IF(COUNTA($B$11:$B$26)0,LOOKUP(2,1/(B11:B26<""),C11:C26),"")

Mike



"DubboPete" wrote:
Hi all,


I'm trying to put together an 'order of play' page which displays two
teams who should be next to play, depending on whether a cell in Colum
B is blank or filled-in.


For instance cells A11 to A26 contain numbers 1 to 16. *Cells C11
contaiin numbers 17 to 32. * If cell B11 has an entry of any kind (P
for Playing means the game has commenced, and therefore is not blank)
I would like cell A5 to display the contents of cell A12, and cell C5
to display the contents of cell C12.


If cell B12 then has an entry when the next game commences, I'd like
the static cell A5 to display the contents of cell A13, and static
cell C5 to display the contents of cell C13, and then so ondownthe
list...


Is there a formula I can use to get this result? *I suppose it's like
a rolling formula...


Any help appreciated, and thanks in anticipation!


DubboPete- Hide quoted text -


- Show quoted text -


Hi Mike

Thanks for that, almost perfect - but unfortunately it displays the
current game, not the next game. For instance, Game 1 is 1 v 2, when
"P" is entered in B11, then cell A5 displays 1 and cell C5 displays 17
(the current teams playing, not the next teams to play, which should
be 2 vs 18 ...)

Pete
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
Stepping through Code Jim May Excel Discussion (Misc queries) 9 October 25th 07 01:40 PM
How do I define X-axis stepping? ChrisCasey Charts and Charting in Excel 1 July 21st 06 01:24 PM
stepping chart Petje Charts and Charting in Excel 2 July 7th 06 10:22 PM
Stepping Through vs. Play CWillis Excel Discussion (Misc queries) 1 June 15th 06 05:34 PM
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 0 February 28th 05 06:26 PM


All times are GMT +1. The time now is 01:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"