REQUEST FORMULA FOR COUNTING & SUM IN DUPLICATES

P

PERANISH

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.
 
P

Pete_UK

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
 
S

Spiky

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.
 
P

PERANISH

Dear Mr.Pete,
Thank u fro ur fromula & nice working. Same time, i want sformula for 2nd
Option
 
P

PERANISH

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
 
P

PERANISH

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
 
P

PERANISH

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
 
S

Spiky

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top