IF formula , with item found on another sheet
Hi,
I am trying to create a formula. i want to return a patient's status based on if that patient is found on another sheet.
I have 2 sheets
- list of active patients
- available cases 7.6
I have a an admission ID on both sheets which can be used in a vlookup type of formula.
if the admission ID is found on the "available cases 7.6" sheet, it should return a status of "Case is open" on the list of active patients sheet in the column of "Available cases". if the admission ID is not found on the available cases 7.6 sheet, it should return a status of "Filled" on the list of active patients sheet in the column of "Available cases".
im attaching screenshots of both sheets
thank you for ur help
Best Answer
-
Hi @malky neiman, you can use a countifs to look for the number of occurrences of a your ID. If the count is greater than zero, you know it's on the page.
=IF(COUNTIFS({Admission ID}, [Admission ID]@row)>0, "Case is open", "Filled")
Answers
-
Hi @malky neiman, you can use a countifs to look for the number of occurrences of a your ID. If the count is greater than zero, you know it's on the page.
=IF(COUNTIFS({Admission ID}, [Admission ID]@row)>0, "Case is open", "Filled")
-
This worked! thank you so much for your help
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!