Hi
I have a workbook ("Analysis") that has multiple sheets querying another workbook ("EnquiriesDataExport"). "EnquiriesDataExport" is automatically exported from our system every 24 hours so it needs to be separate from my "Analysis".
Each sheet in "Analysis" will be the same except that the cells in each sheet will query different worksheets in "EnquiriesDataExport"
A typical cell in one "Analysis" worksheet might be:
=COUNTIFS([EnquiriesDataExport.xlsx]Interviews!$A:$A,">="&C$1,[EnquiriesDataExport.xlsx]Interviews!$A:$A,"<="&D$1,[EnquiriesDataExport.xlsx]Interviews!$C:$C,$A2)
in a second worksheet the formula will be:
=COUNTIFS([EnquiriesDataExport.xlsx]Telcons!$A:$A,">="&C$1,[EnquiriesDataExport.xlsx]Telcons$A:$A,"<="&D$1,[EnquiriesDataExport.xlsx]Telcons!$C:$C,$A2)
in a third worksheet the formula will be:
=COUNTIFS([EnquiriesDataExport.xlsx]Meetings!$A:$A,">="&C$1,[EnquiriesDataExport.xlsx]Meetings!$A:$A,"<="&D$1,[EnquiriesDataExport.xlsx]Meetings!$C:$C,$A2)
etc etc
I'd like to set up a standard sheet for the "Analysis" workbook whereby with a drop down menu which i could get all of the cells to reference the required sheet. e.g. Interviews, Telcons, Meetings.
Is there a way to do this so that my formula could "build" itself with the chosen value inserted into the string?
If i choose "Interviews" in Cell A1 dropdown then Cell A2 would change from:
=COUNTIFS([EnquiriesDataExport.xlsx]Meetings!$A:$A,..
to
=COUNTIFS([EnquiriesDataExport.xlsx]Interviews!$A:$A,..
Sorry for the long winded explanation. I've looked at CONCATENATE and INSERT but can't find a way to do what I want to do. Perhaps there is a better way altogether. Any ideas or prompts gratefully received.
Thanks
Don
I have a workbook ("Analysis") that has multiple sheets querying another workbook ("EnquiriesDataExport"). "EnquiriesDataExport" is automatically exported from our system every 24 hours so it needs to be separate from my "Analysis".
Each sheet in "Analysis" will be the same except that the cells in each sheet will query different worksheets in "EnquiriesDataExport"
A typical cell in one "Analysis" worksheet might be:
=COUNTIFS([EnquiriesDataExport.xlsx]Interviews!$A:$A,">="&C$1,[EnquiriesDataExport.xlsx]Interviews!$A:$A,"<="&D$1,[EnquiriesDataExport.xlsx]Interviews!$C:$C,$A2)
in a second worksheet the formula will be:
=COUNTIFS([EnquiriesDataExport.xlsx]Telcons!$A:$A,">="&C$1,[EnquiriesDataExport.xlsx]Telcons$A:$A,"<="&D$1,[EnquiriesDataExport.xlsx]Telcons!$C:$C,$A2)
in a third worksheet the formula will be:
=COUNTIFS([EnquiriesDataExport.xlsx]Meetings!$A:$A,">="&C$1,[EnquiriesDataExport.xlsx]Meetings!$A:$A,"<="&D$1,[EnquiriesDataExport.xlsx]Meetings!$C:$C,$A2)
etc etc
I'd like to set up a standard sheet for the "Analysis" workbook whereby with a drop down menu which i could get all of the cells to reference the required sheet. e.g. Interviews, Telcons, Meetings.
Is there a way to do this so that my formula could "build" itself with the chosen value inserted into the string?
If i choose "Interviews" in Cell A1 dropdown then Cell A2 would change from:
=COUNTIFS([EnquiriesDataExport.xlsx]Meetings!$A:$A,..
to
=COUNTIFS([EnquiriesDataExport.xlsx]Interviews!$A:$A,..
Sorry for the long winded explanation. I've looked at CONCATENATE and INSERT but can't find a way to do what I want to do. Perhaps there is a better way altogether. Any ideas or prompts gratefully received.
Thanks
Don