how to find and paste the x value of a certain Y value

bartdv

New Member
Joined
Sep 4, 2014
Messages
3
X
00,2736110,5463890,8183331,0908331,3636111,6355561,9083332,1813892,4544442,7269442,9988893,2719443,5447223,8169444,094,3627784,6341674,9072225,185,4527785,7247225,99756,276,5427786,8152787,0872227,3591677,6319447,9047228,1772228,9258339,1977789,4702789,74305610,0155610,287510,5602810,8322211,1047211,3766711,6494411,9219412,1944412,4658312,7388913,0108313,2836113,5555613,8283314,1008314,3727814,6447214,9166715,1894415,4622215,7347216,0066716,2797216,5519416,8247217,0972217,3697217,642517,9152818,1877818,4605618,7336119,0063919,2783319,5511119,8230620,0958320,3688920,6408320,9136121,1863921,4583321,7313922,0041722,2772222,5497222,8227823,0947223,3686123,6402823,9130624,1863924,4580624,7325,0027825,2755625,5486125,8205626,0936126,3663926,6388926,9116727,1841727,4561127,7291728,0013928,2744428,5472228,8229,0927829,3658329,6386129,9113930,1841730,4569430,7331,002531,2744431,5472231,8191732,0919432,3638932,6358332,9088933,1813933,4538933,7261133,9977834,2716734,54534,8169435,0905635,3633335,6358335,9077836,1797236,4522236,72536,9977837,2697237,5422237,8152838,0880638,3638,6327838,9055639,1786139,4505639,7222239,9952840,2672240,5397240,8133341,0872241,3594441,6319441,9047242,1783342,4519442,72542,9983343,2722243,54543,8169444,0905644,3638944,6363944,9097245,1833345,4569445,7294446,0030646,2755646,5483346,8213947,0941747,3669447,6397247,9130648,1869448,4597248,7330649,0058349,2777849,5516749,8252850,0980650,3713950,6452850,9188951,192551,4658351,7397252,012552,2852852,5586152,8313953,1047253,3786153,6513953,92554,1983354,4713954,7441755,0155655,2897255,562555,83556,1077856,3808356,6536156,9269457,1997257,472557,7461158,0186158,2927858,5652858,8380659,1119459,3855659,6594459,9322260,2058360,4777860,7505661,0241761,2977861,5705661,8433362,1172262,3891762,6616762,9352863,2088963,4813963,7541764,0280664,3013964,5741764,8461165,1197265,3913965,66565,9383366,2122266,4844466,7583367,0319467,3055667,5788967,8530668,1255668,3980668,6702868,9436169,2172269,4897269,7638970,0363970,3091770,5830670,8566771,1286171,4022271,6752871,9472272,2208372,4941772,7680673,0394473,3119473,5855673,8591774,132574,40574,6788974,9516775,2244475,4980675,7705676,0436176,3158376,5976,8616777,1336177,40577,6791777,9519478,2252878,4972278,7711179,0430679,3158379,5894479,8619480,13580,4077880,6791780,9516781,2244481,4969481,7697282,042582,3141782,5872282,8588983,1308383,4038983,6766783,9486184,2205684,4927884,7652885,0372285,3102885,5822285,85586,1269486,3983386,6708386,9436187,2155687,4888987,7605688,0336188,3063988,5780688,8511189,1230689,3961189,6686189,9411190,2138990,4866790,7586191,0316791,3044491,5766791,8494492,1219492,3938992,6669492,9383393,2116793,4844493,7563994,0294494,3022294,5741794,8469495,1197295,3930695,6647295,9366796,2097296,4822296,75597,0269497,2988997,5713997,8433398,1158398,3886198,6605698,9336199,2058399,477599,74972100,0217100,2942100,5661100,8394101,1114101,3833101,6561101,9292102,2006102,4731102,7458103,0175103,2914103,5639103,8369104,1097104,3825104,6553104,9281105,2006105,4733105,745106,0172106,2897106,5628106,8344107,1069107,3806107,6542107,9278108,2011108,4747108,7483109,0219109,2947
Y58,5880720,5880752,5880711,58807-239,412-319,412-389,412-357,412-398,412-305,412-427,412-319,412-154,412-375,412-250,412-297,412-203,412-405,412-315,412-101,412-150,412-168,412-270,412-123,412-185,41226,58807-125,412-244,412136,5881182,5881-230,412-145,412391,5881267,588193,5880754,58807374,5881140,5881330,5881375,5881196,5881212,5881536,5881199,5881389,5881604,5881467,588159,58807-9,4119347,58807545,5881310,5881564,5881646,5881705,5881371,58811067,588643,5881538,5881674,5881823,5881694,5881850,5881855,5881852,58811110,5881412,5881571,5881891,5882190,5881993,5882191,5882646,5882950,5882904,5883303,5883737,5883846,5884327,5884056,5884762,5885166,5885964,5886282,5887858,5888549,5889578,58810515,5912240,5913804,5915386,5916584,5924860,5918872,5918845,5932024,5932780,5932745,5933313,5943169,5942439,5940325,5951763,5948811,5961913,5965539,5971339,5962005,5973080,5977396,5980690,5984152,5982499,5987798,5986589,5988956,5984620,5988782,5997093,59112559,697716,59105863,6103314,6120254,695753,59102809,6108508,6107744,6110980,6107909,6105047,6100796,6125571,6103970,6106139,6102489,6108592,6109744,6125682,6125933,6129637,6108159,6105794,6111297,6104304,6137576,6121521,6108169,6122699,6127110,6114879,6117651,6117140,6113323,6109746,6119577,6129808,6124803,6134618,6180208,6161400,6156211,6163348,6176658,6158798,6173784,6141107,6173386,6149431,6170780,6180893,6163022,6144342,6123813,6175691,6144975,6160065,6158710,6178510,6122096,6169226,6186298,6159141,6142417,6214943,6187755,6179554,6169906,6213019,6171971,6176920,6186293,6143303,6178418,6178268,6200769,6215292,6184864,6186063,6200877,6218061,6167961,6188353,6194374,6189318,6156814,6187668,6210884,6223245,6191960,6194748,6228633,6186745,6231359,6212609,6157645,6196224,6175596,6178360,6203716,6193531,6208802,6246878,6223348,6221581,6195984,6232726,6218586,6232550,6220264,6213092,6220381,6212052,6218702,6220532,6241258,6198612,6199124,6237375,6234983,6206740,6223654,6216421,6227253,6229371,6244208,6233426,6208270,6219115,6246958,6246036,6187813,6230436,6204199,6221964,6220420,6192841,6239659,6213148,6245900,6235998,6223392,6226696,6200601,6246958,6223779,6246659,6224147,6218475,6188742,6222706,6216243,6212335,6230831,6218088,6238653,6198615,6219303,6245272,6239076,6246958,6244774,6212859,6227968,6245915,6231626,6192642,6246164,6231335,6226806,6239867,6225405,6235797,6233359,6202870,6245910,6246958,6245947,6233115,6245091,6243966,6227244,6245808,6199359,6228825,6246958,6213554,6215161,6246958,6246958,6231573,6225016,6214137,6246911,6235182,6242463,6232098,6221164,6229546,6246958,6240088,6229498,6221216,6246922,6203347,6234492,6238458,6238854,6232998,6218063,6246958,6223804,6214201,6212428,6246958,6246953,6246958,6238326,6216020,6241684,6218508,6246958,6220354,6231724,6246958,6232973,6211366,6246898,6211004,6237548,6235803,6210664,6244843,6224869,6246958,6238823,6234752,6233114,6225730,6244444,6216157,6215184,6213756,6230605,6226396,6246958,6237194,6219898,6246771,6222282,6242271,6246958,6232507,6243576,6215232,6245970,6244639,6246958,6232107,6238808,6244491,6225947,6223587,6229279,6246958,6234475,6240220,6213381,6246797,6230104,6240818,6233488,6246567,6207311,6246958,6246958,6234388,6246958,6225578,6231969,6
Y
50001000015000200002500030000350004000045000
X?????????
<colgroup><col width="64" style="width: 48pt;" span="401"> <tbody> </tbody>

