+ Reply to Thread
Results 1 to 2 of 2

No of Cyclists and Weather chart

  1. #1
    Registered User
    Join Date
    12-06-2016
    Location
    Poole
    MS-Off Ver
    MS 365 Subscription, Vers. 2310
    Posts
    84

    No of Cyclists and Weather chart

    Hey all

    I have a database that records the no of employees that cycle to work, but it also records the weather type.

    I have build a simple chart to show the average of cyclists per week but I would like to go a step further and find a way to include weather into that, as during a rainy day the no of cyclists is lower.

    Is there a way to include this in a chart of some sort.

    Any help is much appreciated.

    Cheers

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: No of Cyclists and Weather chart

    I'm not sure how you have your chart set up, but it sounds like you're looking for the AVERAGEIFS function, which would calculate an average with certain conditions. In my sample attachment, the data is in A:C, you can enter a start date in E2, and end date in F2, and a weather type in G2. The average number of cyclists between those dates with that weather type will appear in H2 using the formula:

    =AVERAGEIFS(B2:B20,A2:A20,">="&E2,A2:A20,"<="&F2,C2:C20,G2)

    Take a look at the attachment; hopefully it proves helpful. If not, please provide a sample workbook using Go Advanced --> Manage Attachments so we can get a better idea of what you're working with.
    Attached Files Attached Files
    If your problem has been solved, please use "Thread Tools" to mark the thread as "Solved".

    If you're grateful for this site's existence and would like to contribute to the community, please consider posting something hilarious in our joke thread:
    https://www.excelforum.com/the-water...ke-thread.html

+ 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] Weather Forecast Spreadsheet
    By Inti in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-23-2019, 04:10 PM
  2. [SOLVED] Which formula for particular weather data
    By Xandler in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-15-2017, 04:54 PM
  3. Weather in spreadsheet
    By Vokey9 in forum Excel General
    Replies: 0
    Last Post: 03-08-2016, 11:00 AM
  4. Activity each month per person or weather chart
    By itshewe in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-23-2016, 09:56 PM
  5. Replies: 7
    Last Post: 12-25-2012, 08:54 PM
  6. weather gadgets
    By nazar_agawin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-28-2010, 06:40 AM
  7. Weather Chart
    By David D in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 12-05-2005, 11:39 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