Is there a way to combine these two formulas? IF and NETDAYS, use of TODAY function
I would like to return a value based on the total number of Medicare Days used prior to admission, plus the total days elapsed since admission to calculate day 100, or benefit exhaust date.
I've worked out the individual pieces but I'm having trouble combining the two.
- In the Days Remaining Column, I have this: =100 - NETDAYS([Admit Readmit or Pickup Date]@row, TODAY()) - [Prior MCA Days Used]@row
- (Total benefit allowed is 100 days)
- In the Day 100 Benefit Exhaust column I have this: =TODAY(+[Days Remaining]@row)
- In the Payer Type Column I have this: =IF([Primary Payer]@row = "Medicare A", "Yes", "No")
I am looking to accomplish the following:
- Combine the Days Remaining formula with the Payer Type formula so that a value is only displayed in the Days Remaining Column if the Primary Payer field is "Medicare A". Otherwise it should remain blank.
- Combine the Day 100 Benefits Exhaust formula with the Payer Type formula so that a date value is only returned if the Primary Payer field is "Medicare A". Otherwise it should remain blank.
Thank you
Best Answer
-
Hey @Paula Meunier
If I understand your request correctly, well done, you've already completed the heavy lifting.
We could work directly off the "Medicare A" response like this
=IF([Primary Payer]@row = "Medicare A", 100 - NETDAYS([Admit Readmit or Pickup Date]@row, TODAY()) - [Prior MCA Days Used]@row)
If the statement is false, nothing will happen, will means the cell would automatically remain blank. You would do the same for your Benefit Exhaust formula.
Or, since you already have a Yes/No to the Medicare question, we could also use that response.
=IF([Payer Type]@row="Yes", 100 - NETDAYS([Admit Readmit or Pickup Date]@row, TODAY()) - [Prior MCA Days Used]@row)
=IF([Payer Type]@row = "Yes", TODAY()+[Days Remaining]@row)
Will these work for you?
Kelly
Answers
-
Hey @Paula Meunier
If I understand your request correctly, well done, you've already completed the heavy lifting.
We could work directly off the "Medicare A" response like this
=IF([Primary Payer]@row = "Medicare A", 100 - NETDAYS([Admit Readmit or Pickup Date]@row, TODAY()) - [Prior MCA Days Used]@row)
If the statement is false, nothing will happen, will means the cell would automatically remain blank. You would do the same for your Benefit Exhaust formula.
Or, since you already have a Yes/No to the Medicare question, we could also use that response.
=IF([Payer Type]@row="Yes", 100 - NETDAYS([Admit Readmit or Pickup Date]@row, TODAY()) - [Prior MCA Days Used]@row)
=IF([Payer Type]@row = "Yes", TODAY()+[Days Remaining]@row)
Will these work for you?
Kelly
-
It worked, thank you so much Kelly!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!