I’m hoping someone can help me with getting the correct syntax for this formula.
=if(and(panel_quantity>0),OR(c1:z1)<>””),”yes”,”no”)
Below is an explanation For what I want the formula to achieve.
If Panel_Quantity is greater than zero AND if and any of the cells in the range of C1:Z1 contains any text/value/formula then cell value is “yes”, otherwise “no”.
Thanks.
Try this:
=if(and(panel_quantity>0, counta(c1:z1) > 0),"yes","no")
Related
I am having trouble working out an error I am having with the formula below, I am a bit of a novice and its been more trial and error than anything so far but, I was hoping someone with a far greater knowledge could point out where I am going wrong.
The formula works fine without the indirect element I.e.
=SUMPRODUCT((PARROT!$o$12:$o$250<>"COMPLETE")*(PARROT!$n$12:$n$250<TODAY()))
but I want to replace the sheet name with an INDIRECT address as the name of the sheet could change
so the formula I came up with is but, it has an error:
=SUMPRODUCT(INDIRECT("'"&$A3&"'!$o$12:$o$250"),"<>"&"Complete")*(INDIRECT("'"&$A3&"'!$N$12:$N$250")<TODAY())
Help would be very much appreciated.
From your formula it seems you are just counting rows where O12:O250 is not equal Complete and N12:N250 is earlier than today. So, you can use COUNTIFS() formula with INDIRECT() easily. Try below.
=COUNTIFS(INDIRECT($A$3&"!$O$12:$O$250"),"<>Complete",INDIRECT($A$3&"!$N$12:$N$250"),"<"&TODAY())
If you need to sum values from a column then SUMIFS() will be your friend.
I am trying to count the cells in a continuous range if they are less than or equal to a variable, referenced from another cell. It seems very close to this,
COUNTIF(A4:A20,">=32")
But I want the 32 replaced with a variable, A3. I have not seen an example of that yet. Would be grateful if someone would help me with the formatting. Thanks!
You just about have it, switch to:
=COUNTIF(A4:A20,">="&A3)
I have a range of numbers (Y6:AC6) which are obtained as a function of =RIGHT(Text,Num) formula. When I try to apply COUNTIFS formula on these numbers which you can see on the picture, it doesn't work. However, when I try the same formula on actual numbers, but not functional results of RIGHT(Text,Num), it works. What am I missing here? can someone help me please? thanks.
So, what I need is to show SUMPRODUCT of two cell ranges? Both of these cell ranges, that is, each cell contains formula in it. From this formulas I get some number in the cells. This is the way I'm doing it right now:
=SUMPRODUCT((S7:S1000)*(T7:T1000))
and because of formulas I get error A value used in the formula if of the wrong data type
How could I solve this problem? Is there some kind of way to read just number in the cell and not the formula?
Thanks
Replace the "*" with a comma (",").
I've had so much problems with this and in the end it was that instead of comma(",") I needed to use semicolon(";"). Maybe its up to Excel version, I'm using 2010?! So, solution was:
=SUMPRODUCT(S7:S1000;T7:T1000)
I am having a little problem trying to count a range of cell.
Here is my formula: =SUM(IF($E$2:$L$263=O3,1,0)) and I'm getting #VALUE! error.
This only works if I compare it with a number value, for example: =SUM(IF($E$2:$L$263=1,1,0))
Can someone enlighten me on what I did wrong or what I'm missing?
Thanks!
Rather than use SUM and IF try using COUNTIF, it's more efficient and doesn't need "array entry"
=COUNTIF($E$2:$L$263,O3)