John Col
Board Regular
- Joined
- Aug 19, 2015
- Messages
- 67
Dear All,
I am struggling with a formula for a week now and really would like to find a solution to this problem. I have read a lot of forums/websites and did not found the solution yet
It is relative easy to explain:
Raw data is
-----------Column 1-----------Column 2
Row 1--------------20------------------2
Row 2--------------80------------------4
Row 3--------------60------------------3
Row 4--------------50------------------5
Row 5--------------50------------------8
Row 6-------------100-----------------10
Below, I sort column 1 from low to high with the SMALL function. The question is how to have the same values in column 2 as in the raw data.
I can not use a standard vlookup function because it will display two times a "5" in column 2 because of raw 2 and 3 has a value 50 .
New data is
------------Column 1--------Column 2--------I need to have in column 2 the values > as in the raw data
Row 1--------------20---------------- ?--------------2 This is the outcome I am looking for
Row 2--------------50-------------- --?--------------5 This is the outcome I am looking for
Row 3--------------50-----------------?--------------8 This is the outcome I am looking for
Row 4--------------60-----------------?--------------3 This is the outcome I am looking for
Row 5--------------80-----------------?--------------4 This is the outcome I am looking for
Row 6-------------100-----------------?-------------10 This is the outcome I am looking for
Thank you very very very much.
Hope someone have the solution to this problem .
Best wishes,
John Cole
I am struggling with a formula for a week now and really would like to find a solution to this problem. I have read a lot of forums/websites and did not found the solution yet
It is relative easy to explain:
Raw data is
-----------Column 1-----------Column 2
Row 1--------------20------------------2
Row 2--------------80------------------4
Row 3--------------60------------------3
Row 4--------------50------------------5
Row 5--------------50------------------8
Row 6-------------100-----------------10
Below, I sort column 1 from low to high with the SMALL function. The question is how to have the same values in column 2 as in the raw data.
I can not use a standard vlookup function because it will display two times a "5" in column 2 because of raw 2 and 3 has a value 50 .
New data is
------------Column 1--------Column 2--------I need to have in column 2 the values > as in the raw data
Row 1--------------20---------------- ?--------------2 This is the outcome I am looking for
Row 2--------------50-------------- --?--------------5 This is the outcome I am looking for
Row 3--------------50-----------------?--------------8 This is the outcome I am looking for
Row 4--------------60-----------------?--------------3 This is the outcome I am looking for
Row 5--------------80-----------------?--------------4 This is the outcome I am looking for
Row 6-------------100-----------------?-------------10 This is the outcome I am looking for
Thank you very very very much.
Hope someone have the solution to this problem .
Best wishes,
John Cole