ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES (https://www.excelbanter.com/excel-worksheet-functions/191494-request-formula-counting-sum-duplicates.html)

PERANISH

REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES
 
COL-A COL-B COL-C COL-D COL-E
A3212 AC-A3654-023-02 2-2 OK 5
A3212 AC-A3654-023-02 2-1 OK 5
A3212 AC-A3654-023-02 4M NO 10
A6250 AC-A3655-024-03 1-M1 OK 4
A6250 AC-A3654-023-03 2 OK 8
A5630 AC-A3654-023-02 2-M2 OK 2

I WANT RESULT IF COL-D = OK, COUNT, COL-C & SUM COL-E( FOR THIS RESULT WILL
BE, 5 & SUM-24)
ANOTHER RESULT, IF COL-D=OK, COUNT, COL-B , VOIDING OF DUPLICATES(FOR THIS
RESULT WILL BE, 3)

Request you to help on this & to save my time.


Pete_UK

REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES
 
In future do not post with the Caps Lock on - this is regarded as
SHOUTING, is difficult to read, and is considered rude.

Try these:

=COUNTIF(C:C,"OK")

=SUMIF(C:C,"OK",D:D)

Not sure where column E comes into it.

Hope this helps.

Pete

On Jun 17, 9:39*am, PERANISH
wrote:
COL-A * * * COL-B * * * * * * * * * * *COL-C * * * COL-D * * * * COL-E
A3212 * AC-A3654-023-02 2-2 * * OK * * *5
A3212 * AC-A3654-023-02 2-1 * * OK * * *5
A3212 * AC-A3654-023-02 4M * * *NO * * *10
A6250 * AC-A3655-024-03 1-M1 * *OK * * *4
A6250 * AC-A3654-023-03 2 * * * OK * * *8
A5630 * AC-A3654-023-02 2-M2 * *OK * * *2

I WANT RESULT IF COL-D = OK, COUNT, COL-C *& SUM COL-E( FOR THIS RESULT WILL
BE, 5 & SUM-24) * * * * * * * * * * * * * *
ANOTHER RESULT, IF COL-D=OK, COUNT, COL-B , VOIDING OF DUPLICATES(FOR THIS
RESULT WILL BE, 3) * * * * * * * * * * * * * * *

Request you to help on this & to save my time. * * * * * * * * * * * * * * *



Spiky

REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES
 

ANOTHER RESULT, IF COL-D=OK, COUNT, COL-B , VOIDING OF DUPLICATES(FOR THIS
RESULT WILL BE, 3)


Request you to help on this & to save my time.


This one is trickier. One way would be to install "morefunc" UDFs.
Google them. They contain a COUNTDIFF function that will do exactly
what you want. I believe this would be the formula:
=COUNTDIFF(B:B,,D:D<"ok")

You'd have to look this up to understand it.

PERANISH

REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES
 
Dear Mr.Pete,
Thank u fro ur fromula & nice working. Same time, i want sformula for 2nd
Option

"Pete_UK" wrote:

In future do not post with the Caps Lock on - this is regarded as
SHOUTING, is difficult to read, and is considered rude.

Try these:

=COUNTIF(C:C,"OK")

=SUMIF(C:C,"OK",D:D)

Not sure where column E comes into it.

Hope this helps.

Pete

On Jun 17, 9:39 am, PERANISH
wrote:
COL-A COL-B COL-C COL-D COL-E
A3212 AC-A3654-023-02 2-2 OK 5
A3212 AC-A3654-023-02 2-1 OK 5
A3212 AC-A3654-023-02 4M NO 10
A6250 AC-A3655-024-03 1-M1 OK 4
A6250 AC-A3654-023-03 2 OK 8
A5630 AC-A3654-023-02 2-M2 OK 2

I WANT RESULT IF COL-D = OK, COUNT, COL-C & SUM COL-E( FOR THIS RESULT WILL
BE, 5 & SUM-24)
ANOTHER RESULT, IF COL-D=OK, COUNT, COL-B , VOIDING OF DUPLICATES(FOR THIS
RESULT WILL BE, 3)

Request you to help on this & to save my time.




PERANISH

REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES
 
Dear Mr.Spiky,

Thanks for yr reply. But i dont know how can i get the function from google.
Please explain the procedure. If i get i will be very lucky

-peranish

"Spiky" wrote:


ANOTHER RESULT, IF COL-D=OK, COUNT, COL-B , VOIDING OF DUPLICATES(FOR THIS
RESULT WILL BE, 3)


Request you to help on this & to save my time.


This one is trickier. One way would be to install "morefunc" UDFs.
Google them. They contain a COUNTDIFF function that will do exactly
what you want. I believe this would be the formula:
=COUNTDIFF(B:B,,D:D<"ok")

You'd have to look this up to understand it.


Gord Dibben

REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES
 
Try this URL for a download of Laurent's morefunc add-in.

http://www.download.com/Morefunc/300...-10423159.html


Gord Dibben MS Excel MVP

On Sat, 21 Jun 2008 01:49:00 -0700, PERANISH
wrote:

Dear Mr.Spiky,

Thanks for yr reply. But i dont know how can i get the function from google.
Please explain the procedure. If i get i will be very lucky

-peranish

"Spiky" wrote:


ANOTHER RESULT, IF COL-D=OK, COUNT, COL-B , VOIDING OF DUPLICATES(FOR THIS
RESULT WILL BE, 3)

Request you to help on this & to save my time.


This one is trickier. One way would be to install "morefunc" UDFs.
Google them. They contain a COUNTDIFF function that will do exactly
what you want. I believe this would be the formula:
=COUNTDIFF(B:B,,D:D<"ok")

You'd have to look this up to understand it.



PERANISH

REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES
 
Thanks Mr.Gord,

I am getting result of Col-B(CountDiff of voiding duplicates). But i want if
Col-D = "OK", then Countdiff of Col-B.

Can u Help on this please.

Once again thanks

-peranish

"Gord Dibben" wrote:

Try this URL for a download of Laurent's morefunc add-in.

http://www.download.com/Morefunc/300...-10423159.html


Gord Dibben MS Excel MVP

On Sat, 21 Jun 2008 01:49:00 -0700, PERANISH
wrote:

Dear Mr.Spiky,

Thanks for yr reply. But i dont know how can i get the function from google.
Please explain the procedure. If i get i will be very lucky

-peranish

"Spiky" wrote:


ANOTHER RESULT, IF COL-D=OK, COUNT, COL-B , VOIDING OF DUPLICATES(FOR THIS
RESULT WILL BE, 3)

Request you to help on this & to save my time.

This one is trickier. One way would be to install "morefunc" UDFs.
Google them. They contain a COUNTDIFF function that will do exactly
what you want. I believe this would be the formula:
=COUNTDIFF(B:B,,D:D<"ok")

You'd have to look this up to understand it.




PERANISH

REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES
 
Thanks Mr.Spiky,

I applied your formula & but i am getting result of Col-B. I want IF Col-D -
"OK", , then COUNTDIFF of Col-B.

Please help on this.

Once again thanks

-PERANISH

"Spiky" wrote:


ANOTHER RESULT, IF COL-D=OK, COUNT, COL-B , VOIDING OF DUPLICATES(FOR THIS
RESULT WILL BE, 3)


Request you to help on this & to save my time.


This one is trickier. One way would be to install "morefunc" UDFs.
Google them. They contain a COUNTDIFF function that will do exactly
what you want. I believe this would be the formula:
=COUNTDIFF(B:B,,D:D<"ok")

You'd have to look this up to understand it.


Spiky

REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES
 
On Jun 23, 3:51 am, PERANISH
wrote:
Thanks Mr.Spiky,

I applied your formula & but i am getting result of Col-B. I want IF Col-D -
"OK", , then COUNTDIFF of Col-B.

Please help on this.

Once again thanks

-PERANISH

"Spiky" wrote:

ANOTHER RESULT, IF COL-D=OK, COUNT, COL-B , VOIDING OF DUPLICATES(FOR THIS
RESULT WILL BE, 3)


Request you to help on this & to save my time.


This one is trickier. One way would be to install "morefunc" UDFs.
Google them. They contain a COUNTDIFF function that will do exactly
what you want. I believe this would be the formula:
=COUNTDIFF(B:B,,D:D<"ok")


You'd have to look this up to understand it.


Wow. I'm sorry, I can't seem to figure this out. That formula I gave
before is not correct. I can't seem to get COUNTDIFF to look at 2
arrays at the same time. But check this out:
http://groups.google.com/group/micro...133886da?hl=en


All times are GMT +1. The time now is 04:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com