Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

COUNTIFS

tanishmittal
7 - Meteor

Hi, need help for the following COUNTIFS function

 

Basically, want to figure the count of names on basis of how many times the name is in a specific month. You can refer the formula on picture below for clarity. Thanks!

 

tanishmittal_0-1606291776491.png

 

Following is the data table:

 

NameMonth
A8
B8
C8
D8
G8
H8
A8
B8
C8
F8
G8
A8
C8
D8
A9
B9
C9
D9
E9
F9
G9
H9
H9
H9
H9
E9
J10
K10
F10
G10
J10
K10
7 REPLIES 7
atcodedog05
22 - Nova
22 - Nova

Hi @tanishmittal 

 

Is this what you looking for

Here is a workflow for the task.

Output:

atcodedog05_0-1606292692068.png

OR

atcodedog05_2-1606292749252.png

Workflow:

atcodedog05_1-1606292706869.png

 

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

tanishmittal
7 - Meteor

Hi @atcodedog05

 

Slight issue with this as I just want the final count. As you can it mentions "A in 8th month" 3 times with 1, 2 & 3 as the count. I just want the max count in every row. Don't want to summarize it.

atcodedog05
22 - Nova
22 - Nova

Hi @tanishmittal I just rethought that and updated the post.

 

Happy to help 🙂 @tanishmittal 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any issues 🙂

tanishmittal
7 - Meteor

Wanted the first output, thanks! 😀

 

@

tanishmittal
7 - Meteor

A) The attachment is to an older file. Can you attach the newer version considering I want the output similar to output 1.

 

B) There's another caveat, the table also has another column (for eg: amount) with different amounts for every row field. As a result, I want the count of names on basis of months for every row field. If I summarize, either the amounts go away or it groups by amount making it count "1" for every name.

 

I hope you understand what I'm saying.

 

NameMonthMonthwise CountAmount
A83216
B82149
C8368
D82187
G8244
H8187
A83104
B82286
C83224
F81223
G8280
A83213
C83200
D8290
A91268
B91169
C91277
D91222
E9276
F91109
G9175
H94134
H9461
H94289
H94160
E92189
J102258
K10225
F10135
G101229
J10287
K102106

 

I want the solution as in third column of this table.

atcodedog05
22 - Nova
22 - Nova

Hi @tanishmittal 

 

Sorry my bad

 

Here is the updated workflow.

Output:

atcodedog05_0-1606294754203.png

Workflow:

atcodedog05_1-1606294768755.png

Hope this helps 🙂 Feel to ask if you have any questions

AytajMukhtar
5 - Atom

Hey there, can you please type the steps indicating the tools and formulas used? I was unable to open the attached file. The photos too do not reflect any info

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels