+ Reply to Thread
Results 1 to 7 of 7

countif

  1. #1
    Roger
    Guest

    countif

    Hi there!
    I have a spreadsheet wiht 5 colums; I want to count how many times a product
    appears on column E, only IF cells on column A= 1000.

    Anyone?
    regards,

  2. #2
    JE McGimpsey
    Guest

    Re: countif

    One way:

    =SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product>"))

    http://www.mcgimpsey.com/excel/doubleneg.html


    In article <[email protected]>,
    "Roger" <[email protected]> wrote:

    > I have a spreadsheet wiht 5 colums; I want to count how many times a product
    > appears on column E, only IF cells on column A= 1000.


  3. #3
    Roger
    Guest

    Re: countif

    Hi there,

    Many thanks for your help, but the formula is returning wiht 0(zero), value
    - Is there a specific place I should write the formula?
    regards,
    Roger

    "JE McGimpsey" wrote:

    > One way:
    >
    > =SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product>"))
    >
    > http://www.mcgimpsey.com/excel/doubleneg.html
    >
    >
    > In article <[email protected]>,
    > "Roger" <[email protected]> wrote:
    >
    > > I have a spreadsheet wiht 5 colums; I want to count how many times a product
    > > appears on column E, only IF cells on column A= 1000.

    >


  4. #4
    Dave Peterson
    Guest

    Re: countif

    Don't put the formula in A1:A2000 and not in E1:E2000.

    But do make sure you change "<product>" to the real name.

    If this doesn't help, post back the formula you used.

    Roger wrote:
    >
    > Hi there,
    >
    > Many thanks for your help, but the formula is returning wiht 0(zero), value
    > - Is there a specific place I should write the formula?
    > regards,
    > Roger
    >
    > "JE McGimpsey" wrote:
    >
    > > One way:
    > >
    > > =SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product>"))
    > >
    > > http://www.mcgimpsey.com/excel/doubleneg.html
    > >
    > >
    > > In article <[email protected]>,
    > > "Roger" <[email protected]> wrote:
    > >
    > > > I have a spreadsheet wiht 5 colums; I want to count how many times a product
    > > > appears on column E, only IF cells on column A= 1000.

    > >


    --

    Dave Peterson

  5. #5
    Roger
    Guest

    Re: countif

    Once again many thanks for your help.

    The formula I have used is :
    =SUMPRODUCT(--(A3:a2002=109266),--(e3:e2002="AS400"))
    The result in the cell is zero, however when I press the fx on the formula
    bar, the correct number appears.

    Best regards,
    Roger

    "Dave Peterson" wrote:

    > Don't put the formula in A1:A2000 and not in E1:E2000.
    >
    > But do make sure you change "<product>" to the real name.
    >
    > If this doesn't help, post back the formula you used.
    >
    > Roger wrote:
    > >
    > > Hi there,
    > >
    > > Many thanks for your help, but the formula is returning wiht 0(zero), value
    > > - Is there a specific place I should write the formula?
    > > regards,
    > > Roger
    > >
    > > "JE McGimpsey" wrote:
    > >
    > > > One way:
    > > >
    > > > =SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product>"))
    > > >
    > > > http://www.mcgimpsey.com/excel/doubleneg.html
    > > >
    > > >
    > > > In article <[email protected]>,
    > > > "Roger" <[email protected]> wrote:
    > > >
    > > > > I have a spreadsheet wiht 5 colums; I want to count how many times a product
    > > > > appears on column E, only IF cells on column A= 1000.
    > > >

    >
    > --
    >
    > Dave Peterson
    >


  6. #6
    Dave Peterson
    Guest

    Re: countif

    Do you have calculation set to automatic?

    Tools|Options|Calculation tab


    Roger wrote:
    >
    > Once again many thanks for your help.
    >
    > The formula I have used is :
    > =SUMPRODUCT(--(A3:a2002=109266),--(e3:e2002="AS400"))
    > The result in the cell is zero, however when I press the fx on the formula
    > bar, the correct number appears.
    >
    > Best regards,
    > Roger
    >
    > "Dave Peterson" wrote:
    >
    > > Don't put the formula in A1:A2000 and not in E1:E2000.
    > >
    > > But do make sure you change "<product>" to the real name.
    > >
    > > If this doesn't help, post back the formula you used.
    > >
    > > Roger wrote:
    > > >
    > > > Hi there,
    > > >
    > > > Many thanks for your help, but the formula is returning wiht 0(zero), value
    > > > - Is there a specific place I should write the formula?
    > > > regards,
    > > > Roger
    > > >
    > > > "JE McGimpsey" wrote:
    > > >
    > > > > One way:
    > > > >
    > > > > =SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product>"))
    > > > >
    > > > > http://www.mcgimpsey.com/excel/doubleneg.html
    > > > >
    > > > >
    > > > > In article <[email protected]>,
    > > > > "Roger" <[email protected]> wrote:
    > > > >
    > > > > > I have a spreadsheet wiht 5 colums; I want to count how many times a product
    > > > > > appears on column E, only IF cells on column A= 1000.
    > > > >

    > >
    > > --
    > >
    > > Dave Peterson
    > >


    --

    Dave Peterson

  7. #7
    Roger
    Guest

    Re: countif

    Dave,

    Its ok now...not sure what happened! Anyway...thank you ever so much for
    your help and time!
    Best Regards,
    Roger

    "Dave Peterson" wrote:

    > Do you have calculation set to automatic?
    >
    > Tools|Options|Calculation tab
    >
    >
    > Roger wrote:
    > >
    > > Once again many thanks for your help.
    > >
    > > The formula I have used is :
    > > =SUMPRODUCT(--(A3:a2002=109266),--(e3:e2002="AS400"))
    > > The result in the cell is zero, however when I press the fx on the formula
    > > bar, the correct number appears.
    > >
    > > Best regards,
    > > Roger
    > >
    > > "Dave Peterson" wrote:
    > >
    > > > Don't put the formula in A1:A2000 and not in E1:E2000.
    > > >
    > > > But do make sure you change "<product>" to the real name.
    > > >
    > > > If this doesn't help, post back the formula you used.
    > > >
    > > > Roger wrote:
    > > > >
    > > > > Hi there,
    > > > >
    > > > > Many thanks for your help, but the formula is returning wiht 0(zero), value
    > > > > - Is there a specific place I should write the formula?
    > > > > regards,
    > > > > Roger
    > > > >
    > > > > "JE McGimpsey" wrote:
    > > > >
    > > > > > One way:
    > > > > >
    > > > > > =SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product>"))
    > > > > >
    > > > > > http://www.mcgimpsey.com/excel/doubleneg.html
    > > > > >
    > > > > >
    > > > > > In article <[email protected]>,
    > > > > > "Roger" <[email protected]> wrote:
    > > > > >
    > > > > > > I have a spreadsheet wiht 5 colums; I want to count how many times a product
    > > > > > > appears on column E, only IF cells on column A= 1000.
    > > > > >
    > > >
    > > > --
    > > >
    > > > Dave Peterson
    > > >

    >
    > --
    >
    > Dave Peterson
    >


+ 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