Count if not recognising > & < sign

Excel2021help

New Member
Joined
Oct 4, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi - I have read through a previous thread with a similar question but it is not making sense to me and I am really trying to work this one out. It is probably simple but I am no excel wizz :(

On sheet 1 I have a list of records and against each one it has a > or < value. For
example >50 or <20

On sheet 2 I have the values listed, for example <10 >10 >20 and I want to count how many
values in sheet 1 have these values

My formula looks like =COUNTIF('sheet1'!$P:$P,$A2) but is just returning a zero - Is this because of the > < signs?

Any help greatly appreciated
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi & welcome to MrExcel.
Maybe
Excel Formula:
=COUNTIF('sheet1'!$P:$P,"="&$A2)
 
Upvote 0
Solution
Hi & welcome to MrExcel.
Maybe
Excel Formula:
=COUNTIF('sheet1'!$P:$P,"="&$A2)
Well aren't you just a saint! That worked for me - Thank you so much!

Wondering if you could help me possibly break it down a little further.

If in Sheet 1 each record has a > or < value against it and it also has priority of 1, 2 or 3 against it. Is it possible to have the formula look for all the priority 1 values and the count how many have the > or > ?

Thanks again!
 
Upvote 0
As that's a different question, it needs a new thread. Thanks
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,849
Members
449,051
Latest member
excelquestion515

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