Bert_Withpeterson
New Member
- Joined
- Aug 14, 2018
- Messages
- 8
Hi everybody,
I have the below index/match formula which works in looking up values from worksheet2 that are on worksheet1 and returning a final match. Problem is I'm looking to add this to some VBA which will create a large number of worksheets, so I need the formula to calculate based on, for example worksheet3 when on worksheet3, worksheet 4 when on worksheet4 etc. Can anyone help with amending the below so that where it says 'worksheet2' it actually points to whatever the current worksheet is?
Also can anyone please advise how to code VBA to automate the process of CTRL_ALT_ENTER required to make these formulae work? Thank you!
=INDEX('Worksheet1'!O:O,MATCH(1,('Worksheet2'!B1='Worksheet1'!B:B)*('Worksheet2'!B2='Worksheet1'!C:C)*('Worksheet2'!B3='Worksheet1'!N:N)*('Worksheet2'!A13='Worksheet1'!G:G),0))
I have the below index/match formula which works in looking up values from worksheet2 that are on worksheet1 and returning a final match. Problem is I'm looking to add this to some VBA which will create a large number of worksheets, so I need the formula to calculate based on, for example worksheet3 when on worksheet3, worksheet 4 when on worksheet4 etc. Can anyone help with amending the below so that where it says 'worksheet2' it actually points to whatever the current worksheet is?
Also can anyone please advise how to code VBA to automate the process of CTRL_ALT_ENTER required to make these formulae work? Thank you!
=INDEX('Worksheet1'!O:O,MATCH(1,('Worksheet2'!B1='Worksheet1'!B:B)*('Worksheet2'!B2='Worksheet1'!C:C)*('Worksheet2'!B3='Worksheet1'!N:N)*('Worksheet2'!A13='Worksheet1'!G:G),0))