your help please

KidsHopeSteve

New Member
Joined
Aug 4, 2010
Messages
5
I need a formula that will select a letter in a column of multiple letters, assign a value of 1 and then total those letters in that column.
Example column c, count all the y's, but ignore the n's and x's

I've been searching other people's questions, but everyone else seems to be asking more complicated questions...
 

Some videos you may like

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
Hi

perhaps:

=COUNTIF(C:C,"Y")

which will count all cells in column C containing only either a "Y" or a "y".
 

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
What do you actually have in your cells? You do not have any cells with just a Y or a y in them.
 

KidsHopeSteve

New Member
Joined
Aug 4, 2010
Messages
5

ADVERTISEMENT

I have the "questions" in c2, "returning?" in c3, "?" in c4, "y" in c5, blank in c6 thru c10, "n" in c11, "y" in c12 through c15. I was expecting a total of 6
 

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
Are you sure the actual value in the cells is "y" - check in the formula bar at the top of Excel. If it is "y " or " y" (note trailing/leading space) this isn't the same as "y". If the values are the result of a formula, then please post the formula.
 

KidsHopeSteve

New Member
Joined
Aug 4, 2010
Messages
5
formula bar shows y (no quotation marks)

as i'm doing phone interview on my volunteers, I'm typing in a cell y for yes, n for no and ? if they are unsure about continuing as a volunteer. I am hoping to add up all the y (yes answers) in c 75, n (no answers) in c77. The senario I sent is a sample of responses I've collected so far. I put quotations around my previous response intending to communicate what is in the cell. sorry if that created confusion.
 

KidsHopeSteve

New Member
Joined
Aug 4, 2010
Messages
5
I just tried to narrow the range of the count, and it worked. Thank-you for getting me on the right track.
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,363
Messages
5,510,862
Members
408,814
Latest member
lgorczyca

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top