LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dawid72
 
Posts: n/a
Default looking for another same value cell in a range and returning a coresponding value

I have been struggling for a few days with this problem and still can't
find a solution...
This is what I am trying to achieve:
1. Find another cell in column 2 with the same value as starting cell
located in the same column 2 (not second, not third and not last same
value, there are going to be just two cells with the same value and I
am looking for that other one).
2. Check value from column 3 corresponding with that cell,
3. Return this value into column 4 at the row of the starting cell.
I don't think that I am doing a great job explaining it so let me put
an example.

Referring to data shown below:
6 teams are paired in a tournament. Pair numbers are being recorded in
column 2. Column 3 represents points gained by each team and column 4
(this is what I am looking for) is supposed to show points gained by
the opponent - another team from the same pair (same value in column
2).
Starting at cell A2:
A2 value is 1 and another cell in this column with the same value is
D2. Points gained by team 4 (row D) are represented in corresponding
cell D3. I would like this value to go into the A4 cell - and represent
points gained by the opponent.
Same problem for other cells - starting at E2 I would like to insert C3
value into E4 cell.

1 2 3 4

A team1 1 A D
B team2 2 B F
C team3 3 C E
D team4 1 D A
E team5 3 E C
F team6 2 F B

I have tried LOOKUP and VLOOKUP but column 3 values are not going to be
sorted and I was not able to (for example) exclude the row, at which I
start my formula. I am clearly no able to come up with a complex
procedure that would do that... Please help.

 
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
Returning Cell Value if someone deletes the contents of a cell mmc308 Excel Worksheet Functions 4 March 31st 06 06:41 PM
First row in Selection range (first index of a cell) EXCEL VBA [email protected] Excel Worksheet Functions 1 March 20th 06 09:38 PM
Returning Macro to Starting Cell sony654 Excel Worksheet Functions 3 February 25th 06 12:02 PM
returning blank cell in criteria o Joop Excel Discussion (Misc queries) 3 June 3rd 05 02:11 PM
Returning a Value to a Cell Based on a Range of Uncertain Size amc422 Excel Worksheet Functions 7 November 14th 04 03:03 PM


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