Make formula automatically apply? Count only down to the last row of data?

thisisbaris

New Member
Joined
Sep 15, 2017
Messages
6
Hi folks,

1. My spreadsheet contains a mix of raw data (transactions) and formula. I would like the formula to automatically apply as soon as the raw data is pasted in, so I have pre-dragged them down to the 15,000th row ... is there a smarter way of doing this?

2. I made a Summary sheet which counts the number of transactions (by transaction ID, 1 per row) and also counts the number of missing or duplicate fields. However, if in one month there was only 10,000 transactions and therefore 10,000 rows of data have been pasted in, this sheet will still be counting up to the 15,000th row ... so it incorrectly shows that there is 5,000 missing fields and/or 5,000 duplicate fields.

How can I fix this? Can't I make Excel scroll down to the very bottom of the raw data and remove all rows below? Many thanks in advance!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
It sounds like you need to create dynamic named ranges. These named ranges will shrink and grow with your data set. You can use named ranges in formulas instead of raw ranges such as C1:C1000.

This one works on columns of numbers
=OFFSET(Sheet5!$C$1,1,0,MATCH(1E+300,Sheet5!$C:$C)-ROW(Sheet5!$C$1),1)

This one works on columns of text
=OFFSET(Sheet5!$C$1,1,0,MATCH("zzzzzzzzzzzz",Sheet5!$C:$C)-ROW(Sheet5!$C$1),1)

Jeff
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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