+ Reply to Thread
Results 1 to 10 of 10

Help with a date formula, please!

  1. #1
    Registered User
    Join Date
    05-15-2020
    Location
    Nashville
    MS-Off Ver
    365
    Posts
    5

    Help with a date formula, please!

    Hello all and greetings!

    I'm creating a transaction register that will allow me to pull the value of all transactions given a specific month. Sample of the formula I've attempted without success:

    =IFERROR(SUMIF(Table4[Date],"Month(1)",Table4[Deposit, Credit (+)]),"Nope")

    Mentally, the criteria are the formatted date, the criteria are the month in that formatted date and the returned value should be transactions that happened during that month.

    Can anyone help?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Help with a date formula, please!

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-15-2020
    Location
    Nashville
    MS-Off Ver
    365
    Posts
    5

    Post Re: Help with a date formula, please!

    Hey FDibbins, thanks for the reminder!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-15-2020
    Location
    Nashville
    MS-Off Ver
    365
    Posts
    5

    Re: Help with a date formula, please!

    If anyone has tips or tricks for adding a countif function that also counts the number of "January" in the range "date" that'd be swell too.

  5. #5
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Help with a date formula, please!

    Why did you convert the table to a range? Have you ever looked at a pivot table?

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help with a date formula, please!

    I made a table of your data.

    After that I add a column to determine the month and Year; also the value.

    After that a Pivot Table.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  7. #7
    Registered User
    Join Date
    05-15-2020
    Location
    Nashville
    MS-Off Ver
    365
    Posts
    5

    Re: Help with a date formula, please!

    Quote Originally Posted by oeldere View Post
    I made a table of your data.

    After that I add a column to determine the month and Year; also the value.

    After that a Pivot Table.

    See the attached file.
    Thanks for the assistance, this works!

  8. #8
    Registered User
    Join Date
    05-15-2020
    Location
    Nashville
    MS-Off Ver
    365
    Posts
    5

    Re: Help with a date formula, please!

    Quote Originally Posted by Vraag en antwoord View Post
    Why did you convert the table to a range? Have you ever looked at a pivot table?
    Initially, I hadn't, but it seems as though that may be the best option. Thanks for the input!

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help with a date formula, please!

    Glad I could help.

    Thanks for marking the question solved.

    You can add reputation by clicking on the star * add reputation.

  10. #10
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Help with a date formula, please!

    @oeldere,
    Why beg for reputation? Where can you find those things? The distribution was successful

+ 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. Replies: 4
    Last Post: 03-21-2018, 09:25 AM
  2. Replies: 7
    Last Post: 02-02-2017, 02:41 PM
  3. Replies: 5
    Last Post: 12-01-2015, 02:36 PM
  4. [SOLVED] Formula to compare date (including month and year) from a listed date to today's date
    By mhewitson15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2014, 05:31 PM
  5. Replies: 2
    Last Post: 11-03-2014, 10:29 AM
  6. [SOLVED] Formula assistance needed to sum data based on anniversary date and month date
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2012, 11:18 PM
  7. Replies: 1
    Last Post: 04-18-2012, 05:49 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