In Excel 2016, I have an organized table.

If a row in the table meets my criteria, I want a cell that counts the number of cells throughout the entire row.

I tried using the formula =COUNTIF(Table[@],"my criterion") in column A on each row, but that does not count correctly.

But this does the trick: =COUNTIF(Table[@[ColB]:[ColH]],"my criteria"). However, because my table will grow, I don't want to mention the name of the column [ColB]; instead, I want to refer to the table's first row.

countif

colC

colD

colE

First

formula

A

C

Second

formula

B

C

formula = =COUNTIF(Table[@],"A") does not work

formula = =COUNTIF(Table[@[colC]:[colE]],"A") works

My table will expand both horizontally and vertically.

Dec 25, 2022 in Others 43 views

## 1 answer to this question.

Try this:

` =COUNTIF(B:B,"my citeria")`

so if your Column is A, the range would be A:A, for B it is B:B.

• 51,600 points

## Convert table in a jpg image to excel using python

I believe you must execute OCR (optical ...READ MORE

## Get number of columns of a particular row in given excel using Java

Use: int noOfColumns = sh.getRow(0).getPhysicalNumberOfCells(); Or int noOfColumns = sh.getRow(0).getLastCellNum(); There ...READ MORE

## Shortcut to Apply a Formula to an Entire Column in Excel

Try double-clicking on the bottom right hand ...READ MORE

## INDEX formula in Excel, Top 10, repeats previous value

Try this formula in cell W4: =IF(V3=V4,INDEX(INDIRECT("I"&MATCH(W3,I:I,0)+1&":I26"),MATCH(V4,INDIRECT("R"&MATCH(W3,I:I,0)+1&":R26"),0)),INDEX(\$I\$2:\$I\$26,MATCH(V4,\$R\$2:\$R\$26,0))) The calculation ...READ MORE

## How to "Print" Excel Sheet on Custom Page Size like Din A1?

Try turning the pdf file into an ...READ MORE

## 1-step shortcut to delete entire row in excel 2016

Highlight the whole row by clicking on ...READ MORE