How to count multiple text values in a range

ssedlace

New Member
Joined
Feb 25, 2011
Messages
4
I am trying to count how many times any of the following text values show up in a cell range.

Cell range - A5:AG5
text I am trying to count:
LQD
LQD2
LQD3

I have tried this formula but it is returning a blank cell.
=COUNTIF(V5:AG5,"LQD")+COUNTIF(V5:AG5,"LQD2")+COUNTIF(V5:AG5,"LQD3")

What am I doing wrong?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Your formula worked for me. When you say it returns a blank cell, what is the number format of that cell? The formula can only return a number (zero or above).
 
Upvote 0
It is actually showing FALSE in the cell. when on my report it should report 10 occurances of those values.
 
Upvote 0
Okay, then is there a formula that would allow me to say count any cell in the range V5:AG5 that has a value that starts with an L ?
 
Upvote 0

Forum statistics

Threads
1,224,532
Messages
6,179,388
Members
452,908
Latest member
MTDelphis

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