+ Reply to Thread
Results 1 to 8 of 8

Find the MONTH in a range when we're provided the entire date

Hybrid View

  1. #1
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,704

    Re: Find the MONTH in a range when we're provided the entire date

    adaws has the right idea. You can apply TEXT function to the named range IO_Months to pull out the month as text. Try this version


    =IFERROR(LOOKUP(2,1/(OrderIDs=K28)/(TEXT(IO_Months,"mmmm")=E30),ROW(IO_Months)),0)
    Audere est facere

  2. #2
    Forum Contributor
    Join Date
    12-16-2011
    Location
    Portland, OR
    MS-Off Ver
    Excel 2016 Preview
    Posts
    105

    Re: Find the MONTH in a range when we're provided the entire date

    Quote Originally Posted by daddylonglegs View Post
    adaws has the right idea. You can apply TEXT function to the named range IO_Months to pull out the month as text. Try this version


    =IFERROR(LOOKUP(2,1/(OrderIDs=K28)/(TEXT(IO_Months,"mmmm")=E30),ROW(IO_Months)),0)


    That did it! THANKS!

+ 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