Results 1 to 3 of 3

Thread: Formula to calculate largest value, only when applicable

  1. #1

    Formula to calculate largest value, only when applicable



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Dear All

    Hi

    We would like to come up with latest date for each site , but we only need the largest date to show up in the summary section only when all dates are completed for each site, otherwise it should show "Pending")

    See thel link below for further details

    https://www.dropbox.com/s/72le2f7kdugv90a/Dates.xlsx?dl=0

    Kindly help me out

    Regards

    Shehbaz H.

  2. #2
    Super Moderator NBVC's Avatar
    Join Date
    May 2011
    Location
    Mississauga, Canada
    Posts
    1,518
    Articles
    0
    Excel Version
    Excel 2016
    Try:

    =IF(COUNTIFS($A$11:$A$58,A3,$B$11:$B$58,"dd-mmm-yyyy")>0,"pending",AGGREGATE(14,6,$B$11:$B$58/($A$11:$A$58=A3),1))

    copied down


  3. #3

    Formula to calculate largest value, only when applicable

    Quote Originally Posted by NBVC View Post
    Try:

    =IF(COUNTIFS($A$11:$A$58,A3,$B$11:$B$58,"dd-mmm-yyyy")>0,"pending",AGGREGATE(14,6,$B$11:$B$58/($A$11:$A$58=A3),1))

    copied down

    Thank you Sir, it is working

Posting Permissions

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