+ Reply to Thread
Results 1 to 3 of 3

My formula don't work

  1. #1
    Forum Contributor
    Join Date
    03-09-2009
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2007
    Posts
    128

    My formula don't work

    Hi,

    See the attached Excel file... there is a Private Sub Workbook_Open() so just disable the macro when you open it. As it is not neccessary for my issue.

    Formula:

    Please Login or Register  to view this content.
    The formula is located on sheet "Data Summary".

    It don't seem to pull the right data... I'm not sure why... I hope someone here might see the obvious misstake.

    See the attached Excel file.
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: My formula don't work

    Your source values are not numbers they are numbers stored as text so either

    a) coerce the values on Data Collection such that they become numbers

    coercion can be achieved either by:

    i) highlighting each column D to L (one at a time) and then -> Data -> Text to Columns -> Click Finish

    or

    ii) enter 1 into a blank cell, copy it, highlight D5:L40 -> Edit -> Paste Special -> Operation: Multiply

    or

    b) adjust your SUMPRODUCT such that it coerces the values however you must ensure you exclude the header rows (ie alter the range from present formula) such that:

    B3:
    =SUMPRODUCT(--('Data Collection'!$A$5:$A$100=$A3),--('Data Collection'!$B$5:$B$100=B$2),--('Data Collection'!$K$5:$K$100))


    You should coerce the values IMO (option a)

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: My formula don't work

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

+ 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