Return Value if between Numbers in table, and if other cell matches row in Table?

futureexcelguru

New Member
Joined
Jan 25, 2022
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
Hi everyone, I keep finding formulas online that match only one requirement and not all combined.
I have data in a table like so
Column A: Policy
Column B: Starting Range (#)
Column C: Ending Range (#)
Column D: Tier to Assign

In another cell based on the years of service and policy assignment per employee, I need a formula to kick out which Tier that employee would fall under. Theres about 20 policies and the ranges vary per policy. Here is a smaller simplified snapshot of a sample .. any help is appreciated! I'm relatively new to complex formulas so i'm sure its something i'm completely just not thinking of.

Only value i'm looking to return is H10 from the table to the left based on H8 and H9

Capture.PNG
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi, maybe something along:
Data.xlsx
ABC
1DescYOSTier
2PA01
3PA32
4PB01
5PB32
6PB93
7PD01
8
9
10
11PolicyPB
12YOS5
13Tier2
Futureexcelguru
Cell Formulas
RangeFormula
B13B13=INDEX(Table5[Tier],MATCH(B12,IF(Table5[Desc]=B11,Table5[YOS]),1))
 
Upvote 0
Another option
Excel Formula:
=SUMIFS(D:D,A:A,H9,B:B,"<="&H8,C:C,">="&H8)
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

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