# N blank cells between CellA and CellB? Or another way to deterimine if soil has time todry

1. ## N blank cells between CellA and CellB? Or another way to deterimine if soil has time todry

I have several years of daily rainfall data and I'm trying to figure out the likelihood of having a sufficiently dry day to do agricultural work.

In one column I have rainfall in inches, in the next column I have how many days it will take soil to dry after that much rain, in the next column I would like it to say wheter or not the soil is dry on that day. Obviously if it rained that day, then the soil isn't dry. But if yesterday ways a day when it rained it won't be dry either, nor if 4-drying days worth of rain fell two days ago...

So say it rains on Day A and it will take n days to dry after that, and Day B is sometime after that, is there a way to have excel return a T/F indicating whether there are n rain free days (0 values in the rainfall column) between Day B and Day A?

Or perhaps there's an easier (or existant) way to do this?

2. ## Re: N blank cells between CellA and CellB? Or another way to deterimine if soil has time t

You left out a few details like how do we know what day it is (I assume there's a column for date). Take a look at the following sheet. I used a cummulative approach (i.e. if you have soil that's going to be wet for 2 days when it rains, have to add on that 2 days plus however long the new rain will wet the soil.

See attached.

3. ## Re: N blank cells between CellA and CellB? Or another way to deterimine if soil has time t

Yeah, there's a Column for date, but it's every day (that's what I meant when I said it was daily data). I kinda messed with what you said and figured it out. If I add another column that is days left 'til dry that =if([cellabove]-1>0, [cellabove]-1, 0) + [added days til dry] if that =0 then it's a dry day.
RainfallSoilSheet.xlsx
Thansk for your help :D

##### Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1