VLOOUP time range

db49ers

Board Regular
Joined
Oct 13, 2002
Messages
97
I'm trying to count how many items have been sold each hour from a report. In example below between 10:00pm and 11:00pm I sold 4 items. I need to do this for each hour. How do I do a lookup for a time range? Thanks in advance!
TIME Items Sold
10:41:00 PM 2
2:42:00 PM 1
4:36:00 PM 1
8:02:00 PM 1
8:42:00 PM 1
10:07:00 PM 2
8:26:00 PM 1
2:06:00 PM 1
4:51:00 PM 1
 
This driving me nuts. If I copy what you did to a blank sheet it works. However if I try it on the data I have it doesn't work. Not sure what I am doing wrong.
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
So I believe I know why it is not working for me. The column has both date and time in it. I had formatted the cell to show time. Suggestions?
1/2/2019 12:46
1/2/2019 18:01
1/2/2019 20:36
1/3/2019 18:01
1/3/2019 22:09
1/5/2019 20:33
1/7/2019 21:33
1/8/2019 19:06
1/9/2019 13:13
1/9/2019 21:24
1/9/2019 21:53
1/10/2019 18:04
1/12/2019 21:36
1/13/2019 7:19
 
Upvote 0
I figured out how to split the column! WhooHoo! Thanks for pointing me in the right direction!
 
Upvote 0

Forum statistics

Threads
1,217,201
Messages
6,135,164
Members
449,914
Latest member
JSW

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