excel - Splitting data into specific, unequal, time ranges -
i have split excel vendor report 2 thousand instances pivot table displays instances occured before 5pm, between 5-7pm , after 7 pm , stumped how this. tried adding column if , and functions test time stamp falls within given ranges range pulls before 5 pm category reason. suggestions?
you right need helper column if want pivot table able pull in data. in column right of current data block, assume timestamp in column a, time/date format excel reads such, try (starting in column right of current data block, row 1 , dragged down):
=if(hour(a1)>19,"after 7pm",if(hour(a1)>17,"after 5pm, before 7pm","before 5pm"))
this first check if it's after 7pm, , if isn't checks if it's after 5pm, , if isn't know it's before 5pm.
if doesn't work show data; guess 'time stamp' isn't being read time stamp excel.
Comments
Post a Comment