G
Gemz
I posted the below on the excel worksheet function forum and was advised to
post here: please see two queries below.
Thanks.
1)
I have the following formula:
=VLOOKUP(B5,INDIRECT("'"&INDEX(WSlist,MATCH(1,--(COUNTIF(INDIRECT("'"&WSlist&"'!E:E"),B5)>0),0))&"'!E:E"),1,0)
It works fine but i was wondering if there is a way to get it to work as
part of a macro? If i leave it as a formula then this means that the same
sheet will have to be copied across into each new months file, i would like a
button to just do the job
instead - find the info required and put it in a new sheet that it will
automatically
be re-named "lookup". is this possible?
2)
i am looking to do another type of lookup -i have 3 different sources of
information and i have to do 3 different lookups between each source to find
out which staff member is on each:
is there a quicker way around this i macro? or would it jus be 3 different
lookups?
thanks a lot for your help, really appreciate it.
post here: please see two queries below.
Thanks.
1)
I have the following formula:
=VLOOKUP(B5,INDIRECT("'"&INDEX(WSlist,MATCH(1,--(COUNTIF(INDIRECT("'"&WSlist&"'!E:E"),B5)>0),0))&"'!E:E"),1,0)
It works fine but i was wondering if there is a way to get it to work as
part of a macro? If i leave it as a formula then this means that the same
sheet will have to be copied across into each new months file, i would like a
button to just do the job
instead - find the info required and put it in a new sheet that it will
automatically
be re-named "lookup". is this possible?
2)
i am looking to do another type of lookup -i have 3 different sources of
information and i have to do 3 different lookups between each source to find
out which staff member is on each:
whose on source 1 and not on source 2
whose on source 2 and not on source 1
who is on source 1 that is also on source 3
is there a quicker way around this i macro? or would it jus be 3 different
lookups?
thanks a lot for your help, really appreciate it.