Results 1 to 11 of 11

Formula conversion from date string to numbers

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-18-2013
    Location
    England
    MS-Off Ver
    2016 (Mac)
    Posts
    149

    Formula conversion from date string to numbers

    Hello everyone,

    The below formula works fine for what I want to do:

    =SUMIFS(Accounts!$N$1104:Accounts!$N$5000,Accounts!$E$1104:Accounts!$E$5000,"*December**2017*",Accounts!$K$1104:Accounts!$K$5000,"*Accountancy*")
    The problem with my formula is that it searches for the month and year as a string “*December**2017*” etc. as the date is entered as 8th December 2017. This is fine but I need to input the date as a number now 08/12/2017 and not a string. I tried to update the formula myself using sum product but was not able to get it working. Is there any way that my formula can be changed so that it checks for the month and year as numbers and not a string? So instead of the date being input as lets say 8th December 2017 it will be put in as 08/12/2017 and the formula will work as it does now?

    My page has a lot of formulas set up like this that need to be changed but I just need to know how to do it on one so I change all of the others.

    Thank you in advance for any help.

    Regards,

    Margate : )
    Last edited by Margate; 01-13-2018 at 02:20 PM. Reason: To update the formula

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] how to use "OR" in my function - String to Date conversion
    By dmcgov in forum Excel Programming / VBA / Macros
    Replies: 29
    Last Post: 09-26-2017, 07:17 AM
  2. put a string into a date but WITHOUT conversion.
    By andreagiugio in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2016, 11:56 AM
  3. Replies: 4
    Last Post: 06-26-2012, 03:35 PM
  4. String conversion formula?
    By JGTExcel in forum Excel General
    Replies: 3
    Last Post: 02-10-2012, 01:12 PM
  5. String to Date Conversion
    By dasreinfeld in forum Excel General
    Replies: 10
    Last Post: 11-18-2010, 07:15 PM
  6. Search/Replace String to Formula conversion
    By wrigax in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2008, 09:43 PM
  7. conversion to formula of string contaning IF clause
    By JeanBQ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-31-2006, 12:55 PM

Tags for this Thread

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