Share via

Sumif function does not recognize criteria from a list box.

Anonymous
2017-02-22T23:34:25+00:00

Hello everyone,

i have a small problem with the sumif function. I have fields in my excel sheet that i fill with list box i have created. Depending on that which word i have chosen, i have to sum some sells. The problem is that the function is working properly only when i type the word manually, otherwise i just get 0 in my sum field. I have already tried many times to change the format of the cells and other things, but it just keeps working properly only if i type the word manually.

Can someone please help me ?

Thanks in advance!

Best regards

Georgi Georgiev.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2017-03-02T16:27:30+00:00

Have you mannually entered the data validation list or are you using a list located elsewhere in your workbook?

Is the spelling correct in the resource (data validation or list)? Are there any spaces you're not seeing?

If you're using a list - I would add the Index function to the formula.

If you would send  me the workbook - I can take a look.

******@hotmail.com

Cheers.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

8 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-03-02T16:56:06+00:00

    Hello,

    I have found my mistake. It was a "space"after the words- "Bauteil"+" " in the drop down box. I have now deleted it and it works nicely.

    Thank you all very much for your attention!!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-03-02T16:15:29+00:00

    Below is a picture of my sheet."Typ der Beschaffung "is the drop down box with validation. It has two items-"Bauteile" and "Dienstleistungen". What I want to do, is to automatically sum up all of the Brutto amounts and to know how much I have spent for these two types.

    The sumif function I wrote is in the function box. It is for Cell C22.

    It works only if I type "Bauteil" or "Dienstleistung" manually. If I choose these from the box, the function just provides a 0.

    I hope I have explained it good enough.

    Thank you for your help!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2017-02-23T07:25:58+00:00

    Hello,

    i am using a drop down validation box. The values are completely identical, from the list box and when i'm typing manually. The values that i have assigned as data for the list box are also type text. This is the same as when i'm typing manually.

    Was this answer helpful?

    0 comments No comments
  4. Kevin Jones 7,265 Reputation points Volunteer Moderator
    2017-02-23T01:14:54+00:00

    Are you using a drop down validation list or a list box control?

    If a drop down validation list, are the values in the list the same as you are typing in manually?

    Kevin

    Was this answer helpful?

    0 comments No comments