+ Reply to Thread
Results 1 to 31 of 31

count problem

  1. #1
    KL
    Guest

    Re: count problem

    Hi vipa,

    Try this:

    =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    Regards,
    KL


    "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    >I am trying to setup a spreadsheet where data will be imported in from
    > another package into a sheet within the spreadsheet on a monthly basis. On
    > another sheet I am trying to setup various formula that will analyse this
    > data automatically. Normally i would use Access but other people within
    > the
    > company do not understand Access. The issue:-
    >
    > I can't get the count function or any derivative to do what i want.
    > Example
    > of problem below.
    > A b c d
    > e
    > 120873 50183368 6 blank REL NMAT PRC SETC
    > 120873 50183299 4 blank CLSD PRT NMAT PRC
    > 122873 50185108 3 blank PCNF NMAT PRC SETC
    > 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >
    > I want to total the no of records in column A but deduct those records in
    > column d where a record is found with a hud prefix
    >
    > --
    > Regards vipa




  2. #2
    vipa2000
    Guest

    Re: count problem

    Thanks KL. worked fine.
    --
    Regards vipa


    "KL" wrote:

    > sorry, actually meant this:
    >
    > =COUNTA($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    >
    > KL
    >
    >
    >
    > "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    > news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > > Hi vipa,
    > >
    > > Try this:
    > >
    > > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    > >
    > > Regards,
    > > KL
    > >
    > >
    > > "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    > > news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    > >>I am trying to setup a spreadsheet where data will be imported in from
    > >> another package into a sheet within the spreadsheet on a monthly basis.
    > >> On
    > >> another sheet I am trying to setup various formula that will analyse this
    > >> data automatically. Normally i would use Access but other people within
    > >> the
    > >> company do not understand Access. The issue:-
    > >>
    > >> I can't get the count function or any derivative to do what i want.
    > >> Example
    > >> of problem below.
    > >> A b c d e
    > >> 120873 50183368 6 blank REL NMAT PRC SETC
    > >> 120873 50183299 4 blank CLSD PRT NMAT PRC
    > >> 122873 50185108 3 blank PCNF NMAT PRC SETC
    > >> 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > >> 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    > >>
    > >> I want to total the no of records in column A but deduct those records in
    > >> column d where a record is found with a hud prefix
    > >>
    > >> --
    > >> Regards vipa

    > >
    > >

    >
    >
    >


  3. #3
    Sandy Mann
    Guest

    Re: count problem

    Seeing Chuck's suggestion made me realise that I had misread the request:

    =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)<>"HUD"))

    --
    HTH

    Sandy
    sandymann@mailinator.com
    Replace@mailinator with @tiscali.co.uk


    "Sandy Mann" <sandymann2@mailinator.com> wrote in message
    news:Oef0nMvkFHA.3200@TK2MSFTNGP10.phx.gbl...
    > "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    > news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    >> Hi vipa,
    >>
    >> Try this:
    >>
    >> =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    >
    > Assumes that every entry in column D with "Hud*" has a corresponding entry
    > in Column A which may or may not be true. I would suggest:
    >
    > =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)="HUD"))
    > --
    > HTH
    >
    > Sandy
    > sandymann@mailinator.com
    > Replace@mailinator with @tiscali.co.uk
    >
    >
    >




  4. #4
    KL
    Guest

    Re: count problem

    sorry, actually meant this:

    =COUNTA($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    KL



    "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > Hi vipa,
    >
    > Try this:
    >
    > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    >
    > Regards,
    > KL
    >
    >
    > "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    > news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    >>I am trying to setup a spreadsheet where data will be imported in from
    >> another package into a sheet within the spreadsheet on a monthly basis.
    >> On
    >> another sheet I am trying to setup various formula that will analyse this
    >> data automatically. Normally i would use Access but other people within
    >> the
    >> company do not understand Access. The issue:-
    >>
    >> I can't get the count function or any derivative to do what i want.
    >> Example
    >> of problem below.
    >> A b c d e
    >> 120873 50183368 6 blank REL NMAT PRC SETC
    >> 120873 50183299 4 blank CLSD PRT NMAT PRC
    >> 122873 50185108 3 blank PCNF NMAT PRC SETC
    >> 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    >> 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >>
    >> I want to total the no of records in column A but deduct those records in
    >> column d where a record is found with a hud prefix
    >>
    >> --
    >> Regards vipa

    >
    >




  5. #5
    Sandy Mann
    Guest

    Re: count problem

    "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > Hi vipa,
    >
    > Try this:
    >
    > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")


    Assumes that every entry in column D with "Hud*" has a corresponding entry
    in Column A which may or may not be true. I would suggest:

    =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)="HUD"))
    --
    HTH

    Sandy
    sandymann@mailinator.com
    Replace@mailinator with @tiscali.co.uk




  6. #6
    CLR
    Guest

    Re: count problem

    One way would be to Autofilter > Custom > "does not equal" >
    HUD*..........and then use =SUBTOTAL,2,A:A)

    Vaya con Dios,
    Chuck CABGx3



    "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    > I am trying to setup a spreadsheet where data will be imported in from
    > another package into a sheet within the spreadsheet on a monthly basis. On
    > another sheet I am trying to setup various formula that will analyse this
    > data automatically. Normally i would use Access but other people within

    the
    > company do not understand Access. The issue:-
    >
    > I can't get the count function or any derivative to do what i want.

    Example
    > of problem below.
    > A b c d

    e
    > 120873 50183368 6 blank REL NMAT PRC SETC
    > 120873 50183299 4 blank CLSD PRT NMAT PRC
    > 122873 50185108 3 blank PCNF NMAT PRC SETC
    > 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >
    > I want to total the no of records in column A but deduct those records in
    > column d where a record is found with a hud prefix
    >
    > --
    > Regards vipa




  7. #7
    vipa2000
    Guest

    Re: count problem

    Thanks KL. worked fine.
    --
    Regards vipa


    "KL" wrote:

    > sorry, actually meant this:
    >
    > =COUNTA($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    >
    > KL
    >
    >
    >
    > "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    > news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > > Hi vipa,
    > >
    > > Try this:
    > >
    > > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    > >
    > > Regards,
    > > KL
    > >
    > >
    > > "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    > > news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    > >>I am trying to setup a spreadsheet where data will be imported in from
    > >> another package into a sheet within the spreadsheet on a monthly basis.
    > >> On
    > >> another sheet I am trying to setup various formula that will analyse this
    > >> data automatically. Normally i would use Access but other people within
    > >> the
    > >> company do not understand Access. The issue:-
    > >>
    > >> I can't get the count function or any derivative to do what i want.
    > >> Example
    > >> of problem below.
    > >> A b c d e
    > >> 120873 50183368 6 blank REL NMAT PRC SETC
    > >> 120873 50183299 4 blank CLSD PRT NMAT PRC
    > >> 122873 50185108 3 blank PCNF NMAT PRC SETC
    > >> 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > >> 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    > >>
    > >> I want to total the no of records in column A but deduct those records in
    > >> column d where a record is found with a hud prefix
    > >>
    > >> --
    > >> Regards vipa

    > >
    > >

    >
    >
    >


  8. #8
    KL
    Guest

    Re: count problem

    Hi vipa,

    Try this:

    =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    Regards,
    KL


    "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    >I am trying to setup a spreadsheet where data will be imported in from
    > another package into a sheet within the spreadsheet on a monthly basis. On
    > another sheet I am trying to setup various formula that will analyse this
    > data automatically. Normally i would use Access but other people within
    > the
    > company do not understand Access. The issue:-
    >
    > I can't get the count function or any derivative to do what i want.
    > Example
    > of problem below.
    > A b c d
    > e
    > 120873 50183368 6 blank REL NMAT PRC SETC
    > 120873 50183299 4 blank CLSD PRT NMAT PRC
    > 122873 50185108 3 blank PCNF NMAT PRC SETC
    > 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >
    > I want to total the no of records in column A but deduct those records in
    > column d where a record is found with a hud prefix
    >
    > --
    > Regards vipa




  9. #9
    Sandy Mann
    Guest

    Re: count problem

    Seeing Chuck's suggestion made me realise that I had misread the request:

    =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)<>"HUD"))

    --
    HTH

    Sandy
    sandymann@mailinator.com
    Replace@mailinator with @tiscali.co.uk


    "Sandy Mann" <sandymann2@mailinator.com> wrote in message
    news:Oef0nMvkFHA.3200@TK2MSFTNGP10.phx.gbl...
    > "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    > news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    >> Hi vipa,
    >>
    >> Try this:
    >>
    >> =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    >
    > Assumes that every entry in column D with "Hud*" has a corresponding entry
    > in Column A which may or may not be true. I would suggest:
    >
    > =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)="HUD"))
    > --
    > HTH
    >
    > Sandy
    > sandymann@mailinator.com
    > Replace@mailinator with @tiscali.co.uk
    >
    >
    >




  10. #10
    CLR
    Guest

    Re: count problem

    One way would be to Autofilter > Custom > "does not equal" >
    HUD*..........and then use =SUBTOTAL,2,A:A)

    Vaya con Dios,
    Chuck CABGx3



    "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    > I am trying to setup a spreadsheet where data will be imported in from
    > another package into a sheet within the spreadsheet on a monthly basis. On
    > another sheet I am trying to setup various formula that will analyse this
    > data automatically. Normally i would use Access but other people within

    the
    > company do not understand Access. The issue:-
    >
    > I can't get the count function or any derivative to do what i want.

    Example
    > of problem below.
    > A b c d

    e
    > 120873 50183368 6 blank REL NMAT PRC SETC
    > 120873 50183299 4 blank CLSD PRT NMAT PRC
    > 122873 50185108 3 blank PCNF NMAT PRC SETC
    > 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >
    > I want to total the no of records in column A but deduct those records in
    > column d where a record is found with a hud prefix
    >
    > --
    > Regards vipa




  11. #11
    KL
    Guest

    Re: count problem

    sorry, actually meant this:

    =COUNTA($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    KL



    "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > Hi vipa,
    >
    > Try this:
    >
    > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    >
    > Regards,
    > KL
    >
    >
    > "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    > news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    >>I am trying to setup a spreadsheet where data will be imported in from
    >> another package into a sheet within the spreadsheet on a monthly basis.
    >> On
    >> another sheet I am trying to setup various formula that will analyse this
    >> data automatically. Normally i would use Access but other people within
    >> the
    >> company do not understand Access. The issue:-
    >>
    >> I can't get the count function or any derivative to do what i want.
    >> Example
    >> of problem below.
    >> A b c d e
    >> 120873 50183368 6 blank REL NMAT PRC SETC
    >> 120873 50183299 4 blank CLSD PRT NMAT PRC
    >> 122873 50185108 3 blank PCNF NMAT PRC SETC
    >> 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    >> 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >>
    >> I want to total the no of records in column A but deduct those records in
    >> column d where a record is found with a hud prefix
    >>
    >> --
    >> Regards vipa

    >
    >




  12. #12
    Sandy Mann
    Guest

    Re: count problem

    "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > Hi vipa,
    >
    > Try this:
    >
    > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")


    Assumes that every entry in column D with "Hud*" has a corresponding entry
    in Column A which may or may not be true. I would suggest:

    =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)="HUD"))
    --
    HTH

    Sandy
    sandymann@mailinator.com
    Replace@mailinator with @tiscali.co.uk




  13. #13
    vipa2000
    Guest

    Re: count problem

    Thanks KL. worked fine.
    --
    Regards vipa


    "KL" wrote:

    > sorry, actually meant this:
    >
    > =COUNTA($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    >
    > KL
    >
    >
    >
    > "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    > news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > > Hi vipa,
    > >
    > > Try this:
    > >
    > > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    > >
    > > Regards,
    > > KL
    > >
    > >
    > > "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    > > news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    > >>I am trying to setup a spreadsheet where data will be imported in from
    > >> another package into a sheet within the spreadsheet on a monthly basis.
    > >> On
    > >> another sheet I am trying to setup various formula that will analyse this
    > >> data automatically. Normally i would use Access but other people within
    > >> the
    > >> company do not understand Access. The issue:-
    > >>
    > >> I can't get the count function or any derivative to do what i want.
    > >> Example
    > >> of problem below.
    > >> A b c d e
    > >> 120873 50183368 6 blank REL NMAT PRC SETC
    > >> 120873 50183299 4 blank CLSD PRT NMAT PRC
    > >> 122873 50185108 3 blank PCNF NMAT PRC SETC
    > >> 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > >> 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    > >>
    > >> I want to total the no of records in column A but deduct those records in
    > >> column d where a record is found with a hud prefix
    > >>
    > >> --
    > >> Regards vipa

    > >
    > >

    >
    >
    >


  14. #14
    Sandy Mann
    Guest

    Re: count problem

    Seeing Chuck's suggestion made me realise that I had misread the request:

    =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)<>"HUD"))

    --
    HTH

    Sandy
    sandymann@mailinator.com
    Replace@mailinator with @tiscali.co.uk


    "Sandy Mann" <sandymann2@mailinator.com> wrote in message
    news:Oef0nMvkFHA.3200@TK2MSFTNGP10.phx.gbl...
    > "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    > news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    >> Hi vipa,
    >>
    >> Try this:
    >>
    >> =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    >
    > Assumes that every entry in column D with "Hud*" has a corresponding entry
    > in Column A which may or may not be true. I would suggest:
    >
    > =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)="HUD"))
    > --
    > HTH
    >
    > Sandy
    > sandymann@mailinator.com
    > Replace@mailinator with @tiscali.co.uk
    >
    >
    >




  15. #15
    CLR
    Guest

    Re: count problem

    One way would be to Autofilter > Custom > "does not equal" >
    HUD*..........and then use =SUBTOTAL,2,A:A)

    Vaya con Dios,
    Chuck CABGx3



    "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    > I am trying to setup a spreadsheet where data will be imported in from
    > another package into a sheet within the spreadsheet on a monthly basis. On
    > another sheet I am trying to setup various formula that will analyse this
    > data automatically. Normally i would use Access but other people within

    the
    > company do not understand Access. The issue:-
    >
    > I can't get the count function or any derivative to do what i want.

    Example
    > of problem below.
    > A b c d

    e
    > 120873 50183368 6 blank REL NMAT PRC SETC
    > 120873 50183299 4 blank CLSD PRT NMAT PRC
    > 122873 50185108 3 blank PCNF NMAT PRC SETC
    > 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >
    > I want to total the no of records in column A but deduct those records in
    > column d where a record is found with a hud prefix
    >
    > --
    > Regards vipa




  16. #16
    Sandy Mann
    Guest

    Re: count problem

    "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > Hi vipa,
    >
    > Try this:
    >
    > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")


    Assumes that every entry in column D with "Hud*" has a corresponding entry
    in Column A which may or may not be true. I would suggest:

    =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)="HUD"))
    --
    HTH

    Sandy
    sandymann@mailinator.com
    Replace@mailinator with @tiscali.co.uk




  17. #17
    KL
    Guest

    Re: count problem

    sorry, actually meant this:

    =COUNTA($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    KL



    "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > Hi vipa,
    >
    > Try this:
    >
    > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    >
    > Regards,
    > KL
    >
    >
    > "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    > news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    >>I am trying to setup a spreadsheet where data will be imported in from
    >> another package into a sheet within the spreadsheet on a monthly basis.
    >> On
    >> another sheet I am trying to setup various formula that will analyse this
    >> data automatically. Normally i would use Access but other people within
    >> the
    >> company do not understand Access. The issue:-
    >>
    >> I can't get the count function or any derivative to do what i want.
    >> Example
    >> of problem below.
    >> A b c d e
    >> 120873 50183368 6 blank REL NMAT PRC SETC
    >> 120873 50183299 4 blank CLSD PRT NMAT PRC
    >> 122873 50185108 3 blank PCNF NMAT PRC SETC
    >> 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    >> 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >>
    >> I want to total the no of records in column A but deduct those records in
    >> column d where a record is found with a hud prefix
    >>
    >> --
    >> Regards vipa

    >
    >




  18. #18
    KL
    Guest

    Re: count problem

    Hi vipa,

    Try this:

    =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    Regards,
    KL


    "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    >I am trying to setup a spreadsheet where data will be imported in from
    > another package into a sheet within the spreadsheet on a monthly basis. On
    > another sheet I am trying to setup various formula that will analyse this
    > data automatically. Normally i would use Access but other people within
    > the
    > company do not understand Access. The issue:-
    >
    > I can't get the count function or any derivative to do what i want.
    > Example
    > of problem below.
    > A b c d
    > e
    > 120873 50183368 6 blank REL NMAT PRC SETC
    > 120873 50183299 4 blank CLSD PRT NMAT PRC
    > 122873 50185108 3 blank PCNF NMAT PRC SETC
    > 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >
    > I want to total the no of records in column A but deduct those records in
    > column d where a record is found with a hud prefix
    >
    > --
    > Regards vipa




  19. #19
    Sandy Mann
    Guest

    Re: count problem

    "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > Hi vipa,
    >
    > Try this:
    >
    > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")


    Assumes that every entry in column D with "Hud*" has a corresponding entry
    in Column A which may or may not be true. I would suggest:

    =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)="HUD"))
    --
    HTH

    Sandy
    sandymann@mailinator.com
    Replace@mailinator with @tiscali.co.uk




  20. #20
    CLR
    Guest

    Re: count problem

    One way would be to Autofilter > Custom > "does not equal" >
    HUD*..........and then use =SUBTOTAL,2,A:A)

    Vaya con Dios,
    Chuck CABGx3



    "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    > I am trying to setup a spreadsheet where data will be imported in from
    > another package into a sheet within the spreadsheet on a monthly basis. On
    > another sheet I am trying to setup various formula that will analyse this
    > data automatically. Normally i would use Access but other people within

    the
    > company do not understand Access. The issue:-
    >
    > I can't get the count function or any derivative to do what i want.

    Example
    > of problem below.
    > A b c d

    e
    > 120873 50183368 6 blank REL NMAT PRC SETC
    > 120873 50183299 4 blank CLSD PRT NMAT PRC
    > 122873 50185108 3 blank PCNF NMAT PRC SETC
    > 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >
    > I want to total the no of records in column A but deduct those records in
    > column d where a record is found with a hud prefix
    >
    > --
    > Regards vipa




  21. #21
    KL
    Guest

    Re: count problem

    sorry, actually meant this:

    =COUNTA($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    KL



    "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > Hi vipa,
    >
    > Try this:
    >
    > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    >
    > Regards,
    > KL
    >
    >
    > "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    > news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    >>I am trying to setup a spreadsheet where data will be imported in from
    >> another package into a sheet within the spreadsheet on a monthly basis.
    >> On
    >> another sheet I am trying to setup various formula that will analyse this
    >> data automatically. Normally i would use Access but other people within
    >> the
    >> company do not understand Access. The issue:-
    >>
    >> I can't get the count function or any derivative to do what i want.
    >> Example
    >> of problem below.
    >> A b c d e
    >> 120873 50183368 6 blank REL NMAT PRC SETC
    >> 120873 50183299 4 blank CLSD PRT NMAT PRC
    >> 122873 50185108 3 blank PCNF NMAT PRC SETC
    >> 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    >> 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >>
    >> I want to total the no of records in column A but deduct those records in
    >> column d where a record is found with a hud prefix
    >>
    >> --
    >> Regards vipa

    >
    >




  22. #22
    Sandy Mann
    Guest

    Re: count problem

    Seeing Chuck's suggestion made me realise that I had misread the request:

    =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)<>"HUD"))

    --
    HTH

    Sandy
    sandymann@mailinator.com
    Replace@mailinator with @tiscali.co.uk


    "Sandy Mann" <sandymann2@mailinator.com> wrote in message
    news:Oef0nMvkFHA.3200@TK2MSFTNGP10.phx.gbl...
    > "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    > news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    >> Hi vipa,
    >>
    >> Try this:
    >>
    >> =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    >
    > Assumes that every entry in column D with "Hud*" has a corresponding entry
    > in Column A which may or may not be true. I would suggest:
    >
    > =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)="HUD"))
    > --
    > HTH
    >
    > Sandy
    > sandymann@mailinator.com
    > Replace@mailinator with @tiscali.co.uk
    >
    >
    >




  23. #23
    vipa2000
    Guest

    Re: count problem

    Thanks KL. worked fine.
    --
    Regards vipa


    "KL" wrote:

    > sorry, actually meant this:
    >
    > =COUNTA($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    >
    > KL
    >
    >
    >
    > "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    > news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > > Hi vipa,
    > >
    > > Try this:
    > >
    > > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    > >
    > > Regards,
    > > KL
    > >
    > >
    > > "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    > > news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    > >>I am trying to setup a spreadsheet where data will be imported in from
    > >> another package into a sheet within the spreadsheet on a monthly basis.
    > >> On
    > >> another sheet I am trying to setup various formula that will analyse this
    > >> data automatically. Normally i would use Access but other people within
    > >> the
    > >> company do not understand Access. The issue:-
    > >>
    > >> I can't get the count function or any derivative to do what i want.
    > >> Example
    > >> of problem below.
    > >> A b c d e
    > >> 120873 50183368 6 blank REL NMAT PRC SETC
    > >> 120873 50183299 4 blank CLSD PRT NMAT PRC
    > >> 122873 50185108 3 blank PCNF NMAT PRC SETC
    > >> 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > >> 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    > >>
    > >> I want to total the no of records in column A but deduct those records in
    > >> column d where a record is found with a hud prefix
    > >>
    > >> --
    > >> Regards vipa

    > >
    > >

    >
    >
    >


  24. #24
    KL
    Guest

    Re: count problem

    Hi vipa,

    Try this:

    =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    Regards,
    KL


    "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    >I am trying to setup a spreadsheet where data will be imported in from
    > another package into a sheet within the spreadsheet on a monthly basis. On
    > another sheet I am trying to setup various formula that will analyse this
    > data automatically. Normally i would use Access but other people within
    > the
    > company do not understand Access. The issue:-
    >
    > I can't get the count function or any derivative to do what i want.
    > Example
    > of problem below.
    > A b c d
    > e
    > 120873 50183368 6 blank REL NMAT PRC SETC
    > 120873 50183299 4 blank CLSD PRT NMAT PRC
    > 122873 50185108 3 blank PCNF NMAT PRC SETC
    > 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >
    > I want to total the no of records in column A but deduct those records in
    > column d where a record is found with a hud prefix
    >
    > --
    > Regards vipa




  25. #25
    Sandy Mann
    Guest

    Re: count problem

    "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > Hi vipa,
    >
    > Try this:
    >
    > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")


    Assumes that every entry in column D with "Hud*" has a corresponding entry
    in Column A which may or may not be true. I would suggest:

    =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)="HUD"))
    --
    HTH

    Sandy
    sandymann@mailinator.com
    Replace@mailinator with @tiscali.co.uk




  26. #26
    KL
    Guest

    Re: count problem

    sorry, actually meant this:

    =COUNTA($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    KL



    "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > Hi vipa,
    >
    > Try this:
    >
    > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    >
    > Regards,
    > KL
    >
    >
    > "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    > news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    >>I am trying to setup a spreadsheet where data will be imported in from
    >> another package into a sheet within the spreadsheet on a monthly basis.
    >> On
    >> another sheet I am trying to setup various formula that will analyse this
    >> data automatically. Normally i would use Access but other people within
    >> the
    >> company do not understand Access. The issue:-
    >>
    >> I can't get the count function or any derivative to do what i want.
    >> Example
    >> of problem below.
    >> A b c d e
    >> 120873 50183368 6 blank REL NMAT PRC SETC
    >> 120873 50183299 4 blank CLSD PRT NMAT PRC
    >> 122873 50185108 3 blank PCNF NMAT PRC SETC
    >> 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    >> 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >>
    >> I want to total the no of records in column A but deduct those records in
    >> column d where a record is found with a hud prefix
    >>
    >> --
    >> Regards vipa

    >
    >




  27. #27
    CLR
    Guest

    Re: count problem

    One way would be to Autofilter > Custom > "does not equal" >
    HUD*..........and then use =SUBTOTAL,2,A:A)

    Vaya con Dios,
    Chuck CABGx3



    "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    > I am trying to setup a spreadsheet where data will be imported in from
    > another package into a sheet within the spreadsheet on a monthly basis. On
    > another sheet I am trying to setup various formula that will analyse this
    > data automatically. Normally i would use Access but other people within

    the
    > company do not understand Access. The issue:-
    >
    > I can't get the count function or any derivative to do what i want.

    Example
    > of problem below.
    > A b c d

    e
    > 120873 50183368 6 blank REL NMAT PRC SETC
    > 120873 50183299 4 blank CLSD PRT NMAT PRC
    > 122873 50185108 3 blank PCNF NMAT PRC SETC
    > 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >
    > I want to total the no of records in column A but deduct those records in
    > column d where a record is found with a hud prefix
    >
    > --
    > Regards vipa




  28. #28
    Sandy Mann
    Guest

    Re: count problem

    Seeing Chuck's suggestion made me realise that I had misread the request:

    =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)<>"HUD"))

    --
    HTH

    Sandy
    sandymann@mailinator.com
    Replace@mailinator with @tiscali.co.uk


    "Sandy Mann" <sandymann2@mailinator.com> wrote in message
    news:Oef0nMvkFHA.3200@TK2MSFTNGP10.phx.gbl...
    > "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    > news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    >> Hi vipa,
    >>
    >> Try this:
    >>
    >> =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    >
    > Assumes that every entry in column D with "Hud*" has a corresponding entry
    > in Column A which may or may not be true. I would suggest:
    >
    > =SUMPRODUCT(--(A1:A5<>""),--(LEFT(D1:D5,3)="HUD"))
    > --
    > HTH
    >
    > Sandy
    > sandymann@mailinator.com
    > Replace@mailinator with @tiscali.co.uk
    >
    >
    >




  29. #29
    KL
    Guest

    Re: count problem

    Hi vipa,

    Try this:

    =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")

    Regards,
    KL


    "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    >I am trying to setup a spreadsheet where data will be imported in from
    > another package into a sheet within the spreadsheet on a monthly basis. On
    > another sheet I am trying to setup various formula that will analyse this
    > data automatically. Normally i would use Access but other people within
    > the
    > company do not understand Access. The issue:-
    >
    > I can't get the count function or any derivative to do what i want.
    > Example
    > of problem below.
    > A b c d
    > e
    > 120873 50183368 6 blank REL NMAT PRC SETC
    > 120873 50183299 4 blank CLSD PRT NMAT PRC
    > 122873 50185108 3 blank PCNF NMAT PRC SETC
    > 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    >
    > I want to total the no of records in column A but deduct those records in
    > column d where a record is found with a hud prefix
    >
    > --
    > Regards vipa




  30. #30
    vipa2000
    Guest

    Re: count problem

    Thanks KL. worked fine.
    --
    Regards vipa


    "KL" wrote:

    > sorry, actually meant this:
    >
    > =COUNTA($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    >
    > KL
    >
    >
    >
    > "KL" <NOSPAMlapink2000@PLEASEhotmail.com> wrote in message
    > news:OnhGZHvkFHA.3960@TK2MSFTNGP12.phx.gbl...
    > > Hi vipa,
    > >
    > > Try this:
    > >
    > > =COUNT($A$2:$A$6)-COUNTIF($D$2:$D$6,"HUD*")
    > >
    > > Regards,
    > > KL
    > >
    > >
    > > "vipa2000" <vipa2000@discussions.microsoft.com> wrote in message
    > > news:4C1619BC-76CB-4A14-A4A7-D96D725B07A9@microsoft.com...
    > >>I am trying to setup a spreadsheet where data will be imported in from
    > >> another package into a sheet within the spreadsheet on a monthly basis.
    > >> On
    > >> another sheet I am trying to setup various formula that will analyse this
    > >> data automatically. Normally i would use Access but other people within
    > >> the
    > >> company do not understand Access. The issue:-
    > >>
    > >> I can't get the count function or any derivative to do what i want.
    > >> Example
    > >> of problem below.
    > >> A b c d e
    > >> 120873 50183368 6 blank REL NMAT PRC SETC
    > >> 120873 50183299 4 blank CLSD PRT NMAT PRC
    > >> 122873 50185108 3 blank PCNF NMAT PRC SETC
    > >> 122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    > >> 122873 50147658 5 HUDS003115 REL NMAT PRC SETC
    > >>
    > >> I want to total the no of records in column A but deduct those records in
    > >> column d where a record is found with a hud prefix
    > >>
    > >> --
    > >> Regards vipa

    > >
    > >

    >
    >
    >


  31. #31
    vipa2000
    Guest

    count problem

    I am trying to setup a spreadsheet where data will be imported in from
    another package into a sheet within the spreadsheet on a monthly basis. On
    another sheet I am trying to setup various formula that will analyse this
    data automatically. Normally i would use Access but other people within the
    company do not understand Access. The issue:-

    I can't get the count function or any derivative to do what i want. Example
    of problem below.
    A b c d e
    120873 50183368 6 blank REL NMAT PRC SETC
    120873 50183299 4 blank CLSD PRT NMAT PRC
    122873 50185108 3 blank PCNF NMAT PRC SETC
    122873 50178522 3 HUDS002277 TECO PCNF PRT NMAT
    122873 50147658 5 HUDS003115 REL NMAT PRC SETC

    I want to total the no of records in column A but deduct those records in
    column d where a record is found with a hud prefix

    --
    Regards vipa

+ 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