I have 100 years of rainfall data. Each line represents one day. On some days, I have no data. This is represented by #n/a. On other days, I have the amount of rain that fell, represented by a number.
What I want to do is count how many days in a given month numerical values are recorded. So it would look something like this:
A B C D
January 1 1900 0
January 2 1900 .5
January 3 1900 #n/a
January 4 1900 0
January 5 1900 2.3
January 6 1900 0
January 7 1900 .25
January 8 1900 0
So... Count Column D if it's a numeric value and A is January and C is 1900. The value here should be "7". (If it's easier, I can also do the reverse and count the number of times #n/a shows up, which would be "1.")
I keep googling the Count or Countif functions, but I can't figure out how to get it to do what I want.
Thank you!
What I want to do is count how many days in a given month numerical values are recorded. So it would look something like this:
A B C D
January 1 1900 0
January 2 1900 .5
January 3 1900 #n/a
January 4 1900 0
January 5 1900 2.3
January 6 1900 0
January 7 1900 .25
January 8 1900 0
So... Count Column D if it's a numeric value and A is January and C is 1900. The value here should be "7". (If it's easier, I can also do the reverse and count the number of times #n/a shows up, which would be "1.")
I keep googling the Count or Countif functions, but I can't figure out how to get it to do what I want.
Thank you!