+ Reply to Thread
Results 1 to 7 of 7

Formula to match diff column with current data

  1. #1
    Forum Contributor
    Join Date
    01-02-2015
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    2007
    Posts
    272

    Formula to match diff column with current data

    Hi again All,

    I have a formula here done by the expert Mr Siva, but I'm trying to add in another validation to only count the type from column A1 to calculate the average. I have tried inserting an IF statement in the beginning and also in the middle of the formula but it does not count it for me. Hope someone can help on this. Attached is the file.

    1) Column D1 should calculate average of Type "3" only from column A
    2) Column F1 should calculate average of Type "4" only from column A
    3) Column H1 should calculate average of Type "2" only from column A


    averagetype.xlsx

    Kind Regards,
    Mark.

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Formula to match diff column with current data

    Time Type 3:

    Please Login or Register  to view this content.
    Time Type 4:

    Please Login or Register  to view this content.
    Time Type 2:

    Please Login or Register  to view this content.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Forum Contributor
    Join Date
    01-02-2015
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    2007
    Posts
    272

    Re: Formula to match diff column with current data

    Quote Originally Posted by mcmahobt View Post
    Time Type 3:

    Please Login or Register  to view this content.
    Time Type 4:

    Please Login or Register  to view this content.
    Time Type 2:

    Please Login or Register  to view this content.
    Hi mcmahobt,

    It works perfectly for me now!!!
    Thanks for your help. Really appreciate it.

    Kind Regards,
    Mark.

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,291

    Re: Formula to match diff column with current data

    A little easier.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    01-02-2015
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    2007
    Posts
    272

    Re: Formula to match diff column with current data

    Quote Originally Posted by Czeslaw View Post
    A little easier.
    HI Czeslaw,

    Yes that works too but if the duration is blank then it does not work it return the error #Value.

    Kind Regards,
    Mark.

  6. #6
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Formula to match diff column with current data

    Quote Originally Posted by Czeslaw View Post
    A little easier.
    Easier how? Your formula is doing the exact same thing as mine, is it not?

  7. #7
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,291

    Re: Formula to match diff column with current data

    I agree, therefore seems to test another array formula. (Shift + Strl + Enter)
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Vba to subtract current date from date in column G and put static diff in column H
    By jtyoder in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-31-2013, 02:55 PM
  2. Replies: 2
    Last Post: 01-13-2013, 06:50 AM
  3. [SOLVED] Fill formula in column with data taken from diff columns
    By SergSlim in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-31-2012, 10:32 AM
  4. Match value in column, compare/chg diff cells
    By x65140 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-14-2011, 12:04 PM
  5. [SOLVED] Index? Match? Function to sort and return value fr diff column in
    By Smurfette in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-27-2006, 12:50 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