Vlookup to return the highest and lowest value

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
802
Office Version
  1. 365
Hi Guys! I'm trying to determine areas based on an Airport code. Is there a formula that would do a lookup to find the Lowest value in column A and the highest value in column a based on search criteria in D2.

Copy of Air Freight ACI Zip Codes by Airport Code.xlsx
ABCDE
1ZipCodeCityStateAirportZone
207823BELVIDERENJABEC
307863OXFORDNJABEC
407882WASHINGTONNJABEC
508804BLOOMSBURYNJABEC
608808BROADWAYNJABEC
708848MILFORDNJABEC
808865ALPHANJABEB
908865PHILLIPSBURGNJABEB
1008886STEWARTSVILLENJABEC
1118011ALBURTISPAABEB
1218013ROSETOPAABEC
1318013BANGORPAABEC
1418013EAST BANGORPAABEC
1518014BATHPAABEB
1618015BETHLEHEMPAABEA
1718016BETHLEHEMPAABEA
1818017BETHLEHEMPAABEB
1918017BUTZTOWNPAABEB
2018017FREEMANSBURGPAABEB
2118018BETHLEHEMPAABEA
2218032CATASAUQUAPAABEA
2318034CENTER VALLEYPAABEC
2418036COOPERSBURGPAABEC
2518037COPLAYPAABEB
2618041EAST GREENVILLEPAABEC
2718042WEST EASTONPAABEB
2818042WILLIAMS TOWNSHIPPAABEB
2918042EASTONPAABEB
3018046EAST TEXASPAABEB
3118049EMMAUSPAABEB
3218051FOGELSVILLEPAABEB
3318052WHITEHALLPAABEB
3418052HOKENDAUQUAPAABEB
3518055HELLERTOWNPAABEB
3618059LAURYS STATIONPAABEB
3718062MACUNGIEPAABEB
3818063MARTINS CREEKPAABEB
3918064NAZARETHPAABEB
4018067NORTHAMPTONPAABEB
4118071PALMERTONPAABEC
4218072PEN ARGYLPAABEC
4318073PENNSBURGPAABEC
4418073RED HILLPAABEC
4518077RIEGELSVILLEPAABEC
4618079SLATEDALEPAABEC
4718080SLATINGTONPAABEC
4818080EMERALDPAABEC
4918083STOCKERTOWNPAABEB
5018085TATAMYPAABEB
5118087TREXLERTOWNPAABEB
5218088WALNUTPORTPAABEC
5318091WIND GAPPAABEC
5418101ALLENTOWNPAABEA
5518102ALLENTOWNPAABEA
5618103ALLENTOWNPAABEA
5718104ALLENTOWNPAABEA
5818105ALLENTOWNPAABEA
5918106WESCOSVILLEPAABEB
6018106ALLENTOWNPAABEB
6118175ALLENTOWNPAABEA
6218195ALLENTOWNPAABEA
6318235WEISSPORTPAABEC
6418235LEHIGHTONPAABEC
6518301EAST STROUDSBURGPAABEC
6618327DELAWARE WATER GAPPAABEC
6718343MOUNT BETHELPAABEC
6818351PORTLANDPAABEC
6918353SAYLORSBURGPAABEC
7018360STROUDSBURGPAABEC
7118951QUAKERTOWNPAABEC
7219530KUTZTOWNPAABEC
7319539MERTZTOWNPAABEC
7419562TOPTONPAABEC
Sheet1
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Try:
Book3
ABCDEFGH
1ZipCodeCityStateAirportZone
27823BELVIDERENJABECAirportABE
37863OXFORDNJABECHighest Zipcode19562
47882WASHINGTONNJABECLowest Zipcode7823
Sheet2
Cell Formulas
RangeFormula
H3H3=MAXIFS(A2:A74,D2:D74,H2)
H4H4=MINIFS(A2:A74,D2:D74,H2)
 
Upvote 0
Solution

Forum statistics

Threads
1,223,929
Messages
6,175,453
Members
452,643
Latest member
gjcase

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