John Caines
Well-known Member
- Joined
- Aug 28, 2006
- Messages
- 1,155
- Office Version
- 2019
- Platform
- Windows
Hello All.
I really would love to create a formula that simply tells me how many times a target is hit.
I have a column, (Column N), which can display the words "EVEN" or "YES" or "NO"
The formula runs from N24:N263. These are added usually daily, so at the moment I only have 30 entries out of the possible 240
As a note, the formula in cell N24 for example is;
What I'm looking to do is create a formula for cell P21,,, to display a % relating to column N
If the word displays YES or EVEN in a cell in column N,, this is a positive, only negative is the word NO.
Example.
If there were 10 entries in column N,
N24 shows "NO"
N25 shows "YES"
N26 shows "YES"
N27 shows "YES"
N28 shows "NO"
N29 shows "EVEN"
N30 shows "NO"
N31 shows "EVEN"
N32 shows "YES"
N33 shows "YES"
So P21 cell would like to now display 70% (As there were 7 positive events)
Trouble is, I don't know how to write this
I've looked at a few formulas on my other spreadsheets, but I just can't work it out,, maybe it's a COUNTIF formula?,,, I'm not sure
If someone can help me with this I would be very grateful.
Many thanks for all your time.
A very confused.com,,,
John Caines
I really would love to create a formula that simply tells me how many times a target is hit.
I have a column, (Column N), which can display the words "EVEN" or "YES" or "NO"
The formula runs from N24:N263. These are added usually daily, so at the moment I only have 30 entries out of the possible 240
As a note, the formula in cell N24 for example is;
Code:
=IF(LEN($M$24)=0,"",IF($M$24=$K$24,"EVEN",IF($M$24>$K$24,"YES","NO")))
What I'm looking to do is create a formula for cell P21,,, to display a % relating to column N
If the word displays YES or EVEN in a cell in column N,, this is a positive, only negative is the word NO.
Example.
If there were 10 entries in column N,
N24 shows "NO"
N25 shows "YES"
N26 shows "YES"
N27 shows "YES"
N28 shows "NO"
N29 shows "EVEN"
N30 shows "NO"
N31 shows "EVEN"
N32 shows "YES"
N33 shows "YES"
So P21 cell would like to now display 70% (As there were 7 positive events)
Trouble is, I don't know how to write this
I've looked at a few formulas on my other spreadsheets, but I just can't work it out,, maybe it's a COUNTIF formula?,,, I'm not sure
If someone can help me with this I would be very grateful.
Many thanks for all your time.
A very confused.com,,,
John Caines