web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Calculated Column Form...
Power Apps
Answered

Calculated Column Formula (Multiple Conditions)

(0) ShareShare
ReportReport
Posted on by 22

I have a calculated Text column 'Status' in the PATROLS SharePoint list.

 

=IF(ISBLANK([Out of Service Date/Time]),"In Service","Out of Service")

 

The current formula, which is working, looks a singular column 'Out of Service Date/Time'. If that value is null, the Status value is "In Service" and if it is not null the Status value is "Out of Service".

 

I would like the formula to consider two date columns 'In Service Date/Time and 'Out of Service Date/Time'

 

If both of the aforementioned value are null, then 'Status' is "Scheduled"

If 'In Service Date/Time' is not null, but 'Out of Service Date/Time is null, then 'Status' is "In Service"

If both 'In Service Date/Time' and 'Out of Service Date/Time' are not null, then 'Status' is "Out of Service"

 

Thank you so much!

Categories:
I have the same question (0)
  • Verified answer
    SebS Profile Picture
    4,803 Super User 2026 Season 1 on at

    @krispag 

     

    I'm not sure if that will work, but You can try to replace other with whatever You like:

     

    =IF(
     AND(ISBLANK([In Service Date/Time]), ISBLANK([Out of Service Date/Time])),
     "Scheduled",
     IF(
     AND(NOT(ISBLANK([In Service Date/Time])), ISBLANK([Out of Service Date/Time])),
     "In Service",
     IF(
     AND(NOT(ISBLANK([In Service Date/Time])), NOT(ISBLANK([Out of Service Date/Time]))),
     "Out of Service",
     "Other"
     )
     )
    )

     

  • BhaskarDhone Profile Picture
    1,394 Super User 2026 Season 1 on at

    try this something similar to this

    =IF(AND(ISBLANK([In Service Date/Time]), ISBLANK([Out of Service Date/Time])), "Scheduled",
     IF(ISBLANK([Out of Service Date/Time]), "In Service",
     "Out of Service")
    )

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard