Πώς να αναζητήσετε μια τιμή και να επιστρέψετε το κελί πάνω ή κάτω στο Excel;
Στο Excel, χρησιμοποιούμε τη συνάρτηση VLOOKUP για να βρούμε μια συγκεκριμένη τιμή από δεδομένα εύρους, αλλά ξέρετε πώς να αναζητήσετε μια τιμή και, στη συνέχεια, να επιστρέψετε τις τιμές πάνω ή κάτω; Στην πραγματικότητα, μπορείτε να χρησιμοποιήσετε τη λειτουργία INDEX για να το χειριστείτε.
Αναζητήστε μια τιμή και επιστρέψτε το κελί πάνω ή κάτω
Αναζητήστε μια τιμή και επιστρέψτε το κελί παραπάνω
Επιλέξτε ένα κενό κελί που θέλετε να τοποθετήσετε την τιμή επιστροφής και πληκτρολογήστε αυτόν τον τύπο =INDEX(A1:A8,MATCH(D1,A1:A8,0)-1,1), πατήστε εισάγετε κλειδί για να επιστρέψετε την τιμή. Δείτε το στιγμιότυπο οθόνης:
Αναζητήστε μια τιμή και επιστρέψτε το κελί παρακάτω
Επιλέξτε ένα κενό κελί που θέλετε να τοποθετήσετε την τιμή επιστροφής και πληκτρολογήστε αυτόν τον τύπο =INDEX(A1:A8,MATCH(D1,A1:A8,0)+1,1), πατήστε εισάγετε κλειδί για να λάβετε το αποτέλεσμα. Δείτε το στιγμιότυπο οθόνης:
Note: στους τύπους, το πρώτο A1: A8 είναι το εύρος όπου αναζητάτε τιμή και το δεύτερο A1: A8 είναι το εύρος όπου θέλετε να αναζητήσετε το κριτήριο, D1 είναι η τιμή που αναζητάτε, 1 υποδεικνύετε το αριθμός στήλης που θέλετε να επιστρέψετε.
Αν θέλετε να αναζητήσετε μια τιμή και να επιστρέψετε παρακάτω και τα 3 κελιά στα δεξιά της αναφοράς, μπορείτε να εφαρμόσετε αυτόν τον τύπο =INDEX(F1:H8,MATCH(K1,F1:F8,0)+1,3).
Υπόδειξη.Εάν θέλετε να αναζητήσετε γρήγορα μια τιμή και να επιστρέψετε σε άλλη στήλη, δοκιμάστε να χρησιμοποιήσετε το Kutools για Excel Αναζητήστε μια τιμή στη λίστα όπως φαίνεται στο παρακάτω στιγμιότυπο οθόνης. Είναι πλήρης λειτουργία χωρίς περιορισμό σε 60 ημέρες, κάντε λήψη και κάντε μια δωρεάν δοκιμή τώρα.
Αυξήστε τις δεξιότητές σας στο Excel με τα Kutools για Excel και απολαύστε την αποτελεσματικότητα όπως ποτέ πριν. Το Kutools για Excel προσφέρει πάνω από 300 προηγμένες δυνατότητες για την ενίσχυση της παραγωγικότητας και την εξοικονόμηση χρόνου. Κάντε κλικ εδώ για να αποκτήσετε τη δυνατότητα που χρειάζεστε περισσότερο...
This comment was minimized by the moderator on the site
Hi, I need help with this excel formula. I want to the display largest values with their corresponding names, i have 3 names with the same name value but my formula returns only 1 name for all the 3 values. =INDEX(Client,MATCH(L6,Month,0)).
This comment was minimized by the moderator on the site
Hi there... what formula can I use to say .. if the sum of a formula in a cell is greater than a number then return the amount greater than 48 in the cell below?
This comment was minimized by the moderator on the site
Hi, Cindy, I do not know how your data display. Here I have a formula =INDEX(G1:G6,MATCH(IF(I1>100,MIN(IF(G1:G6>K1,G1:G6))),G1:G6,0)+1,1) which use for this example:
In G1:G6, it lists some products and prices, in I1 is the sum of a formula, in K1 type 48 into it. Then suppose that if the sum is greater than 100, it will show the cell contents below the value that greater than 48 of list G1:G6. See screenshot:
If you just want to return the number which is greater than 48 when the sum is greater than 100, use formula =IF(I1>100,MIN(IF(G1:G6>K1,G1:G6)))
This comment was minimized by the moderator on the site
Hi, i´m having the following issue, i m using the MIN function to retrieve the smallest value of a row but i m not able to retrieve the value of the cell next to the smallest
each of these values are in a cell and what i need is for ex: smallest value is 0.61 so i want to retrieve the cell right next to it 2443. im using Office 2010. thanks a lot
This comment was minimized by the moderator on the site
Hi, Paulo, if all your data is in a row, and each of them in a single cell, you can try this formula: =INDIRECT(CELL("address",INDEX(A1:J1,MATCH(MIN(A1:J1),A1:J1,0)+1))), if your data is in to columns, such as:
0,82 690
0,92 721
0,61,2446
0,71 2443
114 2212
you can visit this tutorial How To VLOOKUP The Lowest Value And Return Adjacent Cell In Excel?, it will hel you.
This comment was minimized by the moderator on the site
I can only get this formula to perform by putting the MATCH clause in additional parentheses so as to carry out the arithmetic function. Otherwise it returns a #VALUE error.
This comment was minimized by the moderator on the site
I'm trying to figure out a way to bring a customer number (text field) by looking up the invoice number. See below. I want to go to another sheet and if cell equals 6491 then return customer number 007517 (text field), and if cell equals 6487 return 009897
This comment was minimized by the moderator on the site
Hi, Brad Grimes, Excel VLOOKUP function can help you to quickly solve the job. Pleae visit this tutorial LOOKUP Values from Another Worksheet or Workbook, it provides examples to explain how to use the VLOOOKUP function.
This comment was minimized by the moderator on the site
Anyone able to answer John Chapman's question from four years ago? I have similar challenge. My current formula is =COUNTIFS(G2:G16482,"<2",I2:I16482,F16490)
but I want to count the occurence of the value in cell F16490 in the row above for the range I2:I16482.
This comment was minimized by the moderator on the site
Hello, This is useful for the row above or below but I would like to alternate the lookup sometimes +1 to +3 or - 1 to -3. Can I make one formula that uses an input cell reference so I can type in an offset?
This comment was minimized by the moderator on the site
I have multiple rows with "Name" in the row just above the cell with a person's name in it. The formula works great for just one name but I have a few thousand names. How do I convert the formula so it will find each name and bring them into a separate column?