Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Adding row to a column

$
0
0

I have a list of data.  It's sales and customer counts for each quarter hour of a day for a week.  Only problem is some quarter hours didn't have sales and were skipped over in the file generated.  The file comes from another source so I am trying to standardize the list so it can be outputted to a waiting template.  I'm trying to figure out how to fill in the missing times with zeroes.  Each day should have 96 row.  The time goes from 00:00 to 23:45. The 00:00 equals midnight, then comes 12:15 am and so on.

 

Time     Sales     Customer

00:00     $25       2

00:15     $12       1

00:45      $2.50   1

01:00      $5        1

01:30     $80       3

02:00     $276.85 15

 

The list would go on.  How do I fill in the spaces, in this instance it would 00:30, 01:15, and 01:45?  I tried generating rows which gave me a good count of the number of rows I had for each day but didn't fill in the missing rows.  Any help would be greatly appreciated.

 

Thank you,

Brad


Viewing all articles
Browse latest Browse all 4999

Trending Articles