+ Reply to Thread
Results 1 to 18 of 18

Could someone please help - functions to analyse results

  1. #1
    Registered User
    Join Date
    08-25-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2016
    Posts
    14

    Could someone please help - functions to analyse results

    I'm having difficulty developing a spreadsheet to analyse specific data that I'm interested in and would appreciate if someone could help me out.

    I have 24 hourly data for 365 days, thus giving me a total of 8760 results. However, I'm only interested in processing data that are between the hours of 08:00 and 18:00 Monday to Friday for the year.

    I don't want to account for data outwith these hours and for those occurring during the weekend.

    The purpose of my analysis is to determine the number of hours during air handling plant operation whereby the air heating load falls below 87kW. I have used conditional formatting to highlight cells red where this occurs and then IF function to identify Heating Load < 87kW? (0=No, 1=Yes).

    The idea here is that I can then sum up the total number of hours of plant operation (08:00 to 18:00 Monday to Friday for the year) and compare this total operation hours with the number of hours where the air heating load falls below 87kW. I can then determine the percentage of hours where this occurs.

    I would also like to develop an annual graph that then allows the data to be shown for the year that identifies space heating periods and summer months.

    I've tried to work this out myself and I'm struggling to progress further. I'm not looking for anyone to do the work for me, but would very much appreciate if someone can help out with some suggestions.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,256

    Re: Could someone please help - functions to analyse results

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    08-25-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Could someone please help - functions to analyse results

    Hi John,

    Thank you for your reply. I attach the workbook I have developed and also included a desired output sheet. Any ideas how I can achieve what Im looking to do?
    Attached Files Attached Files

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Could someone please help - functions to analyse results

    Create a column to enter date in every row, then just use autofilter.

    A
    B
    C
    D
    E
    F
    1
    Air Vol (m3/s)
    28.85
    2
    DutyCycle
    100%
    3
    Supply Temp (°C)
    20
    4
    Heat Recovery
    70%
    5
    Pipe Losses
    10%
    6
    7
    Date
    Weekday
    Date
    Time
    Dry-bulb Temp (°C)
    Heating Load (kW)
    2925
    2 May 2016
    Mon
    13:00
    18.0
    54.3
    2926
    2 May 2016
    Mon
    14:00
    19.0
    27.2
    2927
    2 May 2016
    Mon
    15:00
    20.1
    0.0
    2928
    2 May 2016
    Mon
    16:00
    19.4
    16.3
    2929
    2 May 2016
    Mon
    17:00
    19.5
    13.6
    3260
    16 May 2016
    Mon
    12:00
    16.8
    86.9
    3261
    16 May 2016
    Mon
    13:00
    16.9
    84.2
    3455
    24 May 2016
    Tue
    15:00
    16.9
    84.2
    3479
    25 May 2016
    Wed
    15:00
    17.0
    81.5
    3501
    26 May 2016
    Thu
    13:00
    17.6
    65.2
    3503
    26 May 2016
    Thu
    15:00
    18.6
    38.0
    Attached Files Attached Files
    Last edited by shg; 08-18-2017 at 10:53 AM.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Could someone please help - functions to analyse results

    It seems to me that heat recovery is accounted incorrectly. If you recover 70% of the heat, then the heating load is (1-70%) times all that other stuff.

    Also, it seems to me you should divide by (1 - losses) instead of multiplying by (1 + losses). That one I changed.

  6. #6
    Registered User
    Join Date
    08-25-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Could someone please help - functions to analyse results

    Thanks for your response shg.

    I've made the corrections to the calculations. Thanks for finding these.

    However, how can I add the date on each row when I have 365 days. Apologies if this is a stupid question but I can only see me being able to do this by dragging down the date to cover the hours for that day, but I will have to do individually for all 365 days. Is there an easy way to do this?

    Thanks

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Could someone please help - functions to analyse results

    I entered one formula to extract the date and copied it down. It's in the workbook I posted.

    A second formula extracts the weekday for filtering.
    Last edited by shg; 08-19-2017 at 11:38 AM.

  8. #8
    Registered User
    Join Date
    08-25-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Could someone please help - functions to analyse results

    Ok I'm trying to figure it out now. Thanks

  9. #9
    Registered User
    Join Date
    08-25-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Could someone please help - functions to analyse results

    Why is column C blank for date but is used in the formula?

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Could someone please help - functions to analyse results

    Turn off the filter and look at the formula in A8. It says if there's something in col C, use it as the date, if not use the value one cell up in col A.

    A
    B
    C
    5
    A8: =IF(C8="", A7, --(MID(C8, 6, 6) & 2016))
    6
    7
    Date
    Weekday
    Date
    8
    1 Jan 2016
    Fri Fri, 01/Jan
    9
    1 Jan 2016
    Fri
    10
    1 Jan 2016
    Fri
    11
    1 Jan 2016
    Fri

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Could someone please help - functions to analyse results

    [ deleted ]
    Last edited by shg; 08-19-2017 at 02:50 PM.

  12. #12
    Registered User
    Join Date
    08-25-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Could someone please help - functions to analyse results

    Hishg,

    I've tried what you have suggested and I'm unable to replicate on my worksheet. If you look at the attached under the working tab you can see that I have used your formula but unfortunately it does not auto fill the dates and days as per your example. I don't know what Im doing wrong. Could you please help me out again?

    Thanks
    Attached Files Attached Files
    Last edited by twmtwp; 08-21-2017 at 11:27 AM.

  13. #13
    Registered User
    Join Date
    08-25-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Could someone please help - functions to analyse results

    Ignore the last post. It's now working. Thanks

  14. #14
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Could someone please help - functions to analyse results

    For starters, there's only one date in col C.

  15. #15
    Registered User
    Join Date
    08-25-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Could someone please help - functions to analyse results

    thanks got it working. thanks for all your help

  16. #16
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Could someone please help - functions to analyse results

    You're welcome.

    I think you are still accounting for heating losses incorrectly.

  17. #17
    Registered User
    Join Date
    08-25-2009
    Location
    Scotland
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Could someone please help - functions to analyse results

    Hi shg

    I've added 10% of the total heating load on top to take account of the system losses. Why do you think this is incorrect?

  18. #18
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Could someone please help - functions to analyse results

    If you lose 10% of all the heat you add, then you also lose 10% of the heat you add to make up for losses.

    If the losses were 100%, 200% of what would otherwise be required wouldn't compensate; you'd lose all of that also. If the government increased your tax rate to 100%, how much of a raise would you need to break even?

    You need to divide by 1-loss, not multiply by 1+loss.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Returning multiple results using an Array with AND and OR functions
    By simmo86 in forum Excel General
    Replies: 6
    Last Post: 12-28-2016, 07:12 PM
  2. [SOLVED] Analyse each of the groups in a Data Table and send results to a Summary Table
    By PeterR in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-20-2015, 10:26 PM
  3. [SOLVED] Do not automatically update results for certain functions using a macro?
    By alice2011 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-22-2015, 08:32 AM
  4. [SOLVED] Chart that would analyse the results of a survey
    By renix in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 09-08-2013, 11:21 AM
  5. Differrent results with similar functions Anyone know why?
    By Jebrowsky in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-15-2013, 06:45 PM
  6. [SOLVED] Database Functions - Strange results
    By Bob in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-08-2006, 03:50 PM
  7. [SOLVED] functions are not displaying the results
    By [email protected] in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-16-2006, 09:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1