A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

the next value



 
 
Thread Tools Display Modes
  #1  
Old May 15th, 2009, 08:22 AM posted to microsoft.public.excel.misc
alvin Kuiper
external usenet poster
 
Posts: 45
Default the next value

Hi!
I have this in some cells.
02.01-28.02
01.03-31.10
01.11-01.01
PÃ¥ske mv*

In another cell I have
01.03-31.10
What i want now in another cell
is the next vaule (row) after
01.03-31.10
But if my value in my first cell is 02.01-28.02 then
the next value (row) is 01.03-31.10 ans so on

Can i do this ?

Alvin

  #2  
Old May 15th, 2009, 08:37 AM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 8,419
Default the next value

Hi,

I don't understand. Please explain the logic for deriving the second value
from the first with particular emphasis on 'and so on'

02.01-28.02
01.03-31.10


Mike

"alvin Kuiper" wrote:

Hi!
I have this in some cells.
02.01-28.02
01.03-31.10
01.11-01.01
PÃ¥ske mv*

In another cell I have
01.03-31.10
What i want now in another cell
is the next vaule (row) after
01.03-31.10
But if my value in my first cell is 02.01-28.02 then
the next value (row) is 01.03-31.10 ans so on

Can i do this ?

Alvin

  #3  
Old May 15th, 2009, 08:38 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default the next value

Dear Alvin

Try the below. You have the below series in A1:A3

02.01-28.02
01.03-31.10
01.11-01.01

In B1 enter "02.01-28.02"
In B2 enter the below formula and drag that down...

=INDEX($A$1:$A$3,IF(MATCH(B1,$A$1:$A$3,0)=3,1,MATC H(B1,$A$1:$A$3,0)+1))


If this post helps click Yes
---------------
Jacob Skaria


"alvin Kuiper" wrote:

Hi!
I have this in some cells.
02.01-28.02
01.03-31.10
01.11-01.01
PÃ¥ske mv*

In another cell I have
01.03-31.10
What i want now in another cell
is the next vaule (row) after
01.03-31.10
But if my value in my first cell is 02.01-28.02 then
the next value (row) is 01.03-31.10 ans so on

Can i do this ?

Alvin

  #4  
Old May 15th, 2009, 08:42 AM posted to microsoft.public.excel.misc
alvin Kuiper
external usenet poster
 
Posts: 45
Default the next value

Yes
In a cell i have a value like: 02.01-28.02
in the next cell i have i want the value from the next row
in the matrix
02.01-28.02
01.03-31.10
01.11-01.01
PÃ¥ske mv*
In this case 01.03-31.10
But if my value in my first cell is 01.11-01.01
then the value in my second cell shal be PÃ¥ske mv*
because this is the next row
Alvin


"Mike H" skrev:

Hi,

I don't understand. Please explain the logic for deriving the second value
from the first with particular emphasis on 'and so on'

02.01-28.02
01.03-31.10


Mike

"alvin Kuiper" wrote:

Hi!
I have this in some cells.
02.01-28.02
01.03-31.10
01.11-01.01
PÃ¥ske mv*

In another cell I have
01.03-31.10
What i want now in another cell
is the next vaule (row) after
01.03-31.10
But if my value in my first cell is 02.01-28.02 then
the next value (row) is 01.03-31.10 ans so on

Can i do this ?

Alvin

  #5  
Old May 15th, 2009, 08:56 AM posted to microsoft.public.excel.misc
alvin Kuiper
external usenet poster
 
Posts: 45
Default the next value

thanks

Alvin


"Jacob Skaria" skrev:

Dear Alvin

Try the below. You have the below series in A1:A3

02.01-28.02
01.03-31.10
01.11-01.01

In B1 enter "02.01-28.02"
In B2 enter the below formula and drag that down...

=INDEX($A$1:$A$3,IF(MATCH(B1,$A$1:$A$3,0)=3,1,MATC H(B1,$A$1:$A$3,0)+1))


If this post helps click Yes
---------------
Jacob Skaria


"alvin Kuiper" wrote:

Hi!
I have this in some cells.
02.01-28.02
01.03-31.10
01.11-01.01
PÃ¥ske mv*

In another cell I have
01.03-31.10
What i want now in another cell
is the next vaule (row) after
01.03-31.10
But if my value in my first cell is 02.01-28.02 then
the next value (row) is 01.03-31.10 ans so on

Can i do this ?

Alvin

  #6  
Old May 15th, 2009, 04:55 PM posted to microsoft.public.excel.misc
Teethless mama
external usenet poster
 
Posts: 3,722
Default the next value

=INDEX($A$1:$A$3,MOD(ROW()-1,3)+1)


"alvin Kuiper" wrote:

Hi!
I have this in some cells.
02.01-28.02
01.03-31.10
01.11-01.01
PÃ¥ske mv*

In another cell I have
01.03-31.10
What i want now in another cell
is the next vaule (row) after
01.03-31.10
But if my value in my first cell is 02.01-28.02 then
the next value (row) is 01.03-31.10 ans so on

Can i do this ?

Alvin

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:17 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.