The agency I'm Working for has requested a change/addition and to be honest I'm not sure it's possible.
I made a post back in October on the same topic https://www.excelforum.com/excel-for...statement.html
My original question was:
Thanks to the response of AliGW, I began using the following:So I'm working on an intuitive schedule for the ambulance agency I work for.
I have a 4 column with headers "Crew 1" (C5), "Crew 2" (D5), "Comments" (G5) and "Status" (I5)
The formula will be in the status column and need it to search for multiple things. First, if both crew1 and crew 2 are blank, status should be "Closed"
If Crew 1 has text, but crew 2 is blank, status should be "Open Shift"
If Both crew 1 and crew 2 have text Status should say "In-Service"
Lastly, if the comments section has the word "EMS" anywhere in it I need status to say "ROA EMS"
Below is what I came up with, which works a little, but the EMS part is a little wonky.
Formula:Please Login or Register to view this content.
This was perfect until someone needed to change it...
The same amount of columns, just different function. For ease, I have the original question posted below and the changes being made from the original are in bold.
I have a 4 column with headers "Crew 1" (C5), "Crew 2" (D5), "Comments" (G5) and "Status" (I5)
The formula will be in the status column and need it to search for multiple things.
First, if both crew1 and crew 2 are blank, status should be "Closed"
If Crew 1 has text, but crew 2 is blank, or vice versa, Crew 1 is blank, but crew 2 has text status should be "Open Shift"
If Both crew 1 and crew 2 have text Status should say "In-Service"
If the comments section has the word "Carilion EMS" anywhere in it I need status to say "Carilion EMS"
If the comments section has the word "Roanoke EMS" anywhere in it I need status to say "ROA EMS"
Again, I'm not sure if this is even possible based on the attempts I've made at this, but if anyone can help let me know! Thanks!
Bookmarks