Index Match error

Dexir

New Member
Joined
Oct 27, 2018
Messages
38
Office Version
  1. 2016
  2. 2013
Platform
  1. Windows
Greetings all! i have this sheet, i am trying to figure out this result with Index match, the (Red filled cell) for reference that what i want. with If condition its work, but too lengthy at all. please give a solution.
Thanks in advance!
Working2.xlsx
ABCDEFGH
1SecondaryPrimary
2slab 110100
3slab 215200
4slab 325300
5slab 450400
6slab 5100500
7slab 6200600
8slab 7700700
9
10Town StatusDeal SlabTotal SalesOk/Not Ok
11SecondarySlab 115OkNot OK
12SecondarySlab 218
13SecondarySlab 328
14SecondarySlab 455
15SecondarySlab 5106
16SecondarySlab 6202
17SecondarySlab 215
18PrimarySlab 1101
19PrimarySlab 2201
20PrimarySlab 3301
21PrimarySlab 4401
22PrimarySlab 5501
23PrimarySlab 6601
24PrimarySlab 7701
25
Sheet1
Cell Formulas
RangeFormula
E11E11=IF(AND(INDEX($B$2:$C$8,MATCH($B11,$A$2:$A$8,0),MATCH($A11,$B$1:$C$1,0)>=$C11),(INDEX($B$2:$C$8,MATCH($B11,$A$2:$A$8,0),MATCH($A11,$B$1:$C$1,0))<=$B3)),"Ok","Not Ok")
G11G11=IF(A11=B$1,IF(AND(B11=A$2,$C11>=$B$2,C11<B$3),"OK","Not OK"))
 
Thanks alot, but sorry to say that i am using MS Office 2016 in office. any alternate ?
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
It would have helped if your profile had been correct.
Try
Excel Formula:
=IF(AND(C11>=INDEX($B$2:$C$8,MATCH(B11,$A$2:$A$8,0),MATCH(A11,$B$1:$C$1,0)),C11<IFERROR(INDEX($B$2:$C$8,MATCH(B11,$A$2:$A$8,0)+1,MATCH(A11,$B$1:$C$1,0)),1000)),"Ok", "Not Ok")
 
Upvote 0
Solution
Thanks alot it is working perfectly. and sorry for profile updation.
I updated now.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,083
Messages
6,123,020
Members
449,092
Latest member
ikke

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