Hi
I am trying to create an anonymised list of clients and activities in a community group that monitors funding sources and client attendance over time.
I have two sheets:
ClientData contains full un-anonymised data from clients – name, contact details, membership no , AttendanceNumber and activity .
Lookup has a list of activities with a corresponding 4 digit code for each activity’s funding source, code for Attendance1, Attendance2+ and Other (used for activities that aren't funded externally or that aren't used for reporting back to funders)
I wish to create a third sheet that shows just the client membership number and the code that corresponds to their activity. I would normally just use index/match or a simple lookup (I have done this for the funding source) but am getting stuck with the attendance number aspect. I need the formula to look up a client ID and if it is their 1st attendance, look up the code in the Lookup/Attendance1 column. If it is not a first attendance (ie ClientData/Attendance is >1), look in the Attendance2+ column and then, if either of those columns are empty, return the corresponding value from the "other" column and return this value
I hope I have explained this properly! Thanks in advance for any help
J
Bookmarks