Share via

Max If OR Statement Help

Anonymous
2024-11-08T03:50:28+00:00

Column B: Name

Column D: Course

Column E: Frequency

Column F: Training Date

Column G: Expiration Date

Column H: Retraining Date

Column I: Status

Here are my formulas:

  1. = MAX(($B$13:$B$318=B13) * ($D$13:$D$318=D13) * ($E$13:$E$13="One Time") * ($F$13:$F$318))
  2. = MAX(($B$13:$B$318=B13) * ($D$13:$D$318=D13) * ($H$13:$H$318))

I would like to modify the above formulas into one If or statement to include the following:

  1. If the frequency is One Time then the cell is to use the formula in 1)
  2. if the frequency is not One Time then the cell is to use the formula in 2)
  3. If there is no Retraining Date then "Not Found"
  4. The date range is 01/01/2024 through 12/31/2024 - this formula should update when the year changes.

Thank you for the help.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Andreas Killer 144.1K Reputation points Volunteer Moderator
    2024-11-08T04:59:51+00:00

    =IF(H13="","Not found",
    IF(E13="One Time",
    MAX(($B$13:$B$318=B13)*($D$13:$D$318=D13)*($E$13:$E$13="One Time")*($F$13:$F$318)),
    MAX(($B$13:$B$318=B13)*($D$13:$D$318=D13)*($H$13:$H$318))))

    If you need further help I need to see your (sample) file.
    Why a sample file is important for troubleshooting. How to do it. - Microsoft Community

    Andreas.

    Was this answer helpful?

    0 comments No comments