Vlookup between two dates, fix ignoring 1st and last of the month

hayleyg123

New Member
Joined
May 7, 2021
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hey, newbie here ☺️

I have a sheet where I want to return the job value (Column H) to a certain column depending on it's expected order date (Column T)

So I have this for my formula... =IF(AND(T8>$W$2,T8<$W$1),H8,"")

However, if the expected order date is on the 1st or last day of the month then it is being ignored. I assume this is because I have done the formula as less than and more than... but not sure how else to do it

Hopefully someone can help me please... ?

1620397632069.png
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
You need to use >= and <=
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,999
Members
448,541
Latest member
iparraguirre89

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