Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
K.S.Warrier
 
Posts: n/a
Default To find different values in Col B corresp. to repeated vaues in c

Is there any formula to find the different(1st,2nd,3rd...) values in column
B(B1:B10) corresponding to repeated values in column A(A1:A10),without
creating another column?
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this array formula by entering with the key combo of
CTRL,SHIFT,ENTER:

=INDEX($B$1:$B$10,SMALL(IF($A$1:$A$10=1,ROW
($A$1:$A$10)),ROW(1:1)))

Replace the "1" in the IF function with whatever the
repeated value from col A is or use a cell reference.

You can find every Nth value by copying down. If you only
want to find the specific Nth value just change the 1:1 in
the second ROW function to the Nth value you want to find.
Example: 3:3 for the 3rd value.

An alternative would be to use a reference cell to hold
the Nth value you want to return. For example, in C1 you
enter 3 to return the 3rd value:

=INDEX($B$1:$B$10,SMALL(IF($A$1:$A$10=1,ROW
($A$1:$A$10)),ROW(INDIRECT("A"&C1))))

Biff

-----Original Message-----
Is there any formula to find the different

(1st,2nd,3rd...) values in column
B(B1:B10) corresponding to repeated values in column A

(A1:A10),without
creating another column?
.

  #3   Report Post  
Ken Wright
 
Posts: n/a
Default

Do you mean simply highlight them?

If so then select A1:B10, do Format / Conditional formatting, change cell
vaue is to formula is and put in =$A1<$B1

Now hit the format button, choose a nice pastel colour and hit OK until you
are out.

Regards
Ken....................

"K.S.Warrier" wrote:

Is there any formula to find the different(1st,2nd,3rd...) values in column
B(B1:B10) corresponding to repeated values in column A(A1:A10),without
creating another column?

  #4   Report Post  
K.S.Warrier
 
Posts: n/a
Default

Thanks a lot Mr.Biff
K.S.Warrier


"Biff" wrote:

Hi!

Try this array formula by entering with the key combo of
CTRL,SHIFT,ENTER:

=INDEX($B$1:$B$10,SMALL(IF($A$1:$A$10=1,ROW
($A$1:$A$10)),ROW(1:1)))

Replace the "1" in the IF function with whatever the
repeated value from col A is or use a cell reference.

You can find every Nth value by copying down. If you only
want to find the specific Nth value just change the 1:1 in
the second ROW function to the Nth value you want to find.
Example: 3:3 for the 3rd value.

An alternative would be to use a reference cell to hold
the Nth value you want to return. For example, in C1 you
enter 3 to return the 3rd value:

=INDEX($B$1:$B$10,SMALL(IF($A$1:$A$10=1,ROW
($A$1:$A$10)),ROW(INDIRECT("A"&C1))))

Biff

-----Original Message-----
Is there any formula to find the different

(1st,2nd,3rd...) values in column
B(B1:B10) corresponding to repeated values in column A

(A1:A10),without
creating another column?
.


  #5   Report Post  
K.S.Warrier
 
Posts: n/a
Default

Thanks a lot Mr.Ken Wright.
I meant not simply highlighting.
K.S.Warrier

"Ken Wright" wrote:

Do you mean simply highlight them?

If so then select A1:B10, do Format / Conditional formatting, change cell
vaue is to formula is and put in =$A1<$B1

Now hit the format button, choose a nice pastel colour and hit OK until you
are out.

Regards
Ken....................

"K.S.Warrier" wrote:

Is there any formula to find the different(1st,2nd,3rd...) values in column
B(B1:B10) corresponding to repeated values in column A(A1:A10),without
creating another column?



  #6   Report Post  
Ken Wright
 
Posts: n/a
Default

I'm a tad confused - If you don't want to highlight them and don't want
another column, where exactly do you want the data to be returned to, and in
what format?

Regards
Ken...........

"K.S.Warrier" wrote:

Thanks a lot Mr.Ken Wright.
I meant not simply highlighting.
K.S.Warrier

"Ken Wright" wrote:

