# Creating Heat Map - Round down to the 30 minute intervals

#### DarrenF

##### Board Regular
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

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

#### Scott Huish

##### MrExcel MVP
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.

#### DarrenF

##### Board Regular
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.

Replies
6
Views
140
Replies
0
Views
185
Replies
2
Views
498
Replies
1
Views
258
Replies
4
Views
296

1,148,108
Messages
5,744,878
Members
423,907
Latest member
zerocool88

### 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.

### Which adblocker are you using?

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

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