removing extraneous data

bennyE

New Member
Joined
Feb 14, 2018
Messages
1
Hello all,

First time post and I'm quite stuck. I have a long table of raw rainfall data at 5 min intervals for a whole year (over 41,000 rows) most rows contain a 0, but I cant simply remove all 0's (that's too easy). I must remove any data where less than 1.2mm of rain falls in a 6h period.

My current thought is to take a sum of all rain fall in the previous 6h and have excel delete any row where the total is less than 1.2. but this still removed data I need.

Anything will help at this point.

I can add an example table if needed but it is quite long (6h of 5 min increments = 72 rows)
 

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
Re: removing extranious data

I can add an example table if needed but it is quite long (6h of 5 min increments = 72 rows)
I think it would be useful to see, but you cannot post it here, rather, post it to DropBox, set it to be shared and then post the link to the file here. Also, describe what data that you needed was deleted when you tried adding the prior 6 hours (remember, we know nothing about your data or your needs, so you have to explain things in detail to us so we can know what you know).
 
Upvote 0
Hi Benny,
Without having any of your data, I tried to recreate the scenario. This formula in column D will add up the rainfall data from the 3 hours before and 3 hours after, and if it is greater than or equal to 1.2 mm, then it displays. Hope this helps!

=IF(SUM(C106:C177)>=1.2,SUM(C106:C177),"")

Q5SyXSO.png
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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