array formula in vba

EJA

New Member
Joined
Dec 12, 2021
Messages
10
Office Version
  1. 2010
Platform
  1. Windows
hi all
please can some body help me to put these formulas in vba
IF(ROWS(A$3:A3)>B$1,"",INDEX(MASTER_SHEET!F:F,SMALL(IF(MASTER_SHEET!F$6:F$18000<>"",IF(ROW(MASTER_SHEET!F$6:F$18000)-ROW(MASTER_SHEET!F$6)+1=MATCH(MASTER_SHEET!F$6:F$18000,MASTER_SHEET!F$6:F$18000,0),ROW(MASTER_SHEET!F$6:F$18000))),ROWS(A$3:A3))))
IF(ROWS(A$3:A4)>B$1,"",INDEX(MASTER_SHEET!F:F,SMALL(IF(MASTER_SHEET!F$6:F$18000<>"",IF(ROW(MASTER_SHEET!F$6:F$18000)-ROW(MASTER_SHEET!F$6)+1=MATCH(MASTER_SHEET!F$6:F$18000,MASTER_SHEET!F$6:F$18000,0),ROW(MASTER_SHEET!F$6:F$18000))),ROWS(A$3:A4))))
IF(ROWS(A$3:A5)>B$1,"",INDEX(MASTER_SHEET!F:F,SMALL(IF(MASTER_SHEET!F$6:F$18000<>"",IF(ROW(MASTER_SHEET!F$6:F$18000)-ROW(MASTER_SHEET!F$6)+1=MATCH(MASTER_SHEET!F$6:F$18000,MASTER_SHEET!F$6:F$18000,0),ROW(MASTER_SHEET!F$6:F$18000))),ROWS(A$3:A5))))
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Array formula in vba
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,215,579
Messages
6,125,646
Members
449,245
Latest member
PatrickL

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top