Forum

Notifications
Clear all

count in same row of different column ????

2 Posts
2 Users
0 Reactions
60 Views
(@hshaukat)
Posts: 1
New Member
Topic starter
 
what should I do to count the same character for example "Y" in the same row of different columns in excel?
but don't want to work on ranges suppose if I want to count only Field 1 Field 3  values for John leaving counts for field 2 and 4
 
Example-1.jpg
 
Posted : 01/03/2019 2:30 am
(@debaser)
Posts: 838
Member Moderator
 

You could use something like this:

 

=SUMPRODUCT(0+(INDEX(B2:E2,1,N(IF(1,{1,4})))="Y"))

 

which will check the 1st and 4th columns of the range B2:E2 for example.

 
Posted : 01/03/2019 4:48 am
Share: