Xlookup Between Two Values

acool

Board Regular
Joined
Feb 10, 2023
Messages
121
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone,
I am currently trying to create an xlookup formula that provides provides a value back based on a Min & Max. In this example, I would like to find the value if the Dimensional weight in F2 falls between the Weight Min & Max, and the Tier Size also matches in Column A. So in this example, the incremental fee in column H would be .40 because Shipping classification is standard and the dimensional weight falls between 4-20. Any help in creating this formula would be greatly appreciated.

Thank You!

1705071114729.png
 

Attachments

  • 1705071039299.png
    1705071039299.png
    40 KB · Views: 7
  • 1705071101121.png
    1705071101121.png
    40.2 KB · Views: 7
  • 1705071101088.png
    1705071101088.png
    40.2 KB · Views: 7

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Try:

varios 12ene2024.xlsm
ABCDEFGH
1ShippingMinMaxIncremental Feedim WeightTier SizeIncremental Fee
2Standard0105Standard0.40
3Standard220
4Standard330
5Standard4200.4
6Standard21300.4
7Standard31500.4
8Standard511500.4
9Overside010
10Overside220
11Overside330
12Overside4200.4
13Overside21300.4
14Overside31500.4
15Overside511500.4
16Large-Oversize010
17Large-Oversize220
18Large-Oversize330
19Large-Oversize4200.4
20Large-Oversize21300.4
21Large-Oversize31500.4
22Large-Oversize511500.4
23Big1505000.8
Hoja2
Cell Formulas
RangeFormula
H2H2=SUMIFS(D2:D23,A2:A23,G2,B2:B23,"<="&F2,C2:C23,">="&F2)


NOTE: I adjusted the values in the first values, because, for example, the number 1 appears in 2 shipping.


----- --

Version for 365:
Excel Formula:
=FILTER(D2:D23,(A2:A23=G2)*(B2:B23<=F2)*(C2:C23>=F2))



😇
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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