Patriot2879
Well-known Member
- Joined
- Feb 1, 2018
- Messages
- 1,259
- Office Version
- 2010
- Platform
- Windows
Hi I have this formula below which works on a template I have but I want to add this into my userform1.
My range is in sheet called ‘Data’ A1:R17 and the AC3 (Match) is now ComboBox2 and AC4(Match) is now ComboBox1 and I want the result to go into TextBox53
My range is in sheet called ‘Data’ A1:R17 and the AC3 (Match) is now ComboBox2 and AC4(Match) is now ComboBox1 and I want the result to go into TextBox53
Code:
=IFERROR(INDEX($A$1:$R$17,MATCH(AC3,$A$1:$A$17,0),MATCH(AC4,$A$2:$R$2, 0)),"")
[FONT=Times New Roman][/CO[/FONT]DE]
My userformis called ‘UserForm1'.
Please canyou help me to put this into vba code to go into TextBox53.
ComboBox1 is Dates and ComboBox2 is areas what it is cross referencing to find the number in a cell A1:R17
And the A2:R2is the dates which is in ‘Data’ and this corresponds to my combobox1.
Hope you can help please.
[/COLOR][/SIZE][/FONT]
Last edited: