+ Reply to Thread
Results 1 to 7 of 7

SUMPRODUCT Formula for Inventory of Properties in specific states & date ranges.

Hybrid View

  1. #1
    Registered User
    Join Date
    04-03-2015
    Location
    Southern, California
    MS-Off Ver
    2010 Office
    Posts
    3

    SUMPRODUCT Formula for Inventory of Properties in specific states & date ranges.

    Afternoon Excel Members,

    We have a yearly inventory tracker that was created by a past employee. The inventory track keeps record of the properties we get in certain states in certain date ranges.

    These are the formulas previously used in the 2014 tracker:
    =SUMPRODUCT(--(Table3[State]="co"),--(Table3[Date FSM Assigned]>=$B5),--(Table3[Date FSM Assigned]<$B6))
    =SUMPRODUCT(--(Table3[State]="nm"),--(Table3[Date FSM Assigned]>=$B5),--(Table3[Date FSM Assigned]<$B6))
    =SUMPRODUCT(--(Table3[State]="tx"),--(Table3[Date FSM Assigned]>=$B5),--(Table3[Date FSM Assigned]<$B6))
    =SUMPRODUCT(--(Table3[State]="ut"),--(Table3[Date FSM Assigned]>=$B5),--(Table3[Date FSM Assigned]<$B6))
    =SUMPRODUCT(--(Table3[State]="mi"),--(Table3[Date FSM Assigned]>=$B5),--(Table3[Date FSM Assigned]<$B6))

    Our new 2015 tracker is on a completely new excel workbook. I tried carrying over the previous years formulas to read from table1 over table3 but I get a bunch of errors.

    For the 2015 tracker, all of the new property data is on a 2nd sheet within table1.

    My goal is to have the SUMPRODUCT formula count how many properties we have acquired in each specific state within each month's time frame. The state is located in column E of table1, the date acquired is in column S of table1.

    Appreciate your advice and help in advance.

    Tracker Image.jpg
    Data Image.jpg

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: SUMPRODUCT Formula for Inventory of Properties in specific states & date ranges.

    I don't think the pictures are very helpful. It would be better if you posted a workbook with actual sample data(sensitive items removed). Be sure the data accurately reflects your actual workbook. Manually enter the desired results and explain how you want those results calculated, so we can see if our solution is working and the format of the results is what you expect.

    View Pic
    Last edited by skywriter; 04-03-2015 at 02:23 PM.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Registered User
    Join Date
    04-03-2015
    Location
    Southern, California
    MS-Off Ver
    2010 Office
    Posts
    3

    Re: SUMPRODUCT Formula for Inventory of Properties in specific states & date ranges.

    Thank you. Attached is the file. I had to place sample data into it due to the nature of our contract.

    I want the SUMPRODUCT formula to sum up each property by state and month it was acquired in.

    State is in the Acq sheet under column E and the date acquired is in Acq sheet under column S.
    Attached Files Attached Files

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: SUMPRODUCT Formula for Inventory of Properties in specific states & date ranges.

    Welcome to the forum.

    The Table names are likely to blame. On the original, the table name is Table3 on your new workbook the table name is Table1. There may be other errors to fix as well but that is a place to start. Rename Table1 to Table3 and see if the errors are fixed.

    If not, please upload your workbook.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. 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 shown, mock them up manually if necessary.

    Remember to desensitize the data.

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

    View Pic
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: SUMPRODUCT Formula for Inventory of Properties in specific states & date ranges.

    There are extraneous characters in the TABLE headers. The formulae are fine the way they are but if you click in the headers of the table, you will see that the headers have a return that shouldn't be there that causes a new line. Delete that character and enter a space unless the character is at the end of the header.

    I have corrected this on the sample.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-03-2015
    Location
    Southern, California
    MS-Off Ver
    2010 Office
    Posts
    3

    Re: SUMPRODUCT Formula for Inventory of Properties in specific states & date ranges.

    Thank you. That works!

    If you can, can you post a screen shot of what you mean by "There are extraneous characters in the TABLE headers. The formulae are fine the way they are but if you click in the headers of the table, you will see that the headers have a return that shouldn't be there that causes a new line"

    I am having a hard time finding what you are referring to on the original file I provided above. I want to understand the error so I can correct it in the future.

    Thank you again!

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: SUMPRODUCT Formula for Inventory of Properties in specific states & date ranges.

    Here is a picture showing what I mean using the first header. You see there is two lines in the formula bar when there should only be one line. There is probably a line break (Alt + Enter) that you can't actually see but the result is there. Delete the characters between and enter a space. If the character is the last character in the formula bar just delete that character without entering a space as before.Capture.PNG

+ 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. Formula for counting specific items between 2 date ranges
    By BarryT59 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-06-2014, 02:42 PM
  2. a formula that states if a date is in or out of contract
    By mfairhurst1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2013, 05:03 PM
  3. Replies: 2
    Last Post: 08-29-2013, 10:56 AM
  4. Inventory and Date Ranges
    By TK in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-16-2006, 01:10 AM
  5. Inventory and Date Ranges
    By TK in forum Excel General
    Replies: 3
    Last Post: 01-19-2006, 12:20 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