Do you mean simply highlight them?

If so then select A1:B10, do Format / Conditional formatting, change cell
vaue is to formula is and put in =$A1<$B1

Now hit the format button, choose a nice pastel colour and hit OK until you
are out.

Regards
Ken....................

"K.S.Warrier" wrote:

Is there any formula to find the different(1st,2nd,3rd...) values in column
B(B1:B10) corresponding to repeated values in column A(A1:A10),without
creating another column?

  #7   Report Post  
K.S.Warrier
 
Posts: n/a
Default

Hi Mr.Biff,
I have tried.But I am not getting the result correctly.In one example,first
value/text is got,for 2nd,3rd,...values ,same value is showing.In some
example error message #value! or #REF! is shown.After entering the formula,I
have pressed CTRL,SHIFT,ENTER.I have only 2 columns(A1:A10 ) &(B1:B10) in the
example.Whether the formula is applicable for values(both numbers & texts) in
column A & B.
Thanks in advance
K.S.Warrier

"K.S.Warrier" wrote:

Thanks a lot Mr.Biff
K.S.Warrier


"Biff" wrote:

Hi!

Try this array formula by entering with the key combo of
CTRL,SHIFT,ENTER:

=INDEX($B$1:$B$10,SMALL(IF($A$1:$A$10=1,ROW
($A$1:$A$10)),ROW(1:1)))

Replace the "1" in the IF function with whatever the
repeated value from col A is or use a cell reference.

You can find every Nth value by copying down. If you only
want to find the specific Nth value just change the 1:1 in
the second ROW function to the Nth value you want to find.
Example: 3:3 for the 3rd value.

An alternative would be to use a reference cell to hold
the Nth value you want to return. For example, in C1 you
enter 3 to return the 3rd value:

=INDEX($B$1:$B$10,SMALL(IF($A$1:$A$10=1,ROW
($A$1:$A$10)),ROW(INDIRECT("A"&C1))))

Biff

-----Original Message-----
Is there any formula to find the different

(1st,2nd,3rd...) values in column
B(B1:B10) corresponding to repeated values in column A

(A1:A10),without
creating another column?
.


  #8   Report Post  
K.S.Warrier
 
Posts: n/a
Default

Hi Mr. Ken Wright,
What I want is not to highlight,but to get value/text in a cell(D1) where I
apply the formula.Suppose A1:A10 contains 10 values/texts (with some
repetitions) &B1:B10 contains the corresponding values/texts.I want to verify
the value/text of C1 in A1:A10 & to get corresponding value/text from
B1:B10,even though the value in C1 is a repeated one in BA1:A10.
Thanking you,
K.S.Warrier

"Ken Wright" wrote:

I'm a tad confused - If you don't want to highlight them and don't want
another column, where exactly do you want the data to be returned to, and in
what format?

Regards
Ken...........

"K.S.Warrier" wrote:

Thanks a lot Mr.Ken Wright.
I meant not simply highlighting.
K.S.Warrier

"Ken Wright" wrote:

Do you mean simply highlight them?

If so then select A1:B10, do Format / Conditional formatting, change cell
vaue is to formula is and put in =$A1<$B1

Now hit the format button, choose a nice pastel colour and hit OK until you
are out.

Regards
Ken....................

"K.S.Warrier" wrote:

Is there any formula to find the different(1st,2nd,3rd...) values in column
B(B1:B10) corresponding to repeated values in column A(A1:A10),without
creating another column?

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
Second serie doesn't use X-as values JackRnl Charts and Charting in Excel 1 January 20th 05 01:04 AM
Excel has a "Find Next" command but no "Find Previous" command. Michael Fitzpatrick Excel Discussion (Misc queries) 2 January 10th 05 11:45 PM
in excel, how do I find which values doesn't have a pair? jackies_place Excel Discussion (Misc queries) 2 December 17th 04 05:43 PM
How do you find duplicate values in excel- 2 columns of numbers rickmanz Excel Discussion (Misc queries) 1 December 15th 04 11:16 PM


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