Alternative to countif for working with rows

Tagin

New Member
Joined
Mar 2, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have a really simple spreadsheet to record wheter a daily target has been met. It grows by adding colums. I need to record times a certain text appears against a person's name in a row. If I was counting down I would use countif/countifs but can't use this for going across. May goal is to collatre the results in a pivot tabe aby person and date. Any suggestion would be welcome.

1646211742791.png
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
The easiest way is to change the layout of your source data with following columns : Employee - Date - Target
From there building a PT is much easier
 
Upvote 0
I don't understand the "cant use [countif] going across". COUNTIFS works fine on horizontal (or even rectangular ranges).
 
Upvote 0
The easiest way is to change the layout of your source data with following columns : Employee - Date - Target
From there building a PT is much easier

I don't understand the "cant use [countif] going across". COUNTIFS works fine on horizontal (or even rectangular ranges).
This prompted me to experiment. If I put a range eg B:B countif works as expected. And yes it works perfectlly in a rectangle. When I tried to put a range of a row eg A2:A50 I get an error which prompted th equery. However if I use table as a range eg =COUNTIF(Table3[@],"Achieved"), it works.

So thanks.
 
Upvote 0
What error did you get when you tried it horizontally and what was the formula that returned that error.
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,977
Members
449,200
Latest member
Jamil ahmed

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