VLOOKUP PROBLEM

AydanTarverdiyeva

New Member
Joined
Oct 3, 2022
Messages
4
Office Version
  1. 2019
Hi. I have problem with excel but i cant explain. please help me
 

Attachments

  • Untitled.png
    Untitled.png
    136.6 KB · Views: 23

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I can understand that you don't want to sort apple and banana - recently we had a similar thread on the forum

Draw some clues from it and just in case you need further help, be open to post your query here.

Check this -
 
Upvote 0
Just as @Fluff mentioned you are using Excel 2019 in that case you have rely on INDEX-MATCH not sure if VLOOKUP or LOOKUP will serve the purpose.

But if you share some 'close to' or real sample data using XL2BB probably some solution can be derived.
 
Upvote 0
Just as @Fluff mentioned you are using Excel 2019 in that case you have rely on INDEX-MATCH not sure if VLOOKUP or LOOKUP will serve the purpose.

But if you share some 'close to' or real sample data using XL2BB probably some solution can be derived.
Thank you but i have not unique or xlookup formulas.
 
Upvote 0
You can use the remove duplicates under the DATA ribbon to get the data in column C.
Then try the formula below.
With your version of Excel you will probably need to enter the formula with CTRL-SHIFT-ENTER.
Then move across and down as needed.

Book1
ABCDEFGHI
1
2apple2017Year
3apple2018apple20172018  
4sugar2019sugar201520162019 
5sugar2016banana2014201520172018
6sugar2015
7banana2014
8banana2015
9banana2017
10banana2018
Sheet1
Cell Formulas
RangeFormula
F3:I5F3=IFERROR(SMALL(IF($A$2:$A$10=$E3,$B$2:$B$10),COLUMNS($F$2:F2)),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Along with the formula I gave you in post#8 above, here is a formula using the AGGREGATE function that does not require CTRL-SHIHT-ENTER. Just ENTER.
Just drag the formula down and across as needed.

Book1
ABCDEFGHI
1
2apple2017Year
3apple2018apple20172018  
4sugar2019sugar201520162019 
5sugar2016banana2014201520172018
6sugar2015
7banana2014
8banana2015
9banana2017
10banana2018
Sheet1
Cell Formulas
RangeFormula
F3:I5F3=IFERROR(AGGREGATE(15,6,IF($A$2:$A$10=$E3,$B$2:$B$10),COLUMNS($F$2:F$2)),"")
 
Upvote 0
You can use the remove duplicates under the DATA ribbon to get the data in column C.
Then try the formula below.
With your version of Excel you will probably need to enter the formula with CTRL-SHIFT-ENTER.
Then move across and down as needed.

Book1
ABCDEFGHI
1
2apple2017Year
3apple2018apple20172018  
4sugar2019sugar201520162019 
5sugar2016banana2014201520172018
6sugar2015
7banana2014
8banana2015
9banana2017
10banana2018
Sheet1
Cell Formulas
RangeFormula
F3:I5F3=IFERROR(SMALL(IF($A$2:$A$10=$E3,$B$2:$B$10),COLUMNS($F$2:F2)),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
Thank you very much! i have one more question. Is this formula can be use for not only numbers or years, for texts? i have same problem with that. Now i have no years but texts
 
Upvote 0

Forum statistics

Threads
1,223,881
Messages
6,175,161
Members
452,615
Latest member
bogeys2birdies

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