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

Unexpc

Active Member
Joined
Nov 12, 2020
Messages
496
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: 79

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Try This for each 34 and 35 rows:

=IF(OR(MOD(ROW(),34)=0,MOD(ROW()-1,35)=0),"",Your Formula)
 
Upvote 0
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:
Upvote 0
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
 
Upvote 0
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: 17
Last edited:
Upvote 0
this is what i want
 

Attachments

  • Screenshot 2020-11-15 231826.jpg
    Screenshot 2020-11-15 231826.jpg
    60.5 KB · Views: 20
  • Screenshot 2020-11-15 231948.jpg
    Screenshot 2020-11-15 231948.jpg
    44.7 KB · Views: 34
  • Screenshot 2020-11-15 232122.jpg
    Screenshot 2020-11-15 232122.jpg
    54.7 KB · Views: 24
  • Screenshot 2020-11-15 232348.jpg
    Screenshot 2020-11-15 232348.jpg
    53.9 KB · Views: 27
  • Screenshot 2020-11-15 232526.jpg
    Screenshot 2020-11-15 232526.jpg
    87.5 KB · Views: 20
  • Screenshot 2020-11-15 232936.jpg
    Screenshot 2020-11-15 232936.jpg
    66.2 KB · Views: 21
  • Screenshot 2020-11-15 233138.jpg
    Screenshot 2020-11-15 233138.jpg
    86.3 KB · Views: 21
Upvote 0
Because your source address is empty. if you have data at sheet1, it shows it. I test the file you uploaded on gofile.
 
Upvote 0
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 .
 
Upvote 0
Solution
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.
 
Upvote 0
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: 28
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,028
Members
452,542
Latest member
Bricklin

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