Creating Heat Map - Round down to the 30 minute intervals

DarrenF

Board Regular
Joined
Jun 9, 2014
Messages
90
Hello,

Need some help trying to figure out why when I create a heat map from different timeframes that I'm only getting ":00" and ":30" and not 8:00am, 8:30am, 9:00am, 9:30am...etc. I'm using the formula =FLOOR(N2,"0:30") to round the timeframe to the half hour. I'm sure using "0:30" is probably what's causing that to happen. Does know a different way I can get the time frame to round down to the nearest 30 minute time frame.

Example:
All the times below should be 8:00am

8:15am
8:22am
8:25am
8:29am
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
First off, Excel won't recognize that as a time without a space before the am/pm.
When that is fixed, format as a time and it should work fine.


Excel 2010
NO
28:15 AM8:00 AM
38:22 AM8:00 AM
48:25 AM8:00 AM
58:29 AM8:00 AM
Sheet1
Cell Formulas
RangeFormula
O2=FLOOR(N2,"0:30")
O3=FLOOR(N3,"0:30")
O4=FLOOR(N4,"0:30")
O5=FLOOR(N5,"0:30")
 
Upvote 0
Thanks Scott for the reply, I had it formatted correctly in excel.

When I make it a pivot table my column is only showing :00 and :30, it wont show each time interval from 8:00 AM to 5:00 PM by the half hour.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,208
Members
452,618
Latest member
Tam84

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