I'm trying to pull data from a sheet within my workbook which is populated by using a VBA Userform. This (Database) sheet works fine and contains everything I need. I've named the columns in the database sheet. In a different sheet I'm trying to extract data from this sheet by using this formula:
=IF(AND($C$3=Name,$C$5=Department,$C$4=Week),SUMIF(Work,$C15,Monday),0)
The cells C3, C4 and C5 are entry fields in this sheet (from lookup tables to match exactly the conventions used in the data sheet). Cell C15 is static data looking for a match in the "Work" range.
I'm not getting the results it should produce.
Thoughts?
Bookmarks