+ Reply to Thread
Results 1 to 5 of 5

Sum/match function error (pointed date cell)

  1. #1
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Birmingham, UK
    MS-Off Ver
    2007
    Posts
    185

    Sum/match function error (pointed date cell)

    Hello,

    I occurred a problem with a sum/match function, which I thought, would be right. Unfortunately when I pressed enter to finish the formula excel told me it has an error and pointed me to the part with connection to the cell with a date that I was referring to.

    I have attached a sample book and here is a code that I used in cell F28.

    Please Login or Register  to view this content.
    If anyone knows what to change please let me know so I understand where I have done a mistake and which direction I shall go in.

    What I am trying to achieve is to match the last received date with the deliveries over last two weeks and first check if it is before the start of the current week. If so the I want it to compare with the deliveries date and sum all the deliveries from the next vehicle than the one that is shown on the left in the table (column E) to the end of that previous week. If it is in the current week I want deliveries from the beginning of the current week to the vehicle stated in the column E to be added to the arrears from sheet 1 column C.

    I have managed to include the stated vehicle number in the sum if the last delivery is in previous week but I don’t know how to exclude it. I also don’t know if that sum function is right with all those match arguments.

    Anyone with an idea of how to fix it, please help.
    I am cracking my head over it.

    Thanks for having a look
    Attached Files Attached Files
    Last edited by teylyn; 03-31-2010 at 06:19 AM. Reason: reset font and added code tags to formula whopper

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Sum/match function error (pointed date cell)

    Ramzes, please stick to the forum font defaults. Place long formulas in code tags. That will make your posts much more readable and trigger more replies.

    thanks.

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Sum/match function error (pointed date cell)

    Have you tried inspecting your formula with the Evaluate Formula tool? There you can see at which step of the evaluation the formula gets an error.

  4. #4
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Birmingham, UK
    MS-Off Ver
    2007
    Posts
    185

    Re: Sum/match function error (pointed date cell)

    Hello Teylyn

    Sorry for the code. I didn't find it when writing the post.

    can you lt me know if that evaluation tool is only active when you can get out of a cell where there is the formula you want to check? If so I cannot "close" the cell with the formula as it leaves me at the editor.

    Thanks

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Sum/match function error (pointed date cell)

    Ramzes, I'm not in front of 2003 at the moment, so my recollection about the Evaluation Tool in the menus is a bit hazy. I have it as an Icon in the toolbar

    select the cell, click Tools - Auditing - Evaluate Formula

    if I recall correctly. This will open up a dialog where you can step through the formula as it evaluates one bit at a time.

+ 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