+ Reply to Thread
Results 1 to 4 of 4

Selecting Month >= Month in Current Cell

Hybrid View

  1. #1
    Registered User
    Join Date
    03-16-2014
    Location
    Oshkosh, WI
    MS-Off Ver
    Excel 2007
    Posts
    52

    Selecting Month >= Month in Current Cell

    I am trying to get a nested if function to flow where on Sheet 1 if in cell B4 based on the Selected Month in A1, if B3 is >= A1 go select from sheet 2 if not go select data from sheet 3. So if A1 has Feb and B3 has Jan, B4 should be selecting data from Sheet 3, because Jan is not >= Feb. See my test workbook for my attempt at figuring out the formula. Not to mention I don't think my index functions are pulling correctly.

    Any help is much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Selecting Month >= Month in Current Cell

    To compare this way:
    B$3>=$A$1
    you should have dates in both cells (now excel comapres texts alphabetically - not months. so Apr is < all other months, Aug beeing second smallest) .
    the dates can be just first of month and then you can do formatting a cell (Ctrl+1) and use custom format
    mmm
    or
    mmmm
    Last edited by Kaper; 05-08-2014 at 09:28 AM.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    03-16-2014
    Location
    Oshkosh, WI
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: Selecting Month >= Month in Current Cell

    I have a feeling this is going to be difficult to do, because my year will be constantly changing.

  4. #4
    Registered User
    Join Date
    03-16-2014
    Location
    Oshkosh, WI
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: Selecting Month >= Month in Current Cell

    Because my column headings have to Say "Jan" "Feb" "Mar", because the forumlas will be pulling data from other tables based on those column headings

+ 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] Pick a cell containing current month actulas based what the current month is.
    By vanbasten007 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2014, 01:17 AM
  2. [SOLVED] Help with a system to auto populate month names based on current month
    By rosboy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2012, 05:17 PM
  3. Macro using vlookups comparing 2 months paysheet(previous month and current month)
    By srinivasan1965 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-07-2012, 03:45 AM
  4. Replies: 5
    Last Post: 10-04-2012, 07:06 AM
  5. [SOLVED] Auto populate cells from data in a 6 month range starting with the current month
    By ecarnley349 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2012, 07:32 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