Dear Experts

I am in search for a formula that will do the following:
In the row with the Y data I would like to search for the cell nearest to +5000 and copy the data of that corresponding X cell into the cell marked in yellow.
I don’t see how to work this out.
Thanks in advance
Bart
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi, so for 5000 do you want to see 2227722 or 2254972?
 
Upvote 0
Hi, so for 5000 do you want to see 2227722 or 2254972?

Dear Cyrubrd
Thans for your respons.
For Y equals or above 5000 I would like to see 22,54972, for 10.000 I would like to see 24,1863, for 15.000 --> 25,00278
The Y values are measured values. I would like to find the X belonging to the first Y value just above 5000, 10.000, 15.000, ... I mention the first value above ... because sometimes the measured values go up, down and up again.

Would this be possible to construct a formula for this?

thanks again
Bart
 
Upvote 0
Dear Cyrubrd
Thans for your respons.
For Y equals or above 5000 I would like to see 22,54972, for 10.000 I would like to see 24,1863, for 15.000 --> 25,00278
The Y values are measured values. I would like to find the X belonging to the first Y value just above 5000, 10.000, 15.000, ... I mention the first value above ... because sometimes the measured values go up, down and up again.

Would this be possible to construct a formula for this?

thanks again
Bart

X109.2947109.0219108.7483108.4747108.2011107.9278107.6542107.3806107.1069106.8344106.5628106.2897106.0172105.745105.4733105.2006104.9281104.6553104.3825104.1097103.8369103.5639103.2914103.0175102.7458102.4731102.2006101.9292101.6561101.3833101.1114100.8394100.5661100.2942100.021799.7497299.477599.2058398.9336198.6605698.3886198.1158397.8433397.5713997.2988997.0269496.75596.4822296.2097295.9366795.6647295.3930695.1197294.8469494.5741794.3022294.0294493.7563993.4844493.2116792.9383392.6669492.3938992.1219491.8494491.5766791.3044491.0316790.7586190.4866790.2138989.9411189.6686189.3961189.1230688.8511188.5780688.3063988.0336187.7605687.4888987.2155686.9436186.6708386.3983386.1269485.85585.5822285.3102885.0372284.7652884.4927884.2205683.9486183.6766783.4038983.1308382.8588982.5872282.3141782.042581.7697281.4969481.2244480.9516780.6791780.4077880.13579.8619479.5894479.3158379.0430678.7711178.4972278.2252877.9519477.6791777.40577.1336176.8616776.5976.3158376.0436175.7705675.4980675.2244474.9516774.6788974.40574.132573.8591773.5855673.3119473.0394472.7680672.4941772.2208371.9472271.6752871.4022271.1286170.8566770.5830670.3091770.0363969.7638969.4897269.2172268.9436168.6702868.3980668.1255667.8530667.5788967.3055667.0319466.7583366.4844466.2122265.9383365.66565.3913965.1197264.8461164.5741764.3013964.0280663.7541763.4813963.2088962.9352862.6616762.3891762.1172261.8433361.5705661.2977861.0241760.7505660.4777860.2058359.9322259.6594459.3855659.1119458.8380658.5652858.2927858.0186157.7461157.472557.1997256.9269456.6536156.3808356.1077855.83555.562555.2897255.0155654.7441754.4713954.1983353.92553.6513953.3786153.1047252.8313952.5586152.2852852.012551.7397251.4658351.192550.9188950.6452850.3713950.0980649.8252849.5516749.2777849.0058348.7330648.4597248.1869447.9130647.6397247.3669447.0941746.8213946.5483346.2755646.0030645.7294445.4569445.1833344.9097244.6363944.3638944.0905643.8169443.54543.2722242.9983342.72542.4519442.1783341.9047241.6319441.3594441.0872240.8133340.5397240.2672239.9952839.7222239.4505639.1786138.9055638.6327838.3638.0880637.8152837.5422237.2697236.9977836.72536.4522236.1797235.9077835.6358335.3633335.0905634.8169434.54534.2716733.9977833.7261133.4538933.1813932.9088932.6358332.3638932.0919431.8191731.5472231.2744431.1002530.7330.4569430.1841729.9113929.6386129.3658329.0927828.8228.5472228.2744428.0013927.7291727.4561127.1841726.9116726.6388926.3663926.0936125.8205625.5486125.2755625.0027824.7324.4580624.1863923.9130623.6402823.3686123.0947222.8227822.5497222.2772222.0041721.7313921.4583321.1863920.9136120.6408320.3688920.0958319.8230619.5511119.2783319.0063918.7336118.4605618.1877817.9152817.642517.3697217.0972216.8247216.5519416.2797216.0066715.7347215.4622215.1894414.9166714.6447214.3727814.1008313.8283313.5555613.2836113.0108312.7388912.4658312.1944411.9219411.6494411.3766711.1047210.8322210.5602810.287510.015569.7430569.4702789.1977788.9258338.1772227.9047227.6319447.3591677.0872226.8152786.5427786.275.99755.7247225.4527785.184.9072224.6341674.3627784.093.8169443.5447223.2719442.9988892.7269442.4544442.1813891.9083331.6355561.3636111.0908330.8183330.5463890.2736110
Y231969.6225578.6246958.6234388.6246958.6246958.6207311.6246567.6233488.6240818.6230104.6246797.6213381.6240220.6234475.6246958.6229279.6223587.6225947.6244491.6238808.6232107.6246958.6244639.6245970.6215232.6243576.6232507.6246958.6242271.6222282.6246771.6219898.6237194.6246958.6226396.6230605.6213756.6215184.6216157.6244444.6225730.6233114.6234752.6238823.6246958.6224869.6244843.6210664.6235803.6237548.6211004.6246898.6211366.6232973.6246958.6231724.6220354.6246958.6218508.6241684.6216020.6238326.6246958.6246953.6246958.6212428.6214201.6223804.6246958.6218063.6232998.6238854.6238458.6234492.6203347.6246922.6221216.6229498.6240088.6246958.6229546.6221164.6232098.6242463.6235182.6246911.6214137.6225016.6231573.6246958.6246958.6215161.6213554.6246958.6228825.6199359.6245808.6227244.6243966.6245091.6233115.6245947.6246958.6245910.6202870.6233359.6235797.6225405.6239867.6226806.6231335.6246164.6192642.6231626.6245915.6227968.6212859.6244774.6246958.6239076.6245272.6219303.6198615.6238653.6218088.6230831.6212335.6216243.6222706.6188742.6218475.6224147.6246659.6223779.6246958.6200601.6226696.6223392.6235998.6245900.6213148.6239659.6192841.6220420.6221964.6204199.6230436.6187813.6246036.6246958.6219115.6208270.6233426.6244208.6229371.6227253.6216421.6223654.6206740.6234983.6237375.6199124.6198612.6241258.6220532.6218702.6212052.6220381.6213092.6220264.6232550.6218586.6232726.6195984.6221581.6223348.6246878.6208802.6193531.6203716.6178360.6175596.6196224.6157645.6212609.6231359.6186745.6228633.6194748.6191960.6223245.6210884.6187668.6156814.6189318.6194374.6188353.6167961.6218061.6200877.6186063.6184864.6215292.6200769.6178268.6178418.6143303.6186293.6176920.6171971.6213019.6169906.6179554.6187755.6214943.6142417.6159141.6186298.6169226.6122096.6178510.6158710.6160065.6144975.6175691.6123813.6144342.6163022.6180893.6170780.6149431.6173386.6141107.6173784.6158798.6176658.6163348.6156211.6161400.6180208.6134618.6124803.6129808.6119577.6109746.6113323.6117140.6117651.6114879.6127110.6122699.6108169.6121521.6137576.6104304.6111297.6105794.6108159.6129637.6125933.6125682.6109744.6108592.6102489.6106139.6103970.6125571.6100796.6105047.6107909.6110980.6107744.6108508.6102809.695753.59120254.6103314.6105863.697716.59112559.697093.5988782.5984620.5988956.5986589.5987798.5982499.5984152.5980690.5977396.5973080.5962005.5971339.5965539.5961913.5948811.5951763.5940325.5942439.5943169.5933313.5932745.5932780.5932024.5918845.5918872.5924860.5916584.5915386.5913804.5912240.5910515.599578.5888549.5887858.5886282.5885964.5885166.5884762.5884056.5884327.5883846.5883737.5883303.5882904.5882950.5882646.5882191.5881993.5882190.5881891.5881571.5881412.5881110.588852.5881855.5881850.5881694.5881823.5881674.5881538.5881643.5881106.7588371.5881705.5881646.5881564.5881310.5881545.588147.58807-9.4119359.58807467.5881604.5881389.5881199.5881536.5881212.5881196.5881375.5881330.5881140.5881374.588154.5880793.58807267.5881391.5881-145.412-230.412182.5881136.5881-244.412-125.41226.58807-185.412-123.412-270.412-168.412-150412-101412-315412-405412-203412-297412-250412-375412-154412-319412-427412-305412-398412-357412-389412-319412-2394121158807525880720588075858807
Y≥50001000015000200002500030000350004000045000
X22.5497224.1863925.0027826.3663926.3663926.3663927.4561127.4561128.27444

<tbody>
</tbody>


Data in row 2 and 3 sorted by Row 3 from Largest to Smallest.
Formula in B6 is =INDEX($B$2:$OK$2,MATCH(B5,$B$3:$OK$3,-1)) copied right till J6


Note: data adjusted as format is european and I am using US format hence , are .
 
Last edited:
Upvote 0
Why not post way smaller sample which is immediately visible along with the desired results based on that sample instead of question marks?
 
Upvote 0
Would yu please define the rows?
X = row...
Y = row...
Y≥ = row...
X = row...

Whould there be a posibility not to sort backwards?
The real worksheet contains for 1 X row, 92 different Y rows. For each Y row I need to calclate the above.

sorry if I misunderstand your solution.
Bart
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top