+ Reply to Thread
Results 1 to 2 of 2

Trim Left With a Date

Hybrid View

  1. #1
    Registered User
    Join Date
    03-19-2010
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010, 2007,2002
    Posts
    60

    Trim Left With a Date

    In the attached workbook, I am trying to do a formula that essentialls says if the date in column A is January return the value in column B, otherwise return 0, blank space, ect doesnt matter. I was trying "trim(left(" but I dont think that is the right approach as that deals with text rather then dates. Thanks
    Attached Files Attached Files
    Last edited by rmb623; 08-12-2011 at 01:38 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Trim Left With a Date

    Try:

    =IF(MONTH(A1)=1,B1,"")

    where Month(A1)=1 represents January (month 1).
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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