Skip to main content

Conas an chéad luach eile is mó in Excel a fheiceáil?

doc-lookup-next-largest-value-1

Have you ever noticed that when you apply the VLOOKUP function to extract the approximate matched value by using this formula: =VLOOKUP(D2,A2:B8,2,TRUE), you will get the value less than the lookup value. However, in certain situations, you might need to find the next largest record. Look at the following example, I want to look up the corresponding date of quantity 954, now, I want it to return the date which has the higher value than 954 in the VLOOKUP, so Oct rather than Sep. In this article, I can talk about how to lookup next largest value and return its relative data in Excel.

Vlookup the next largest value and return its corresponding data with formulas


mboilgeog cheart gorm saighead Vlookup the next largest value and return its corresponding data with formulas

To deal with this task, the following formulas may help you, please do as follows:

1. Please enter this array formula: =INDEX(B2:B13,MATCH(TRUE,A2:A13>D5,0)) isteach i gcill bhán inar mian leat an toradh a chur, féach an pictiúr:

doc-lookup-next-largest-value-2

2. Ansin brúigh Ctrl + Shift + Iontráil keys together to get the correct result you need as follows:

doc-lookup-next-largest-value-3

Nótaí:

1. Excepting the above array formula, here also is another normal formula: =INDEX(B2:B13,MATCH(D5,A2:A13)+(LOOKUP(D5,A2:A13)<>D5)), after typing this formula and just press Iontráil key to find the next largest value and return its corresponding value.

2. Sna foirmlí thuas, B2: B13 is the data range that you want to extract the matched value, A2: A13 is the data range including the criterion that you want to lookup from , and D5 indicates the criteria you want to get its relative value of adjacent column, you can change them to your need.


Earraí gaolmhara:

Conas amharc i dtábla déthoiseach in Excel?

Conas amharc ar leabhar oibre eile?

Conas a vlookup chun luachanna iolracha a thabhairt ar ais i gcill amháin in Excel?

Conas comhoiriúnú beacht agus neas vlookup a úsáid in Excel?

Uirlisí Táirgiúlachta Oifige is Fearr

🤖 Kutools AI Aide: anailís sonraí a réabhlóidiú bunaithe ar: Forghníomhú Chliste   |  Gin Cód  |  Cruthaigh Foirmlí Saincheaptha  |  Anailís a dhéanamh ar Sonraí agus Cairteacha a Ghin  |  Feidhmeanna Kutools a agairt...
Gnéithe Coitianta: Faigh, Aibhsigh nó Aithnigh Dúblaigh   |  Scrios Sraitheanna Bána   |  Comhcheangail Colúin nó Cealla gan Sonraí a Chailleadh   |   Babhta gan Foirmle ...
Cuardaigh Super: Ilchritéir VLookup    VLookup Illuachanna  |   VLookup Trasna Ilbhileoga   |   Amharc doiléir ....
Liosta anuas Casta: Go tapa Cruthaigh Liosta Anuas   |  Liosta anuas Cleithiúnach   |  Liosta Buail Isteach Ilroghnacha ....
Bainisteoir Colún: Cuir Líon Sonrach Colún leis  |  Colúin Bog  |  Scoránaigh Stádas Infheictheachta na gColún Ceilte  |  Déan comparáid idir Raonta & Colúin ...
Gnéithe Réadmhaoin: Fócas Eangaí   |  Amharc Dearaidh   |   Barra Mór na Foirmle    Leabhar Oibre & Bainisteoir Bileog   |  Leabharlann Acmhainní (Uaththéacs)   |  Piocálaí Dáta   |  Comhcheangail Bileoga Oibre   |  Criptigh/Díchriptigh Cealla    Seol Ríomhphost trí Liosta   |  Scagaire Super   |   Scagaire Speisialta (scagaire trom/iodálach/stailc tríd...) ...
Barr 15 Uirlisí12 Téacs uirlisí (Cuir Téacs, Bain Carachtair,...)   |   50 + Cairt cineálacha (Cairt Gantt,...)   |   40+ Praiticiúil Foirmlí (Ríomh aois bunaithe ar lá breithe,...)   |   19 Insertion uirlisí (Cuir isteach Cód QR, Ionsáigh Pictiúr ón gCosán,...)   |   12 Tiontú uirlisí (Uimhreacha le Focail, Comhshó Airgeadra,...)   |   7 Cumaisc & Scoilt uirlisí (Sraitheanna Comhcheangail Casta, Cealla Scoilt,...)   |   ... agus eile

Supercharge Do Scileanna Excel le Kutools le haghaidh Excel, agus Éifeachtúlacht Taithí Cosúil Ná Roimhe. Kutools le haghaidh Excel Tairiscintí Níos mó ná 300 Ardghnéithe chun Táirgiúlacht a Treisiú agus Sábháil Am.  Cliceáil anseo chun an ghné is mó a theastaíonn uait a fháil ...

Tuairisc


Tugann Tab Oifige comhéadan Tabbed chuig Office, agus Déan Do Obair i bhfad Níos Éasca

  • Cumasaigh eagarthóireacht agus léamh tabbed i Word, Excel, PowerPoint, Foilsitheoir, Rochtain, Visio agus Tionscadal.
  • Oscail agus cruthaigh cáipéisí iolracha i gcluaisíní nua den fhuinneog chéanna, seachas i bhfuinneoga nua.
  • Méadaíonn do tháirgiúlacht 50%, agus laghdaíonn sé na céadta cad a tharlaíonn nuair luch duit gach lá!
Comments (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
in addition to above non array formula here is another one

=INDEX(B2:B13,INDEX(MATCH(TRUE,A2:A13>D5,0),0,0))
or
=INDEX(B2:B13,INDEX(MATCH(TRUE,A2:A13>=D5,0),0,0))

data should be in ascending order
This comment was minimized by the moderator on the site
For Decending order can you please give a formula
This comment was minimized by the moderator on the site
=INDEX(D2:D13,INDEX(MATCH(TRUE,C2:C13>G5,1),0,0))
This comment was minimized by the moderator on the site
=INDEX(B2:B13,MATCH(D5,A2:A13)+(LOOKUP(D5,A2:A13)<>D5)) not working
This comment was minimized by the moderator on the site
Thanks for this demo. It helped me out, and I can't believe Excel doesn't have an easier way to do this. The only thing I had to change was to add an "=" to : =INDEX(B2:B13,MATCH(TRUE,A2:A13>=D5,0))
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations