+ Reply to Thread
Results 1 to 3 of 3

Calculating between dates w/ twist

  1. #1
    Registered User
    Join Date
    12-06-2012
    Location
    dallas, tx
    MS-Off Ver
    Mac Excel
    Posts
    1

    Lightbulb Calculating between dates w/ twist

    Calculating between dates, if the # < 7 (days) than it will show its true value but if the # of days > 7 than the max value can only be 7. How can I write that in excel?

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,626

    Re: Calculating between dates w/ twist

    Can you give an example of what you mean?
    If posting code please use code tags, see here.

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Calculating between dates w/ twist

    Hi SLMehta,

    Welcome to the forum.
    Do you want to say... if dates difference is less than 7, then show the actual difference BUT if difference is more than 7, then show 7 ? Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey
    +91 9810929744
    dilipandey@gmail.com

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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