+ Reply to Thread
Results 1 to 4 of 4

Conditional formulas

  1. #1
    Registered User
    Join Date
    03-10-2016
    Location
    Beijing, China
    MS-Off Ver
    2013
    Posts
    2

    Conditional formulas

    Hey,

    Not sure if the title for this thread is correct, I am not familiar with the meanings of excel jargon.

    But what I am looking to do is calculate values across criteria. So I have a certain amount of test subjects, and each test subject has multiple values ('cases'?) across a certain time period (value calculated each second). I want to calculate the average across each time section, based on the condition. So all conditions '1', I want them to be averaged all together along time 1, time 2, time 3 and so on (averaged across all test subjects). This way I will be able to construct 4 lines (in a graph) in total (there are 4 conditions) that progress along a certain time length (17 seconds in the illustration). I think this is not a difficult thing to do in excel, but I just dont know how to do it.
    Attached Files Attached Files
    Last edited by Blogfool; 03-10-2016 at 10:40 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,942

    Re: Conditional formulas

    Hi, welcome to the forum

    See if this is what you want? I made a small table with 1-4 going down, and seconds across the top. I only show 4 seconds, but you just need to copy across for the others...
    T
    U
    V
    W
    X
    2
    1
    2
    3
    4
    3
    1
    75.10245
    77.62356
    78.67491
    79.83947
    4
    2
    72.31643
    74.55133
    75.82663
    79.02106
    5
    3
    76.90889
    77.00493
    79.1175
    82.64388
    6
    4
    73.6959
    75.31468
    76.24143
    78.3176

    U3=AVERAGEIFS(C:C,$B:$B,$T3)
    copied across and down as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-10-2016
    Location
    Beijing, China
    MS-Off Ver
    2013
    Posts
    2

    Re: Conditional formulas

    Wow! if this really does do what its supposed to do, and it looks like it does, then you just saved me houuuurs of work!

    Thank you!!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,942

    Re: Conditional formulas

    Happy to help
    If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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] Conditional SUM Formulas
    By zanshin777 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-15-2016, 04:23 PM
  2. Conditional formulas that can be used in conditional formatting
    By Linda-Decypher in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-10-2015, 03:22 PM
  3. [SOLVED] Conditional Formulas
    By Dnyan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-08-2015, 07:39 AM
  4. Help with Conditional Formulas
    By KellyGates06 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-08-2014, 02:12 AM
  5. Excel 2007 : Conditional formulas
    By CaramelFishy in forum Excel General
    Replies: 6
    Last Post: 08-14-2011, 12:33 AM
  6. conditional formulas
    By luna55 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-12-2008, 04:16 PM
  7. [SOLVED] Conditional Formulas
    By Nick in forum Excel General
    Replies: 4
    Last Post: 04-01-2006, 02:18 AM

Tags for this Thread

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