Vlookup a time range from different Times

A Selim

New Member
Joined
Jun 3, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi Engineers,


I'm looking to have all cells only fail between =/> 12:00:00 AM and =/< 08:00:00 AM to give me a value like 1 or 0
Vlookup.png


Anyone can help please

BR
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Check if you need this

varios 03jun2020.xlsm
JK
1Created Time1/0
212:23:39 p.m.0
310:13:26 a.m.0
401:52:04 p.m.0
501:05:00 a.m.1
608:00:00 a.m.1
712:00:00 p.m.0
812:01:00 p.m.0
912:01:00 a.m.1
Hoja5
Cell Formulas
RangeFormula
K2:K9K2=IF(AND(J2>=TIMEVALUE("00:00:00"),J2<=TIMEVALUE("08:00:00")),1,0)
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,584
Messages
6,125,670
Members
449,248
Latest member
wayneho98

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