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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
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,061
Messages
6,122,921
Members
449,094
Latest member
teemeren

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