How to ignore multiple cells from drag and fill or enter any formula

Unexpc

Board Regular
Joined
Nov 12, 2020
Messages
134
Office Version
  1. 2019
Platform
  1. Windows
Hi guys

when i drag and fill, i want skip 2 rows and force not filling 2 rows (2 rows are in every page and i can't insert any formula beacuse in my workbook, all cells filling with a formula) anyway ignore this 2 rows in every page when i drag and fill? (for example i drag and fill 34 cell in 1 column and cells formula refers to a sheet cells. When i copy and paste that sheet, this 2 rows give formula that disrupting order of link cells for my page, beacuse i want this 2 specific rows 40:40,41:41 and next 34 rows ... in each page, this 2 rows should ignore from drag and fill) how solve this automate drag and fill and ignore this 2 rows?
 

Attachments

  • Screenshot 2020-11-14 165211.jpg
    Screenshot 2020-11-14 165211.jpg
    60.3 KB · Views: 16

Some videos you may like

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

maabadi

Well-known Member
Joined
Oct 22, 2012
Messages
1,344
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Try This for each 34 and 35 rows:

=IF(OR(MOD(ROW(),34)=0,MOD(ROW()-1,35)=0),"",Your Formula)
 

Unexpc

Board Regular
Joined
Nov 12, 2020
Messages
134
Office Version
  1. 2019
Platform
  1. Windows
Try This for each 34 and 35 rows:

=IF(OR(MOD(ROW(),34)=0,MOD(ROW()-1,35)=0),"",Your Formula)
no, not work
this is one of column belong my workbook please check it
i want when i copy rows 41:74 and paste in cell 75, formula in cell 76 been this: =IFERROR(LOOKUP(2,1/(Sheet1!B67<>""),Sheet1!B67),"")
and cell 74 and 75 been empty and do not drag and fill, and next 34 cell like this two....
 
Last edited:

maabadi

Well-known Member
Joined
Oct 22, 2012
Messages
1,344
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Check this for cell 75:
=IF(OR(MOD(ROW()-6,34)=0,MOD(ROW()-7,34)=0),"",IFERROR(LOOKUP(2,1/(Sheet1!B67<>""),Sheet1!B67),""))

and drag & fill up and down
 

Unexpc

Board Regular
Joined
Nov 12, 2020
Messages
134
Office Version
  1. 2019
Platform
  1. Windows

ADVERTISEMENT

Check this for cell 75:
=IF(OR(MOD(ROW()-6,34)=0,MOD(ROW()-7,34)=0),"",IFERROR(LOOKUP(2,1/(Sheet1!B67<>""),Sheet1!B67),""))

and drag & fill up and down
Show Nothing!(it is linked to Sheet1 by formula i said: =IFERROR(LOOKUP(2,1/(Sheet1!B67<>""),Sheet1!B67),"")
and i fill cells that linked but show nothing...)
 

Attachments

  • Screenshot 2020-11-15 225517.jpg
    Screenshot 2020-11-15 225517.jpg
    38.9 KB · Views: 4
Last edited:

Unexpc

Board Regular
Joined
Nov 12, 2020
Messages
134
Office Version
  1. 2019
Platform
  1. Windows
this is what i want
 

Attachments

  • Screenshot 2020-11-15 231826.jpg
    Screenshot 2020-11-15 231826.jpg
    60.5 KB · Views: 5
  • Screenshot 2020-11-15 231948.jpg
    Screenshot 2020-11-15 231948.jpg
    44.7 KB · Views: 5
  • Screenshot 2020-11-15 232122.jpg
    Screenshot 2020-11-15 232122.jpg
    54.7 KB · Views: 4
  • Screenshot 2020-11-15 232348.jpg
    Screenshot 2020-11-15 232348.jpg
    53.9 KB · Views: 3
  • Screenshot 2020-11-15 232526.jpg
    Screenshot 2020-11-15 232526.jpg
    87.5 KB · Views: 3
  • Screenshot 2020-11-15 232936.jpg
    Screenshot 2020-11-15 232936.jpg
    66.2 KB · Views: 3
  • Screenshot 2020-11-15 233138.jpg
    Screenshot 2020-11-15 233138.jpg
    86.3 KB · Views: 5

maabadi

Well-known Member
Joined
Oct 22, 2012
Messages
1,344
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows

ADVERTISEMENT

Because your source address is empty. if you have data at sheet1, it shows it. I test the file you uploaded on gofile.
 

maabadi

Well-known Member
Joined
Oct 22, 2012
Messages
1,344
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
I think I understand what you want. you want to copy from sheet1 without spacing between data but paste with space. if I correct, for example if you copy sheet1!B31 to A39 , then you want to paste sheet1!B32 to A42. and this is formula ( I started this formula from A9):
=IF(OR(MOD(ROW()-6,34)=0,MOD(ROW()-7,34)=0),"",IFERROR(INDIRECT(LOOKUP(2,1/(("Sheet1!B"&ROW()-7-COUNTBLANK($A$8:A8))<>""),("Sheet1!B"&ROW()-7-COUNTBLANK($A$8:A8)))),""))

if you want to start from A8 change red parts to 6 and change Blue Parts to 7 .
 
Solution

maabadi

Well-known Member
Joined
Oct 22, 2012
Messages
1,344
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
And one other thing. I assume one cell above (In this formula is A7) is empty. It is not empty add one number to red part.
 

Unexpc

Board Regular
Joined
Nov 12, 2020
Messages
134
Office Version
  1. 2019
Platform
  1. Windows
I think I understand what you want. you want to copy from sheet1 without spacing between data but paste with space. if I correct, for example if you copy sheet1!B31 to A39 , then you want to paste sheet1!B32 to A42. and this is formula ( I started this formula from A9):
=IF(OR(MOD(ROW()-6,34)=0,MOD(ROW()-7,34)=0),"",IFERROR(INDIRECT(LOOKUP(2,1/(("Sheet1!B"&ROW()-7-COUNTBLANK($A$8:A8))<>""),("Sheet1!B"&ROW()-7-COUNTBLANK($A$8:A8)))),""))

if you want to start from A8 change red parts to 6 and change Blue Parts to 7 .
Yeah, you understand what am i want and this formula this work,im VERY THANKFUL
but i forgot say a thing :(
like in row 40 and next 34 row (not 41 this empty and fill with textbox), for example cell C40 i insert =sum(C8:C39) and in D40 and F40 and G40 too.
for other column no probelm with this and do correctly :) but this 4, i can't drag and fill your smart formula
anyway solve this problem?
 

Attachments

  • Screenshot 2020-11-16 153202.jpg
    Screenshot 2020-11-16 153202.jpg
    111.2 KB · Views: 3

Watch MrExcel Video

Forum statistics

Threads
1,122,832
Messages
5,598,361
Members
414,233
Latest member
WolverineNurse

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
Top