+ Reply to Thread
Results 1 to 10 of 10

Issue with SUMIF

  1. #1
    Registered User
    Join Date
    10-25-2007
    Posts
    85

    Issue with SUMIF

    Hi all, I'm using the SUMIF formula in a spreadsheet I created to pick out information based on a combination of 3 user defined dropdowns. I've assigned each line in the data a name based on region/site/calltype/time. Now it seems to be functioning for all the dropdown choices but one. The formula looks like this:
    Please Login or Register  to view this content.
    That one works, however if you switch that last group from F:F to G:G which should just make it sum the next column over, it starts adding up numbers that dont exist. I cannot for the life of me figure out why it would do that, it's the exact same formula just changing the sum targets. Using the same parameters as the previous column it somehow finds more valid columns than it did originally?

    Any help would be greatly appreciated.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Can you attach the file?

    Hard to pinpoint just with the formula....there's gotta be something triggering it.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-25-2007
    Posts
    85
    Looks like even zipped with best compression it's too large a file to post on here


    USOremMainbank0.291666666666667

    There's an example of the naming for a line of data.

    The user can select between All regions US and Phillipines, then one of the 11different locations, then one of the calltypes. If they choose the "All" selections in the dropdowns it is recognized as a wildcard.

    The specific problem i'm seeing comes when the output would look like *Orem*0.29166666... There's only one section of the data that matches that criteria. When I do this for column F:F it works fine, for G:G it does not. If I change the dropdowns to show *OremMainbank0.291666... it will show the proper data.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    The Sumif() function recognizes the "*" as a wildcard you are probably getting data for all text that contains "Orem" followed by any value and ending with 0.29166666.

  5. #5
    Registered User
    Join Date
    10-25-2007
    Posts
    85
    Quote Originally Posted by NBVC
    The Sumif() function recognizes the "*" as a wildcard you are probably getting data for all text that contains "Orem" followed by any value and ending with 0.29166666.
    Right, that's what that should be showing however it isn't. In the data set there is only one cell that matches the criteria of orem 0.2916666. In fact for the F:F column it works fine, that cell shows a value of 4 and that's what the formula finds. Move it over one column and magically the 0 is turned into a 40.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Kind of hard to picture....can you slim the file down or post it on a fileshare site?

  7. #7
    Registered User
    Join Date
    10-25-2007
    Posts
    85
    Ok I cut out a large majority of the sheet but this should give an example of what I'm experiencing here.
    Attached Files Attached Files

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    It looks like it is also counting anything with USMooreMainbank

    since Orem is contained within that text.

  9. #9
    Registered User
    Join Date
    10-25-2007
    Posts
    85
    argh, sneaky. I dont suppose there's a way around that short of altering the names a bit to make it work.

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Does all the data have the word Main or Mainbank after the site name?

    If yes you could possibly include this in the concatenation....

+ 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