+ Reply to Thread
Results 1 to 4 of 4

Use vlookup to find the dates and then average the values in corresponding column

  1. #1
    Registered User
    Join Date
    03-26-2013
    Location
    Singaqpore
    MS-Off Ver
    Excel 2003
    Posts
    21

    Use vlookup to find the dates and then average the values in corresponding column

    Hello! i have a spreadsheet with dates in column A.

    In column C, i have values.

    What i want to do is find average of the values in column C when i key in a period (3/5/2015 to 3/7/205), it gives me average of the values in column C for that period.

    The issues i am unable to solve are: sometimes column A may have the same data twice, and column C may not may not have values corresponding to that date. i tried using Index and row formula but it is not working.

    Any help is appreciated

    Thank you!

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Use vlookup to find the dates and then average the values in corresponding column

    Try using SUMIFS..

    Something like

    =SUMIFS(C:C,A:A,">="&E2,A:A,"<="&F2)

    Where E2 has FROM Date & F2 has To Date.

    See the attached file if needed
    Attached Files Attached Files
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    03-26-2013
    Location
    Singaqpore
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Use vlookup to find the dates and then average the values in corresponding column

    OMG! lifesaver! thank you!

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Use vlookup to find the dates and then average the values in corresponding column

    Glad it helped..


+ 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. How to vlookup for a single column to find duplicate values
    By JayeshG in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-27-2014, 12:14 PM
  2. How to find single average the values datewise which has random dates?
    By lniraj in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-22-2014, 03:03 PM
  3. [SOLVED] Find average of lowest 5 values in a column
    By Captnpiggy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-24-2014, 04:45 PM
  4. Replies: 7
    Last Post: 07-27-2011, 10:36 PM
  5. Dates in Column A, Values in Column B, Find Certain Value
    By WilliamGCash in forum Excel General
    Replies: 4
    Last Post: 12-13-2010, 01:59 PM

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