Countif Query

Icehockey44

New Member
Joined
Sep 8, 2011
Messages
46
Hi All,

I need to count some data!!

The problem is the data looks like this:

A1
A2
A3
A4
ABC
RAA
RBB
RCC

i only want to count the entries whihc are A1 A2 A3 etc not the ABS.

currently I have entered count anything beginning with A ("A*"), but this is now incorrect!!

This will be part of an existing formula where I am also counting a sencondry and 3rd column to. So am not wanting these other counts to be disrupted!

Also where I am counting those that start with R ("R*") I now need to also count the ABC entries within this number.

Looking forward to your help

Donna :confused:
 
i also need to add another count to this.

so if I use the formula that you suggested and added to it, would this work?

SUMPRODUCT(--(ISNUMBER(MID(A1:A8,2,1)+0)),--(B1:B8="ROUTE")),--(C1:C8="Under")

So by adding Over or Under to the data sheet.

Cheers

Donna
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
its not working!!!! do i need to add something as, as I have written it brings back0 (zero)!!

sorry with all the questions!!

Donna
 
Upvote 0
It is working here. Do the cells in column C contain exactly Under?

Excel Workbook
ABCD
1A1abROUTEUnder2
2A2ghSTATICOver
3A3jwROUTEUnder
4A4mmROUTEOver
5ABCSTATICOver
6CDEROUTEOver
7BGHSTATICOver
8ETGSTATICUnder
Sheet8
 
Upvote 0
VoG, thanks very much for your help yesterday. I have had another go this morning, and he presto it worked. i have now made an automated template incorporating your formulas.

Once again thankyou very much for your time and patience.

You are a star :biggrin:

cheers

Donna
 
Upvote 0

Forum statistics

Threads
1,224,885
Messages
6,181,588
Members
453,055
Latest member
cope7895

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