+ Reply to Thread
Results 1 to 13 of 13

If date is in future return no value, otherwise return in a new cell the month i.e june=6

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    If date is in future return no value, otherwise return in a new cell the month i.e june=6

    Hello,

    I am really stuck and would like to see if anyone can help me. I am creating a sheet which tracks new bookings that come into our company and then tracks performance on how long it takes us to get things sent out.

    I have a seperate tab which pulls all the info together and tracks performance. So I am counting how many bookings come in per month. But if the date of the meeting hasnt taken place yet I dont want to include it in the perfomance (as it will say that we havent done what we need to do yet and put down 0%)

  2. #2
    Registered User
    Join Date
    10-04-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    I did try =if(A3=">DATE","",MONTH(A3) but it doesnt seem to do it

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    Hi

    Try using something like this.

    =IF(Cell that includes a date>today(),"",your other formula)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    10-04-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    Thank you Fotis,

    that seems to have worked. One other thing, now if the cell its looking at is blank it returns a 1 in the cell. So I need to do something like:

    =IF(M2>TODAY(),"",=IF(M2,"","",MONTH(M2))

    but I have done something wrong there?

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    You could try.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    10-04-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    Thank you Fotis,

    I have a new query...

    I am trying to now add all the meetings that happened in a certain month from this column.

    So I have tried =SUMIF('Booking Information'!N3:N600,MONTH(8)) it returns 0 as opposed to what it should be of 4

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    Do you mean?

    =COUNTIF('Booking Information'!N3:N600,8)

  8. #8
    Registered User
    Join Date
    10-04-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    its comes back with TRUE and doesnt return the sum of the count?

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    In range N3:N600 you have numbers. Don't you?

  10. #10
    Registered User
    Join Date
    10-04-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    in the N column i have the formula =IF(OR(M2>TODAY(),M2=""),"",MONTH(M2)) which returns a number based on the month so if august it returns 8

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    My suggested formula works great under this condition. If you have problem to handle this, then:

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  12. #12
    Registered User
    Join Date
    10-04-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    Hi Fotis,

    I have now attached the file and want the N column formula we were speaking about to go into the Performance tab in B11 for august, c11 for september etc...
    Attached Files Attached Files

  13. #13
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If date is in future return no value, otherwise return in a new cell the month i.e jun

    This makes no sense for me. An empty worksheet(with out data at all) and now there is not column N but something else.. There are not numbers of months but text...

    Sorry but i am not able to following you.

+ 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. Return a date of a day of the week in the future
    By hendee70 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-18-2013, 01:53 PM
  2. [SOLVED] Compare strings for match in separate worksheet and return nearest future date
    By kungfood in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2012, 05:19 PM
  3. Replies: 4
    Last Post: 03-01-2012, 04:27 PM
  4. Replies: 11
    Last Post: 08-10-2009, 03:38 PM
  5. If column A is a June date, return the dollar value for that line item.
    By dearickmilton in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-09-2009, 08:39 AM

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