Help with simple fucntion

abberyfarm

Well-known Member
Joined
Aug 14, 2011
Messages
733
Hi there,

I have date and time in column A. Would anybody know a function to put numbers in column B that increase by 1 in each 15 minute block?

Here is an example.

Appreciate any help

Excel Workbook
AB
1Date/Time*
201/09/2014 00:00:100
301/09/2014 00:01:070
401/09/2014 00:11:430
501/09/2014 00:12:410
601/09/2014 00:13:390
701/09/2014 00:14:360
801/09/2014 00:15:341
901/09/2014 00:16:321
1001/09/2014 00:17:301
1101/09/2014 00:18:271
1201/09/2014 00:26:101
1301/09/2014 00:27:071
1401/09/2014 00:28:051
1501/09/2014 00:29:031
1601/09/2014 00:30:012
1701/09/2014 00:30:582
1801/09/2014 00:31:562
1901/09/2014 00:32:542
2001/09/2014 00:43:302
2101/09/2014 00:44:272
2201/09/2014 00:45:253
2301/09/2014 00:46:233
2401/09/2014 00:56:583
2501/09/2014 00:57:563
2601/09/2014 00:58:543
2701/09/2014 00:59:523
2801/09/2014 01:00:494
2901/09/2014 01:05:394
3001/09/2014 01:06:374
Sheet1
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi thanks for your reply.

This formula seems to maxeout at 95 when the date changes and then reset to 0,1,2...etc

Would you know a workaround to keep it increasing even when the date changes?

Many thanks
 
Last edited:
Upvote 0
Hi thanks for your reply.

This formula seems to maxeout at 95 when the date changes and then reset to 0,1,2...etc

Would you know a workaround to keep it increasing even when the date changes?

Many thanks


Yes, try the following formula instead. Note that I have used 01/09/2014 as the starting point for the count, but you can change this as required:

=24*4*(ROUNDDOWN(A2,0)-DATE(2014,9,1))+(4*HOUR(A2)+ROUNDDOWN(MINUTE(A2)/15,0))
 
Upvote 0

Forum statistics

Threads
1,214,912
Messages
6,122,204
Members
449,072
Latest member
DW Draft

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