hi - please help.
I have attached an example spread sheet. I have a column with date and time. I am trying to calculate the cost of electricity for each hour. The price is different based on the time of day and the day of the week.
so I need to check the date/time column, and if its a weekday, and between 7am and 10am I must multiply the kWh column with the electricity price, which in a separate table. there is a different price on weekdays between 7am and 10an, then again a different price between 10am and 6pm and so forth.
does anyone know how to do this?
count
15 Mins
Time and Date Date Day End Time kWh Cost Cosr (no Div0) Total kWh Cost
1900-01-05 12:00 1900-January Thursday 12:00 PM 0.00 R -
1900-01-07 12:00 1900-January Saturday 12:00 PM 0.00
1900-01-09 12:00 1900-January Monday 12:00 PM 0.00
1900-01-11 12:00 1900-January Wednesday 12:00 PM 0.00
1900-01-01 12:00 1900-January Sunday 12:00 PM 0.00
1900-01-03 12:00 1900-January Tuesday 12:00 PM 0.00 PRICE
1900-01-05 12:00 1900-January Thursday 12:00 PM 0.00 ` Low High
1900-01-07 12:00 1900-January Saturday 12:00 PM 0.00 Peak R 1.00 R 4.00
1900-01-09 12:00 1900-January Monday 12:00 PM 0.00 Standard R 2.00 R 5.00
1900-01-11 12:00 1900-January Wednesday 12:00 PM 0.00 Off Peak R 3.00 R 6.00
1900-01-01 12:00 1900-January Sunday 12:00 PM 0.00
1900-01-03 12:00 1900-January Tuesday 12:00 PM 0.00
1900-01-05 12:00 1900-January Thursday 12:00 PM 0.00
1900-01-07 12:00 1900-January Saturday 12:00 PM 0.00
1900-01-09 12:00 1900-January Monday 12:00 PM 0.00
1900-01-11 12:00 1900-January Wednesday 12:00 PM 0.00
1900-01-01 12:00 1900-January Sunday 12:00 PM 0.00
1900-01-03 12:00 1900-January Tuesday 12:00 PM 0.00
1900-01-05 12:00 1900-January Thursday 12:00 PM 0.00
1900-01-07 12:00 1900-January Saturday 12:00 PM 0.00
1900-01-09 12:00 1900-January Monday 12:00 PM 0.00
1900-01-11 12:00 1900-January Wednesday 12:00 PM 0.00
1900-01-01 12:00 1900-January Sunday 12:00 PM 0.00
1900-01-03 12:00 1900-January Tuesday 12:00 PM 0.00
Bookmarks