+ Reply to Thread
Results 1 to 4 of 4

Number of days since a dry day

  1. #1
    Registered User
    Join Date
    11-09-2012
    Location
    Jakarta
    MS-Off Ver
    Excel 2003
    Posts
    23

    Number of days since a dry day

    Dear all,

    4 years ago, I have asked through this forum about Maximum length of dry spell. The formula provided by zbor is very useful for me to create a climate early warning for drought.

    Now I would like to calculate "Number of days since a dry day" which is just a reverse from "Number of Days Since Last Rain" formula in the post#11
    I have been try to modify the formula, but no luck. As I am not mastering in Excel, so I just try and error.

    I have upload the example data through this link http://cl.ly/gQKD (I am sorry, I can't upload through attachment button).

    RD = RainDay
    1 = Rain
    0 = Dry

    Can anybody help me to solve the problem?

    Thank you, Benny

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Number of days since a dry day

    I can't download from the site you provide, but I've had a look at the previous thread and the file (rain.xls) in post 5 there.

    I've put the 'number of days since last dry day' in a row under the data, using this formula in B5 then dragged right:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    That's based on an amended version of the formula in post 11 of the previous thread:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Attached is the file showing that working. If I've got things completely wrong, please let me know.

    (To upload a file, click 'Go Advanced' then scroll down and use 'Manage Attachments'.)
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    11-09-2012
    Location
    Jakarta
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Number of days since a dry day

    Hi Aardigspook,

    Thank you very much for your help. I have downloaded the spreadsheet and tried your formula provided using my spreadsheet that I have uploaded before and it's works. You rocks!!
    I have manage to upload my file using manage attachment, but I don't know how to load in this editor. When I click attachment button, only blank box show up. Here's the link from manage attachment page: http://www.excelforum.com/attachment...1&d=1465608862

    Best,
    Benny
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Number of days since a dry day

    Glad to be of help and thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] A number of days into weeks and days-How do you convert the decimal part of 0.571429
    By Robert Christie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-25-2020, 09:37 PM
  2. [SOLVED] calculate total number of days between two days based on 365 days year
    By aparunkumar in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-14-2016, 12:51 AM
  3. Replies: 5
    Last Post: 07-02-2015, 10:55 AM
  4. Replies: 0
    Last Post: 06-11-2015, 03:12 AM
  5. [SOLVED] Number of days till.. Formula for counting number of days
    By Saturn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-21-2013, 05:46 AM
  6. Help on count the number of days in between dates and then average number of days
    By Barbara Excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2013, 12:13 PM
  7. Translate ~Number of days in a week to number of days across months
    By martin ridley in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-26-2008, 01:09 PM

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