Formula Help For Time Ranges and Duration

dpg010

New Member
Joined
Jul 31, 2019
Messages
3
Hello. I have 6 times ranges. I have durations of videos, and im trying to assign range ID's to them. Basically, i dont know if i should use IF, or countIFs and vlookup. Example, if you look at the workbook and look at E2, it would fall under range ID 5. Any help is appreciated.
TLKQtPXy
TLKQtPXy


https://postimg.cc/TLKQtPXy
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Are you looking for something like this:


Book1
ABCDEF
1Time RangeRange IDDurationRange ID Assigned
20:3012:355
31:0023:596
41:3031:463
52:004
62:305
73:006
Sheet5
Cell Formulas
RangeFormula
F2=VLOOKUP(E2,$A$2:$B$7,2)
 
Upvote 0
Are you looking for something like this:

ABCDEF
1Time RangeRange IDDurationRange ID Assigned
20:3012:355
31:0023:596
41:3031:463
52:004
62:305
73:006

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet5

Worksheet Formulas
CellFormula
F2=VLOOKUP(E2,$A$2:$B$7,2)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

thank you for the quick reply. I think so, but it didnt work when i tried it.

https://i.postimg.cc/fbjGrgNy/1.png
 
Upvote 0
is the time range in column A stored as number and in same number format as in column E ?
 
Upvote 0
If you convert the number format for cell A2 to General then it should be 0.020833 and E2 should be 0.1076389
 
Upvote 0

Forum statistics

Threads
1,214,516
Messages
6,119,980
Members
448,934
Latest member
audette89

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