I have a csv file of consumption data recorded every 30 mins for 365 days. How would I write a formula to find all the variables that fall between say 6am and 6pm (daylight hours) and 6.30pm to 5.30am (night time hours)? Ideally I would like a total of consumption during daylight hours and night time hours for each month of the year. The file contains a column for the date, time and consumption recorded per 30 mins. I have only limited experience with basic formulas in excel so please speak english. 


