+ Reply to Thread
Results 1 to 4 of 4

Calculation using the number of months to show start and finish

Hybrid View

  1. #1
    Registered User
    Join Date
    01-21-2016
    Location
    Coventry, England
    MS-Off Ver
    2007
    Posts
    9

    Calculation using the number of months to show start and finish

    Screenshot (12).png

    Hi,

    I think my brain has shut down early for Xmas.
    What I'm trying to do is indicate the start month shown in Col A and then the subsequent number of months as indicated in col N. (see attached screen shot which has been completed manually)
    Btw it doesn't need to show an * it could happily be the month itself.
    I'm sort of getting there with lots of "IF", but can't quite get it right.
    Any help would be much appreciated

    Thanks

    Dave

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,791

    Re: Calculation using the number of months to show start and finish

    If your values in B1:M1 & A2:A3 are dates like01/01/2018 formated to show Jan, Feb etc then use this in B2 copied across & down
    =IF(AND($A2<=B$1,EDATE($A2,$N2)>=B$1),"*","")

  3. #3
    Registered User
    Join Date
    01-21-2016
    Location
    Coventry, England
    MS-Off Ver
    2007
    Posts
    9
    Quote Originally Posted by Fluff13 View Post
    If your values in B1:M1 & A2:A3 are dates like01/01/2018 formated to show Jan, Feb etc then use this in B2 copied across & down
    =IF(AND($A2<=B$1,EDATE($A2,$N2)>=B$1),"*","")
    Brill.
    Thanks for that you've saved my brain from exploding.
    I was almost there just having one of those days ;-)
    Thanks again

    Dave

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,791

    Re: Calculation using the number of months to show start and finish

    You're welcome & thanks for the feedback

+ 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. Replies: 7
    Last Post: 08-07-2018, 01:48 AM
  2. [SOLVED] Sum row values based on a start month, and number of months
    By Scott Emmanuel in forum Excel General
    Replies: 1
    Last Post: 01-04-2018, 04:02 PM
  3. [SOLVED] Count Week numbers given start and finish week number
    By Vassen in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-30-2016, 01:59 AM
  4. Replies: 5
    Last Post: 01-27-2016, 11:59 AM
  5. Replies: 3
    Last Post: 10-23-2012, 09:04 PM
  6. Replies: 6
    Last Post: 11-29-2011, 09:12 AM
  7. Replies: 5
    Last Post: 06-30-2011, 03:26 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