Replicate CountIF
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Team,
I'm trying to implement countIF like in excel. I have attached the sample input file. Column F contains the complete formula I would like to implement.
Basically I'm struggling with the Count IF part which I have separately mentioned in Column H. The Output of the countif part should be as mentioned in Column H.
Appreciate any help.
Solved! Go to Solution.
- Labels:
- Expression
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @hemant86 : I believe the expression below will achieve the result you want. You could use this in a Formula tool to create the calculated column.
IF [Alterix ID] = "A2" AND [Payment Credited] = "Yes" AND [Payment re-processing] = "Yes" THEN 1 ELSE 0 ENDIF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks for your response @MatthewO . Actually my requirement is little different. The one you are suggesting will give 1 only in case of "A2YesYes".
But I need it to be 1 for all possible combination with A2 like "A2NoYes" or A2"NoNo". Here the idea is to find if the last credited status for an employee is Yes then all the entries for that employee can be eliminated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks @atcodedog05 . This looks like will do the job for me. Let me try it out. Thanks Again🙂
