selection.formulaarray

  1. montecarlo2012

    vba Odd's and Even"s Array Count If

    Hello. I have a dynamic array B2:G2600 (6 columns), on Col "M" would like to see how many odd numbers there are in the rows, and on Col "N" the even numbers. So I workout first with the macro recorder, ("this is a short version as example, only"), Sub CORR_ECT()Range("H2").Select...
  2. D

    VBA Code Help

    Hi Everyone, I am trying to replicate this formula across column I. Starting at I2. My index with stay the same but the match will move a row. For instance the match for I3 would be L3:BT3. Here is the code I have: Thank you for your help Range("I2").Select Selection.FormulaArray...
  3. B

    Why am I getting run time error 1004 for one part of this code only?

    Hi all, The below code works with regards to populating cells B3 and B8, but when it gets to populating C8 it throws up 'run time error 1004' - I can't see what the difference is with this compared to the other two sections of code, that don't trigger an error. Can anyone help please? 'Index...
  4. K

    Run Time Error 1004 - unable to set the formula array property of the range class

    Hi there, I have a Macro, that is giving the a run time error 1004. All the formulas work if not applied through VBA, but I guess the length is a bit much. Can you advise on how to shorten the below code please? Sub SUBMITFLIGHT() Sheets("FLIGHT SCHEDULE").Visible = True...
  5. B

    Formula Array Not working with variables

    I'm trying to use a formula array to do some calculations.. this works.. Range("C" & LastRow + 4).Select Selection.FormulaArray = _ "=PERCENTILE(IF(L2:L" & LastRow & "=""15"",AC2:AC" & LastRow & "),0.4)" but when I try to replace the 15 with a variable (year) it just...

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