Excel help on Count

Status
Not open for further replies.

gkbabu4u

New Member
Joined
Jul 15, 2015
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Hi Team,

I have a dataset with the below format.

acct,date,resp-code
1234,0102,00
1234,0102,00
1234,0102,01
1234,0102,01
1234,0102,00
2341,0102,02

looking for the output in the below format.

acct,date,resp-code,count,SuccessRate

1234,0102,00,03
1234,0102,00,03
1234,0102,01,02
1234,0102,01,02
1234,0102,00,03
2341,0102,02,01,NeverSuccess1

Note:- Pivot should not be used.

SuccessRate to be mentioned as "NeverSuccess"with the transaction count if it does not have a respcode of 00 anytime.

Count should be calculated with combination of acct & resp-code

acct & resp-code are of fixed length.

Appreciate you help!!
Thanks in Advance.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Duplicate to: Search results

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,297
Messages
6,177,746
Members
452,797
Latest member
prophet4see

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top