How can ignore some cells when I drag my formula down?

cabbage

New Member
Joined
Feb 5, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Kinda refreshing my very basic Excel knowledge.

I have two tables on excel one underneath the other with a gap of two rows in between them.

I am using this formula -='Data - Headcount'!$L5/'Data - Headcount'!$C5 in column C and have successfully managed to drag it down to other cells in the column. However, I would like to drag the same formula down in to the second table, excluding or by passing the gap of two empty rows.

I hope this makes sense...anyone able to help?
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi,

You can do something like:

=IF(A5="","",your formula)

then when the formula is dragged down thru the Empty rows, it'll just stay blank.
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,727
Members
449,049
Latest member
MiguekHeka

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