Afternoon guys,
I work in a hospital and we're trying to relate one spreadsheet to another in order to deduct whether a patient already has a record. To do this im searching for a match of surname and date of birth.
I created a small model to test the IF(AND forumla on before I implemented it into general use, I am having one problem though the AND statement seems to be working more like an OR statement.
If you could help me out i'd appreciate it greatly!
ive attached a screenshot just to show, the values in A1 and G1 are the values being searched for, if both are in the corresponding lists im trying to get HAF to be displayed, otherwise NOT HAF. Currently if one matches then HAF will be shown, but I need both criteia to be fulfilled.
Thanks for your time, I greatly appreciate any efforts to help me out this tight spot!
Cheers Jack
the forumla i currently have is: =IF(AND(ISNA(VLOOKUP(A1,$B$1:$B$20,1,FALSE)),(ISNA(VLOOKUP(G1,$H$1:$H$20,1,FALSE)))),E1,E2)
(All data in the screenshot is fictional)
Bookmarks