Need to Lookup with Row and Column

Kulo5856

New Member
Joined
May 11, 2020
Messages
36
Office Version
  1. 365
  2. 2013
  3. 2010
Platform
  1. Windows
  2. Mobile
  3. Web
Hi Everyone,
I need to get data from row and column which is very urgent
Kindly solve this issue and do the needful

CC.xlsx
ABCDEFGHIJK
1ABCDEJ
2Karnataka, Tamil Nadu & Pondicherry, Andhra Pradesh, KeralaChennaiDelhi, New Delhi, Gaziabad, Guragon, Faridabad, Noida, Haryana, Uttar Pradesh & RajasthanPunjab, Chandigarh, Uttarakhand & Himachal PradeshWest Bengal, Bihar, Jharkhand & Orissa, Chinchwad, Pimpri, Maharashtra, Goa, Ahmedabad, Gujarat, Daman & Diu, Dadra & Nagar Havelli,Chattisgarh & Madhya PradeshGuwahati & North East, Jammu & Kashmir
31232216298315265348
42232216298315265348ZoneA
53232216298315265348Weight2If I enter weight in this cell
64232216298315265348
75232216298315265348ChargesI need to get the value from particular zone
86232216298315265348
97232216298315265348also if if weight exceeds above 71 kg need to multiply with the value
108232216298315265348
119232216299315268354
1210243223317335283379
1311258235339359302407
1412273248361382320435
1513287260383406339464
1614302273405430358492
1715316285427454376520
1816331298449477395548
1917346310471501413576
2018360323493525432604
2119375336515549450633
2220389348537572469661
2321404361559596488689
2422419373581620506717
2523433386603644525745
2624448398625667543773
2725462411647691562802
2826477423669715581830
2927492436691739599858
3028506448713762618886
3129521461735786636914
3230535473757810655943
3331550486779834673971
3432565499801857692999
35335795118238817111027
36345945248459057291055
37356085368679297481083
38366235498899527661112
39376385619119767851140
403865257493210008041168
413966758695410248221196
424068159997610478411224
434169661199810718591252
4442711624102010958781281
4543725636104211188971309
4644740649106411429151337
4745754662108611669341365
4846769674110811909521393
4947784687113012139711421
5048798699115212379891450
51498137121174126110081478
52508277241196128510271506
53518427371218130810451534
54528577491240133210641562
55538717621262135610821590
56548867741284138011011619
57559007871306140311201647
58569157991328142711381675
59579308121350145111571703
60589448251372147511751731
61599598371394149811941760
62609748501416152212121788
63619888621438154612311816
646210038751460157012501844
656310178871482159312681872
666410329001504161712871900
676510479121526164113051929
686610619251548166513241957
696710769371570168813431985
706810909501592171213612013
716911059621614173613802041
727011209751636176013982069
73
7471.0 - 99.014.6012.5421.9823.7518.5928.17
75100.0 - 299.014.6012.5421.9823.7518.5928.17
76300.0 - 499.014.6012.5421.9823.7518.5928.17
77500.0 - 999.014.6012.5421.9823.7518.5928.17
781,000.0 - 9,999.014.6012.5421.9823.7518.5928.17
79
80
Sheet1
 
This is because, in your data you have used 71.0 - 99.0 and so on for all weights above 70
View attachment 26358
Therefore the formula does not recognize your weight as 71 or 99 and so on.
You have to use exact search criteria as mentioned in your data, e.g. 71.0 - 99.0 or 300.0 - 499.0 and so on.

View attachment 26359

for instance try using the weight 100.0 - 299.0 and let me know what happens?
i tried sir, but i need the formula which shows the value based on our weight range like 82 kg, 112 kg etc..
Because value will change as per weight and Zone wise.
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
1605790234906.png

If zone values donot change above 71kg and your data "only" looks like the one as shown above then, use

Excel Formula:
=IF(J5>70,(INDEX($B$1:$G$78,MATCH("Above 71 Kg",$A$1:$A$78,0),MATCH($J$4,$B$1:$G$1,0))*70),INDEX($B$1:$G$78,MATCH($J$5,$A$1:$A$78,0),MATCH($J$4,$B$1:$G$1,0)))

this looksup the value "Above 71 kg" and returns respective values.
 
Upvote 0
Solution
View attachment 26363
If zone values donot change above 71kg and your data "only" looks like the one as shown above then, use

Excel Formula:
=IF(J5>70,(INDEX($B$1:$G$78,MATCH("Above 71 Kg",$A$1:$A$78,0),MATCH($J$4,$B$1:$G$1,0))*70),INDEX($B$1:$G$78,MATCH($J$5,$A$1:$A$78,0),MATCH($J$4,$B$1:$G$1,0)))

this looksup the value "Above 71 kg" and returns respective values.
Thanks sir its works fine..
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,565
Members
449,038
Latest member
Guest1337

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