Formula

  • Thread starter Thread starter Yitzhack
  • Start date Start date
Y

Yitzhack

Hi. This may be something simple but I’m not sure how to do it. I need a
formula where when value is greater than 5 but less than 8 = 0.5 and when is
greater than 0 but less than 5 = 1 at the same time all the data is
accumulating the points in cell A1. Thanks for the help
 
Thanks Don that’s exactly what I needed. Just one more question. How do I
expand that to multiple rows?
Thanks

--
Regards
YM



Don Guillett said:
=if(a1>5,.5,if(a1>0,1))
or
=if(a1>8,"",if(a1>5,.5,if(a1>0,1)))
 
Perhaps

=(COUNTIF($A$1:$A$10,">0")-COUNTIF($A$1:$A$10,">=5"))+((COUNTIF($A$1:$A$10,">=5")-COUNTIF($A$1:$A$10,">8"))/2)

Extend the ranges to suit

Mike
 
It looks like you want to exclude 8 so try this instead

=(COUNTIF($A$1:$A$10,">0")-COUNTIF($A$1:$A$10,">=5"))+((COUNTIF($A$1:$A$10,">=5")-COUNTIF($A$1:$A$10,">=8"))/2)

Mike
 
columns

=(COUNTIF(A1:K1,">0")-COUNTIF(A1:K1,">=5"))+((COUNTIF(A1:K1,">=5")-COUNTIF(A1:K1,">=8"))/2)

Mike
 
Mike this works perfect but would you please tell me how to expanded to
multiple Columns as well.

Thanks again Mike
 
Got it!!! THANKS Mike. and I'm sorry about the multiple posting. It wont
happen again.
 
My other post is for a single row multiple column, this does multiple rows
and columns. Expand the range to suit.

=(COUNTIF(A1:K2,">0")-COUNTIF(A1:K2,">=5"))+((COUNTIF(A1:K2,">=5")-COUNTIF(A1:K2,">=8"))/2)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Formula 2
Excel Need Countifs Formula Help 0
Formula help 0
Excel Average dates help 0
Scrabble Value calculation for Welsh words 0
Variance Analysis and Excel 1
Need Help with Excel and Flagging Outcomes! 4
Function Problem 4

Back
Top