+ Reply to Thread
Results 1 to 12 of 12

Assistance with DATEVALUE Lookup in a table

  1. #1
    Registered User
    Join Date
    02-23-2017
    Location
    Tasmania
    MS-Off Ver
    o365 Pro
    Posts
    10

    Assistance with DATEVALUE Lookup in a table

    Hi,

    I am trying to get the sum of entries in a table that has the date value of a given month in the following format: DD/MM/YYYY H:MM:SS AM/PM

    For Example, I have Table_1 with the following Columns:

    Column 1: Event
    Column 2: Specific DD/MM/YYYY H:MM:SS AM/PM Value

    I am trying to create Table_2 that shows the number of events created in each month in Table_1 (Table_2 would consist of a 2 x 12 cell columns, one cell for each month name, and one for the event total each month).

    Any help would be greatly appreciated!

    Thanks
    Last edited by equinox1974; 02-23-2017 at 04:59 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Assistance with DATEVALUE Lookup in a table

    It would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Please Note that the Paperclip icon is not working.

    Pete

  3. #3
    Forum Contributor
    Join Date
    02-14-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    128

    Re: Assistance with DATEVALUE Lookup in a table

    Hi,

    Just the change the format from "DD/MM/YYYY H: MM: SS AM/PM" to "mmmm". Then use a pivot table to get each month values. Hope this ll be helpful
    Last edited by Manikandan Arumugam; 02-23-2017 at 05:10 AM. Reason: Spell Mistake

  4. #4
    Registered User
    Join Date
    02-23-2017
    Location
    Tasmania
    MS-Off Ver
    o365 Pro
    Posts
    10

    Re: Assistance with DATEVALUE Lookup in a table

    Many Thanks Pete,

    Please find attached the xlsx.

    Thanks,
    Jackson
    Attached Files Attached Files

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,498

    Re: Assistance with DATEVALUE Lookup in a table

    In F5 and drag down:

    =SUMPRODUCT(--(MONTH(Table1[Column2])=ROWS($1:1)))
    Quang PT

  6. #6
    Registered User
    Join Date
    02-23-2017
    Location
    Tasmania
    MS-Off Ver
    o365 Pro
    Posts
    10

    Re: Assistance with DATEVALUE Lookup in a table

    Still struggling here unfortunately...

    @Manikandan Arumugam - I need the long date / time stamp?

    @bebo021999 - This didn't work?

  7. #7
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2021
    Posts
    5,984

    Re: Assistance with DATEVALUE Lookup in a table

    This worked for me.

    Or try this ...

    =SUMPRODUCT(--(TEXT(Table1[Column2],"mmmm")=[@Column1]))
    Attached Files Attached Files

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Assistance with DATEVALUE Lookup in a table

    Put this formula in F5:

    =SUMPRODUCT(--(TEXT(Table1[Column2],"mmmm")=Table3[[#This Row],[Column1]]))

    then copy down.

    Hope this helps.

    Pete

  9. #9
    Registered User
    Join Date
    02-23-2017
    Location
    Tasmania
    MS-Off Ver
    o365 Pro
    Posts
    10

    Re: Assistance with DATEVALUE Lookup in a table

    Thanks for the advice all,

    The last one worked!

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2405
    Posts
    13,427

    Re: Assistance with DATEVALUE Lookup in a table

    Without Table syntax.

    =SUMPRODUCT(--(MATCH(E5,{"January","February","March","April","May","June","July","August","September","October","November","December"},0)=MONTH($C$5:$C$142)))
    Dave

  11. #11
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Assistance with DATEVALUE Lookup in a table

    Quote Originally Posted by equinox1974 View Post
    ... The last one worked ...
    Glad to hear it. If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  12. #12
    Registered User
    Join Date
    02-23-2017
    Location
    Tasmania
    MS-Off Ver
    o365 Pro
    Posts
    10

    Re: Assistance with DATEVALUE Lookup in a table

    Thanks again all, I really appreciate the quick assistance!

    Pete, thanks for the chosen solution!

+ 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. excel vba assistance in lookup column and row
    By spider22 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-26-2014, 03:48 PM
  2. Assistance with a Lookup formula
    By TLake3048 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2013, 10:36 PM
  3. Lookup Match assistance
    By wadafruck in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-15-2012, 02:59 PM
  4. [SOLVED] Lookup function assistance
    By LeapingLizard in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2012, 12:04 PM
  5. V Lookup assistance Needed
    By jdk789 in forum Excel General
    Replies: 5
    Last Post: 09-05-2012, 04:47 AM
  6. Sheet Lookup Assistance.
    By elmerg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2008, 11:59 PM
  7. Conditional Lookup Formulas- Assistance
    By sparkstertom in forum Excel General
    Replies: 7
    Last Post: 10-19-2007, 10:01 AM
  8. Lookup Assistance
    By Tiffany in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-28-2006, 05:25 PM

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