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.
Related
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 3 years ago.
Improve this question
In one part of my spreadsheet, I am calculating odds ratios. I have one column (V) with the OR, and then W and X with the confidence intervals. In another column (M), I am trying to get excel to list this information in one cell.
i.e.
0.78 (0.25, 2.46)
I have just been copying the information, but this is prone to errors and takes ages, so I am looking for a better way.
Any ideas?
Try a formula like:
=[#columnV]&"("&[#columnW]&","&[#columnX]&")"
This should concatenate row wise down the entire table with the desired format.
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
I'm working on a budgeting spreadsheet that has a different replacement cycle for equipment and I want to visualize when everything will be scheduled to be replaced.
Column 1=name, Column 2=deployed, Column 3=expected life, Column 4=retire date, Column 5=price
I want to have another table next to it that shows the next several deploy dates (for the next 15 years) based on the expected life. Right now, I'm having to manually count over X number of cells and enter in the price and then count over again.... for each row.
I know there has to be a automated way to do this, but I'm new to excel macros and I've looked at several functions, but can't get anything figured out. What functions should I be looking at?
A formula like:
=IF((G$1-YEAR($B2))/$C2=ROUND((G$1-YEAR($B2))/$C2,0),$E2,"")
Should do the trick
(the above for column G, it is assumed the year is in G1)
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Rather than an Excel formula of this kind:
=IF(AVERAGE(A1:A4)<4,"POOR",IF(AVERAGE(A1:A4)<5,"Meet Expectation",IF(AVERAGE(A1:A4)<7,"Good",IF(AVERAGE(A1:A4)<8,"Excellent","Outstanding"))))
how might I achieve similar results with a lookup table?
With a lookup table (and without requiring an exact match):
Where an exacct match is not found it defaults to the next lower matching value. 9 can not be found but 8 can be, hence Outstanding. You have not been specific about the breakpoints (eg 5 seems to be both Meet Expectation and Good) but the table is easy to adjust to suit by adding or deducting a very small amount to the number to the left of Good.
The table is here named Qarray and can be placed anywhere in the same workbook if the named range is of Workbook scope.
Formula:
=IF(A1<4,"POOR",IF(AND(A1>=4,A1<5),"Meets Expectations",IF(AND(A1>=5,A1<7),"Good",IF(AND(A1>=7,A1<8),"Excellent","Outstanding"))))
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")
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
https://www.dropbox.com/s/05f82d5piw0pfd2/Book1.xls
Hello everyone, can anyone show me how to deal with above ranking issue that I try to solve.
What I like to have is only ranking Names Occurrence when Month = February and Item = Item 1, also, ignore all item 2 with what even names and months between it.
Also, since I have more records, if possible could you please tell me how to apply ranking to whole columns.
Currently I try to use
=SUMPRODUCT(--(A:A=A2),--(C:C=C2),--(B:B=B2)--(D2=D:D))`
but looks like it doesn't work that way.
Add a helper column in column E (which can later be hidden) that screens out the rows you want to exclude:
=IF(AND(A2="Item 1",C2="February"),D2,"")
which would of course be copied down to the bottom of your data.
Then do the ranking in column F of the formula results in column E:
=IFERROR(RANK(E2,E:E),"")
again copied down to the end of the data.
The SUMPRODUCT might look something like this. I don't fully understand why you only rank 3 of those 18 items; this sumproduct ranks all 11 of the ITEM=1 MONTH=FEBRUARY rows [it also, separately, ranks the other rows, but you can just wrap this in an IF and suppress those].
=1+SUMPRODUCT(($A$2:$A$18=A2)*($C$2:$C$18=C2)*($D$2:$D$18>D2))
Reading that again, I guess you are really overcalculating the D column (that seems to be the number of C showing up). You could use COUNTIF to see if you are on the first row with that NAME, I think.