Nesting
VBA Telemetry pings you when your VBA projects fail
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Nesting

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    In F1 I need a formula that will look at the date in E1 and if the date is any date in Jan, then put in column F a 1, if it is a February date, then put in column F a 2, and so on.

    Can someone tell me how to do this?

    Thanks
    Terry

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    No IF is required. Use...

    =MONTH(E1)

  3. #3
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,809
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default

    On 2002-04-05 08:22, TClark14 wrote:
    In F1 I need a formula that will look at the date in E1 and if the date is any date in Jan, then put in column F a 1, if it is a February date, then put in column F a 2, and so on.

    Can someone tell me how to do this?

    Thanks
    Terry
    In F1 enter & copy down:

    =MONTH(E1)


  4. #4
    New Member
    Join Date
    Apr 2002
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Thanks - I always think must be more complicated than they really are. So easy I never would have figured it out. Thanks Again.

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com