Extract Data from Table

Santosh080

Board Regular
Joined
Jul 15, 2016
Messages
77
Office Version
  1. 2021
Platform
  1. Windows
Hello Friends,

I have a excel data like this,

Value of ROI ->11.0011.2511.5011.7512.0012.2512.5012.7513.0013.2513.50
Value of n
61.0561.0581.0591.0601.0621.0631.0641.0651.0671.0681.069
121.1161.1181.1211.1241.1271.1301.1321.1351.1381.1411.144
181.1791.1831.1871.1921.1961.2011.2051.2101.2141.2191.223
241.2451.2511.2571.263'1.2701.2761.2821.2891.2951.3021.308
301.3151.3231.3311.3401.3481.3561.3651.3731.3821.3901.399
361.3891.3991.4101.4201.4311.4411.4521.4631.4741.4851.496
421.4671.4801.4931.5061.5191.5321.5451.5591.5721.5861.600
481.5501.5651.5811.5961.6121.6281.6441.6611.6771.6941.711
541.6371.6551.6741.6921.7111.7311.7501.7701.7891.8091.830
601.7291.7501.7721.7941.8171.8391.8621.8851.9091.9331.957
661.8261.8511.8771.9021.9281.9551.9822.0092.0362.0642.092
721.9291.9581.9872.0172.0472.0782.1092.1402.1722.2052.238
782.0382.0712.1042.1382.1732.2082.2442.2802.3172.3552.393
842.1522.1902.2282.2672.3072.3472.3882.4302.4722.5152.559
902.2732.3162.3592.4032.4492.4942.5412.5892.6372.6862.737
962.4012.4492.4982.5482.5992.6512.7042.7582.8132.8692.927
1022.5362.5902.6452.7012.7592.8182.8782.9393.0003.0653.130
1082.6792.7402.8002.8642.9292.9953.0623.1313.2013.2733.348
1142.8302.8972.9653.0363.1093.1833.2593.3363.4143.4963.580
1202.9893.0643.1403.2193.3003.3833.4683.5553.6423.7343.828



I want to extract a particular value from table when it match both value of n and ROI value. Like if Value of n= 42 and ROI= 12.25 then it should extract data =1.532

Thanks
 
Try

Excel Formula:
=SUMPRODUCT((A3:A22=O4)*(B1:L1=P4),B3:L22)

1714358530933.png
 
Upvote 0
Solution
A few more options

forum 9.2.2024.xlsm
ABCDEFGHIJKLMNOPQRS
1Value of ROI ->1111.2511.511.751212.2512.512.751313.2513.5
2Value of n
361.0561.0581.0591.061.0621.0631.0641.0651.0671.0681.069120133.642
4121.1161.1181.1211.1241.1271.131.1321.1351.1381.1411.14472122.047
5181.1791.1831.1871.1921.1961.2011.2051.211.2141.2191.22342121.519
6241.2451.2511.2571.263'1.271.2761.2821.2891.2951.3021.308
7301.3151.3231.3311.341.3481.3561.3651.3731.3821.391.399
8361.3891.3991.411.421.4311.4411.4521.4631.4741.4851.496
9421.4671.481.4931.5061.5191.5321.5451.5591.5721.5861.6
10481.551.5651.5811.5961.6121.6281.6441.6611.6771.6941.711
11541.6371.6551.6741.6921.7111.7311.751.771.7891.8091.83
12601.7291.751.7721.7941.8171.8391.8621.8851.9091.9331.957
13661.8261.8511.8771.9021.9281.9551.9822.0092.0362.0642.092
14721.9291.9581.9872.0172.0472.0782.1092.142.1722.2052.238
15782.0382.0712.1042.1382.1732.2082.2442.282.3172.3552.393
16842.1522.192.2282.2672.3072.3472.3882.432.4722.5152.559
17902.2732.3162.3592.4032.4492.4942.5412.5892.6372.6862.737
18962.4012.4492.4982.5482.5992.6512.7042.7582.8132.8692.927
191022.5362.592.6452.7012.7592.8182.8782.93933.0653.13
201082.6792.742.82.8642.9292.9953.0623.1313.2013.2733.348
211142.832.8972.9653.0363.1093.1833.2593.3363.4143.4963.58
221202.9893.0643.143.2193.33.3833.4683.5553.6423.7343.828
Sheet3
Cell Formulas
RangeFormula
S3S3=INDEX(B3:L22,MATCH(O3,A3:A22,0),MATCH(Q3,B1:L1,0))
S4S4=XLOOKUP(O4,A3:A22,XLOOKUP(Q4,B1:L1,B3:L22))
S5S5=VLOOKUP(O5, A3:L22, MATCH(Q5, A1:L1, 0), FALSE)
 
Last edited:
Upvote 0

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