I have this data and i am using count if function, it's not giving me the required output, any suggestion.
simple need to count then names only if the amount is available as 1 else it will be blank
simple need to count then names only if the amount is available as 1 else it will be blank
Excel Formula:
=IF(B2<>"",COUNTIF($A$2:A2,A2),"")
Names | Amount | Count function | Actual Output |
ABG | 12.50 | 1 | correct |
ABG | 30.42 | 2 | |
ABG | |||
AMFI | |||
AMFI | 2.44 | 2 | this has to be 1 |
APV | 0.34 | 1 | correct |
APV | 5.40 | 2 | |
AVENDUS | |||
BANK OF MAHARASHTRA | |||
BANK OF MAHARASHTRA | |||
BANK OF MAHARASHTRA | |||
BANK OF MAHARASHTRA | |||
CEPT | 0.68 | 1 | correct |
CHATTISGARH GOVERNMENT | |||
CHATTISGARH GOVERNMENT | 2.63 | 2 | this has to be 1 |