Double Autofill formula + dynamic column sum

juniorcomplete1

New Member
Joined
Oct 8, 2016
Messages
30
Office Version
  1. 2016
Hi! I have seen a few autofill vba codes, all very helpful, but what if the autofill needs to skip one row in order to populate with the sum of the column just autofilled? based on a value in column A ? And then continue to autofill and then again sum back the second auto fill data?
 

Attachments

  • 8EA0DC92-D0CF-4963-BB41-F5DAFCDF2207.jpeg
    8EA0DC92-D0CF-4963-BB41-F5DAFCDF2207.jpeg
    145.2 KB · Views: 11
If there is no blank line above Test2, then there is nothing for a formula in that row to sum.
So what would go in the cell on that row?

Example

juniorcomplete1.xlsm
ABCDEF
3TEXTTEXTTEXTTEXTTEXTTEXT
4TEXT56322598.4
5TEXT652434.6375
6TEXT245510.4125
7Test1TEXT2156643.45
8Test2TEXT234???
Sheet3
Cell Formulas
RangeFormula
F4:F6F4=C4*0.2125/D4
F7F7=SUM($F$4:$F$6)
 
Upvote 0

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi your absolutely right.
So the following would apply in the attached picture. So there will always be either a gap OR text between Test1 & Test2 sum rows.
 

Attachments

  • Test2.JPG
    Test2.JPG
    37.1 KB · Views: 4
Upvote 0
Now you have rows with text in column A apparently some of which need a SUM formula and some don't.

None of Test1, TEXT or Test2 seem like real values so what is the logic of which ones get SUM formulas and which ones get the fill down formulas.
 
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,797
Members
449,048
Latest member
greyangel23

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