+ Reply to Thread
Results 1 to 3 of 3

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

  1. #1
    Registered User
    Join Date
    09-14-2012
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    3

    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. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,080

    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.
    Attached Files Attached Files
    ChemistB
    My 2

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    09-14-2012
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    3

    Smile 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

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Bookmarks

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