Question about use of VLOOKUP

Ozone9012

New Member
Joined
Sep 29, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

This is my first post and I expect I'll be here for a while, as I am trying to wrap my head around Excel :)

I have a question which baffled me for quite a bit, basically, I have this database of transactions throughout an entire year, which contains the Order no., Order date (mm/dd/yyyy), Product name, Quantity, Status, Value, Address.

I am trying to use VLOOKUP to list all the Order numbers marked as "Delivered" ( which would be listed in the Status column ) in the month of August, 2021.

If anyone could point me in the right direction, I would appreciate immensely. Thank you :)
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi & welcome to MrExcel.
You cannot use vlookup for that, but you could use filter like
Excel Formula:
=FILTER(A2:A1000,(E2:E1000="Delivered")*(TEXT(B2:B1000,"mmmyy")="Aug21"))
 
Upvote 0
Hi & welcome to MrExcel.
You cannot use vlookup for that, but you could use filter like
Excel Formula:
=FILTER(A2:A1000,(E2:E1000="Delivered")*(TEXT(B2:B1000,"mmmyy")="Aug21"))
Thanks for the quick reply and for the help <3

I will definitely try this out. What if I tried to use a pivot table and then use a Vlookup function as I can, then, rearrange the data to fit my needs.
 
Upvote 0
I've never used pivot tables, so know nothing about them. Hwever vlookup will only find the first value that matched the criteria, so it will not return all the orders numbers.
 
Upvote 0
I've never used pivot tables, so know nothing about them. Hwever vlookup will only find the first value that matched the criteria, so it will not return all the orders numbers.
Got it, I'll try to look for creative ways of looking into this, I find it quite challenging and a fun way to learn Excel. Thanks again for your help :)
 
Upvote 0
Does the formula I suggested not work?
 
Upvote 0
Does the formula I suggested not work?
Sorry for the delay, I am trying to reply as fast as I can between my other work.

It returns an error (empty array) but I think it is about the date format, I'll try to play around with it for now :)
1632931967099.png
 
Upvote 0
Do you have any orders where col F is Delivered & col C is in August?
If so check that your dates are real dates & not text. You can do that by formatting col C as General & you should see 5 digit numbers.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,826
Messages
6,121,792
Members
449,048
Latest member
greyangel23

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