Formula Help
Hello
I am looking for assistance with a formula. What I need is '# of days for COC Completion' to equal 'Date COC was Finalized' - 'Date COC Determined' with a cavoite that if 'Was PCT hospitalized within 14 days of COC' = Yes, than instead of 'Date COC Determine' it needs to go off 'Date D/C from Hospital'
Is that possible?
Best Answer
-
Hi @Amber N,
If I am understanding this correctly something like this should work:
=IF([Was PCT Hospitalized within 14 days of COC?]@row = "Yes", [Date COC was Finalized]@row - [Date D/C from Hospital]@row, [Date COC was Finalized]@row - [Date COC Determined]@row)
This statement will check if that PCT Hospitalized within 14 days of COC is Yes, and if it is it will go off of Date discharged from hospital. Otherwise, if it is not Yes it will default to the COC Finalized - COC Determined.Let me know if you run into any issues with this!
Answers
-
Hi @Amber N,
If I am understanding this correctly something like this should work:
=IF([Was PCT Hospitalized within 14 days of COC?]@row = "Yes", [Date COC was Finalized]@row - [Date D/C from Hospital]@row, [Date COC was Finalized]@row - [Date COC Determined]@row)
This statement will check if that PCT Hospitalized within 14 days of COC is Yes, and if it is it will go off of Date discharged from hospital. Otherwise, if it is not Yes it will default to the COC Finalized - COC Determined.Let me know if you run into any issues with this!
-
Thank you so much, that is what I needed!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.6K Get Help
- 435 Global Discussions
- 152 Industry Talk
- 496 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 508 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!