Using two variant to create a stack up value [closed] - excel

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I wanted to ask if it's possible for excel to do something like that.
Let's say i have 10 cells going to be either Yes or No
But i will need to calculate how many Yes by adding them up. Lets say out of these 10 cells there's 6 Yes that wil only produce a number of 6 in cell C3.
The Number is determined by the amount of "Yes" in the particular row
If it's possible to do it in excel, what will the formula be?
Thank you

Yes, use COUNTIF
=COUNTIF(A1:A2,"YES")

Related

Excel Convert one set of numbers to another [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
For my schools sports day i need to convert the position someone comes in to a score.
I need 2 kinds a competition of 4 people and of 8 people
so:
Place -> Score
1st->8,
2nd->7,
3rd->6,
...,
8th->1
and
1st->8,
2nd->6,
3rd->4,
4th->2
Thanks in advance
Edit: The place just comes out as 1,2,3,...,8 or 1,2,3,4 not 1st,2nd ect.
As I understood, simply you can do something like this,
B1 -> =IF(A2>8,"NA",9-A2)
C1 -> =IF(A2>4,"NA",10-2*A2)
Once you enter the place in A1, you will get the score accordingly as below.

Excel VBA add entire row and average [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Lets say I want to average every non empty cell on sheet 1 column j how would I accomplish this?
=AVERAGE(Sheet1!$J:$J)should be all you need! :-)
Let's do a SumProduct and Count -IF for the non-zero numbers only. In this solution, it also consideres negative numbers (SumProduct formula). Then use those two results to count given that AVERAGE is good yet it takes zeros in to consideration. If you don't have zeros but just texts and numbers, you are better off with AVERAGE, otherwise give this a try and adjust the logic accordingly (to consider negative numbers or not):
Depending on the version you are using, you can try out AVERAGEIF as well.

Convert hours:minutes:seconds into total minutes in excel [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I convert hours:minutes:seconds into total minutes in Excel?
Just use the formula
=A8*60*24
Just use the formula
120 = (HOUR(A8)*3600+MINUTE(A8)*60+SECOND(A8))/60
The only way is to use a formula or to format cells. The method i will use will be the following:
Add another column next to these values.
Then use the following formula:
=HOUR(A1)*60+MINUTE(A1)+SECOND(A1)/60

MS Excel program [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am creating a invoice in Excel.
I want to to get the total to be calculated from dropdown.
That means if I select tax inclusive it should show total amount as subtotal amount
and if i select exclusive it should calculate..
The amount I want the function to be applied to the dropdown how is it possible,,
img url below
https://lh3.googleusercontent.com/-act7lJiprYo/UBUdEKFtroI/AAAAAAAAAEc/r_j3lCzbvxA/s800/snap.png
thanks!
=If(e37='inclusive';sum(f3:f35)*1,36;sum(f3:f35))
assuming that g3 to g35 is the range of numbers to use in the calculation and taxes are 36% and the term inclusive should be exact what ia used in the select list of course

Brackets around negative numbers in Excel [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
How would I go about placing a negative value e.g. -0.75 in brackets in excel: (-0.75). I have changed the custom format of the cell to (General) but negative numbers are being rendered as -(0.75). I need a fancy trick to bring that negative inside the brackets.
Thanks in advance!
Specifying a separate format for negative numbers seems to do the trick
(General);(-General)
Try putting a ' before the value like '(-0.75)

Resources