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
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!