My research on this topic here isn't giving me any good leads but... I thought I'd ask the wise brain-pool anyway.
I have a report that I am currently running based on raw data downloaded daily. I need to be able to compare data from any download date to any other download date. This is simple with one database, but as you can imagine, that file is getting HUGE.
What I'd like to do is have my report be able to compare data from any two files based on user-entered file name. For example, the user would enter any two dates in the proper cells on the inquiry/report page, and the comparison would run for those two files only. The file names are simply the download date, 0522209.xls for example.
Is there some proper formula method to get that to work? More simply, can there be a variable file name within the lookup formula?
Example:
=sumif([052609.xls]Sheet1!$A:$A,criteria,[sum range])
but I want it to do something like:
=sumif([filename entered in cell A1.xls]Sheet1!$A:$A,criteria,[sum range])
Sorry for the meandering explanation, my brain is Excel-beat at this point. I know this is probably better suited to a proper Access database, but my knowledge of Access is limited, and my knowledge of VBA is virtually nonexistent. Any ideas, gurus?
*EDIT* If it matters, I'm using Excel 2007, and its many lovely functions. SUMIFS ftw!
I have a report that I am currently running based on raw data downloaded daily. I need to be able to compare data from any download date to any other download date. This is simple with one database, but as you can imagine, that file is getting HUGE.
What I'd like to do is have my report be able to compare data from any two files based on user-entered file name. For example, the user would enter any two dates in the proper cells on the inquiry/report page, and the comparison would run for those two files only. The file names are simply the download date, 0522209.xls for example.
Is there some proper formula method to get that to work? More simply, can there be a variable file name within the lookup formula?
Example:
=sumif([052609.xls]Sheet1!$A:$A,criteria,[sum range])
but I want it to do something like:
=sumif([filename entered in cell A1.xls]Sheet1!$A:$A,criteria,[sum range])
Sorry for the meandering explanation, my brain is Excel-beat at this point. I know this is probably better suited to a proper Access database, but my knowledge of Access is limited, and my knowledge of VBA is virtually nonexistent. Any ideas, gurus?
*EDIT* If it matters, I'm using Excel 2007, and its many lovely functions. SUMIFS ftw!
Last edited: