I'm looking to total a range of cells ONLY if they have a value of 0 or more
entered in them. In plain english:
Sumif A1 is gt;=0
Sumif A2 is gt;=0
Sumif A3 is gt;=0
and so on. Where every cell in the range must have a value of 0 or more
entered before the function will return a result. How do I do this?
Thanks,
PO
Hi
Try something like this:
=SUMPRODUCT((D7:G7gt;0)*(D7:G7))
AndyB
quot;Powlazquot; gt; wrote in message
...
gt; I'm looking to total a range of cells ONLY if they have a value of 0 or
gt; more
gt; entered in them. In plain english:
gt;
gt; Sumif A1 is gt;=0
gt; Sumif A2 is gt;=0
gt; Sumif A3 is gt;=0
gt;
gt; and so on. Where every cell in the range must have a value of 0 or more
gt; entered before the function will return a result. How do I do this?
gt;
gt; Thanks,
gt;
gt; PO
This worked for me. First I named the range I wanted to sum SumRange
(clever, eh?) I then used this formula:
=IF(COUNTIF(SumRange,quot;gt;0quot;)=ROWS(SumRange),SUM(SumR ange),0)quot;Powlazquot; wrote:
gt; I'm looking to total a range of cells ONLY if they have a value of 0 or more
gt; entered in them. In plain english:
gt;
gt; Sumif A1 is gt;=0
gt; Sumif A2 is gt;=0
gt; Sumif A3 is gt;=0
gt;
gt; and so on. Where every cell in the range must have a value of 0 or more
gt; entered before the function will return a result. How do I do this?
gt;
gt; Thanks,
gt;
gt; PO
Slight change:
=IF(COUNTIF(SumRange,quot;gt;=0quot;)=ROWS(SumRange),SUM(Sum Range),0)quot;Kevin Vaughnquot; wrote:
gt; This worked for me. First I named the range I wanted to sum SumRange
gt; (clever, eh?) I then used this formula:
gt;
gt; =IF(COUNTIF(SumRange,quot;gt;0quot;)=ROWS(SumRange),SUM(SumR ange),0)
gt;
gt;
gt; quot;Powlazquot; wrote:
gt;
gt; gt; I'm looking to total a range of cells ONLY if they have a value of 0 or more
gt; gt; entered in them. In plain english:
gt; gt;
gt; gt; Sumif A1 is gt;=0
gt; gt; Sumif A2 is gt;=0
gt; gt; Sumif A3 is gt;=0
gt; gt;
gt; gt; and so on. Where every cell in the range must have a value of 0 or more
gt; gt; entered before the function will return a result. How do I do this?
gt; gt;
gt; gt; Thanks,
gt; gt;
gt; gt; PO
Kevin, Andy, thanks for the quick responses. Both of your formulas worked
(as far as I can tell). I'm interested in understanding how they work if you
could offer a quick explanation.
Moreso, I need a little more help. Both the formulas returned a 0 when
summing a range of blank cells. Here's the issue, this spreadsheet is pre -
formatted for a year's worth of data. I'd like for the cells in an unused
month to remain blank until the data is entered (and subsequently
calculated).
There is currently no user added data in cells b6:b12. But cell b13 that
calculates the total of b6:b12 shows 0. I'd like it to be blank until data
is entered into b6:b12. How can I concisely do that?
I thought about using IF and OR functions combined so that each cell is
checked for a value greater than quot;quot; before it will calculate the total of the
cells but it's very long and I think inefficient.
Got anything else?
Thanks
PO
quot;AndyBquot; wrote:
gt; Hi
gt;
gt; Try something like this:
gt; =SUMPRODUCT((D7:G7gt;0)*(D7:G7))
gt;
gt; AndyB
gt;
gt; quot;Powlazquot; gt; wrote in message
gt; ...
gt; gt; I'm looking to total a range of cells ONLY if they have a value of 0 or
gt; gt; more
gt; gt; entered in them. In plain english:
gt; gt;
gt; gt; Sumif A1 is gt;=0
gt; gt; Sumif A2 is gt;=0
gt; gt; Sumif A3 is gt;=0
gt; gt;
gt; gt; and so on. Where every cell in the range must have a value of 0 or more
gt; gt; entered before the function will return a result. How do I do this?
gt; gt;
gt; gt; Thanks,
gt; gt;
gt; gt; PO
gt;
gt;
gt;
=IF(COUNTIF(SumRange,quot;gt;=0quot;)=ROWS(SumRange),SUM(Sum Range),quot;quot;)
My sumrange was a1:a10 so rows(sumrange) returns 10. The countif will count
the number of occurences where the cells in sumrange gt;= 0. If all of the
cells meet the criteria, this will equal 10. Therefore the true portion of
the IF statement will be returned which is SUM(Sumrange). Otherwise quot;quot;
(nothing) will be returned. This per your latest request to have quot;quot; shown
rather than ).
HTH
--
Kevin Vaughnquot;Powlazquot; wrote:
gt; Kevin, Andy, thanks for the quick responses. Both of your formulas worked
gt; (as far as I can tell). I'm interested in understanding how they work if you
gt; could offer a quick explanation.
gt;
gt; Moreso, I need a little more help. Both the formulas returned a 0 when
gt; summing a range of blank cells. Here's the issue, this spreadsheet is pre -
gt; formatted for a year's worth of data. I'd like for the cells in an unused
gt; month to remain blank until the data is entered (and subsequently
gt; calculated).
gt;
gt; There is currently no user added data in cells b6:b12. But cell b13 that
gt; calculates the total of b6:b12 shows 0. I'd like it to be blank until data
gt; is entered into b6:b12. How can I concisely do that?
gt;
gt; I thought about using IF and OR functions combined so that each cell is
gt; checked for a value greater than quot;quot; before it will calculate the total of the
gt; cells but it's very long and I think inefficient.
gt;
gt; Got anything else?
gt;
gt; Thanks
gt;
gt; PO
gt; quot;AndyBquot; wrote:
gt;
gt; gt; Hi
gt; gt;
gt; gt; Try something like this:
gt; gt; =SUMPRODUCT((D7:G7gt;0)*(D7:G7))
gt; gt;
gt; gt; AndyB
gt; gt;
gt; gt; quot;Powlazquot; gt; wrote in message
gt; gt; ...
gt; gt; gt; I'm looking to total a range of cells ONLY if they have a value of 0 or
gt; gt; gt; more
gt; gt; gt; entered in them. In plain english:
gt; gt; gt;
gt; gt; gt; Sumif A1 is gt;=0
gt; gt; gt; Sumif A2 is gt;=0
gt; gt; gt; Sumif A3 is gt;=0
gt; gt; gt;
gt; gt; gt; and so on. Where every cell in the range must have a value of 0 or more
gt; gt; gt; entered before the function will return a result. How do I do this?
gt; gt; gt;
gt; gt; gt; Thanks,
gt; gt; gt;
gt; gt; gt; PO
gt; gt;
gt; gt;
gt; gt;
Kevin,
Great - I get it. Thank you for the explanation. Works perfectly. I didn't
use a label (SumRange). I like to see the range in the equation. But I've
run into a little problem doing it that way. One part of the spreadsheet
requires me to use this statement for cells that are not in sequence. The
COUNTIF function will not allow more than 3 cell references, where I need 8
(b6,d6,f6,h6,j6 etc.) Is there a way to make COUNTIF accept more than 3 cell
references for cells that are not in sequence?
PO
quot;Kevin Vaughnquot; wrote:
gt; =IF(COUNTIF(SumRange,quot;gt;=0quot;)=ROWS(SumRange),SUM(Sum Range),quot;quot;)
gt; My sumrange was a1:a10 so rows(sumrange) returns 10. The countif will count
gt; the number of occurences where the cells in sumrange gt;= 0. If all of the
gt; cells meet the criteria, this will equal 10. Therefore the true portion of
gt; the IF statement will be returned which is SUM(Sumrange). Otherwise quot;quot;
gt; (nothing) will be returned. This per your latest request to have quot;quot; shown
gt; rather than ).
gt;
gt; HTH
gt; --
gt; Kevin Vaughn
gt;
gt;
gt; quot;Powlazquot; wrote:
gt;
gt; gt; Kevin, Andy, thanks for the quick responses. Both of your formulas worked
gt; gt; (as far as I can tell). I'm interested in understanding how they work if you
gt; gt; could offer a quick explanation.
gt; gt;
gt; gt; Moreso, I need a little more help. Both the formulas returned a 0 when
gt; gt; summing a range of blank cells. Here's the issue, this spreadsheet is pre -
gt; gt; formatted for a year's worth of data. I'd like for the cells in an unused
gt; gt; month to remain blank until the data is entered (and subsequently
gt; gt; calculated).
gt; gt;
gt; gt; There is currently no user added data in cells b6:b12. But cell b13 that
gt; gt; calculates the total of b6:b12 shows 0. I'd like it to be blank until data
gt; gt; is entered into b6:b12. How can I concisely do that?
gt; gt;
gt; gt; I thought about using IF and OR functions combined so that each cell is
gt; gt; checked for a value greater than quot;quot; before it will calculate the total of the
gt; gt; cells but it's very long and I think inefficient.
gt; gt;
gt; gt; Got anything else?
gt; gt;
gt; gt; Thanks
gt; gt;
gt; gt; PO
gt; gt; quot;AndyBquot; wrote:
gt; gt;
gt; gt; gt; Hi
gt; gt; gt;
gt; gt; gt; Try something like this:
gt; gt; gt; =SUMPRODUCT((D7:G7gt;0)*(D7:G7))
gt; gt; gt;
gt; gt; gt; AndyB
gt; gt; gt;
gt; gt; gt; quot;Powlazquot; gt; wrote in message
gt; gt; gt; ...
gt; gt; gt; gt; I'm looking to total a range of cells ONLY if they have a value of 0 or
gt; gt; gt; gt; more
gt; gt; gt; gt; entered in them. In plain english:
gt; gt; gt; gt;
gt; gt; gt; gt; Sumif A1 is gt;=0
gt; gt; gt; gt; Sumif A2 is gt;=0
gt; gt; gt; gt; Sumif A3 is gt;=0
gt; gt; gt; gt;
gt; gt; gt; gt; and so on. Where every cell in the range must have a value of 0 or more
gt; gt; gt; gt; entered before the function will return a result. How do I do this?
gt; gt; gt; gt;
gt; gt; gt; gt; Thanks,
gt; gt; gt; gt;
gt; gt; gt; gt; PO
gt; gt; gt;
gt; gt; gt;
gt; gt; gt;
Kevin,
I looked at everything again and I'm afraid I'm not where I need to be.
Bear with me. I'm not sure if I worded my question well enough.
I have a table in which each column represents a month. The first line of
each column is a total of the 7 lines below it. The last column is an
average of each monthly total.
1st. I'd like to keep a running average of the totals in each month. If
there is no value entered in the 'Total' cell for a month I don't want quot;0quot; to
show up. Using the statement you gave me before all of my 0's went away when
the 'Total' cells were blank. When I entered a total into January (b6) the
average calcualted in AA6. But when I entered a total into February (d6) the
average in AA6 disappeared. What's the fix?
2nd. I'd like to keep a running total of jobs for the month. In January
these would be cells a7:a13. If I just use SUM there is a 0 in a14 until
data is entered into one of the cells a7:a13. I'd like a14 to stay blank and
calculate a total as each cell is populated:
a7 = 5
a14= 5
a7=5
a8=5
a14=10 ---and so on.
What am I missing?
PO
quot;Kevin Vaughnquot; wrote:
gt; =IF(COUNTIF(SumRange,quot;gt;=0quot;)=ROWS(SumRange),SUM(Sum Range),quot;quot;)
gt; My sumrange was a1:a10 so rows(sumrange) returns 10. The countif will count
gt; the number of occurences where the cells in sumrange gt;= 0. If all of the
gt; cells meet the criteria, this will equal 10. Therefore the true portion of
gt; the IF statement will be returned which is SUM(Sumrange). Otherwise quot;quot;
gt; (nothing) will be returned. This per your latest request to have quot;quot; shown
gt; rather than ).
gt;
gt; HTH
gt; --
gt; Kevin Vaughn
gt;
gt;
gt; quot;Powlazquot; wrote:
gt;
gt; gt; Kevin, Andy, thanks for the quick responses. Both of your formulas worked
gt; gt; (as far as I can tell). I'm interested in understanding how they work if you
gt; gt; could offer a quick explanation.
gt; gt;
gt; gt; Moreso, I need a little more help. Both the formulas returned a 0 when
gt; gt; summing a range of blank cells. Here's the issue, this spreadsheet is pre -
gt; gt; formatted for a year's worth of data. I'd like for the cells in an unused
gt; gt; month to remain blank until the data is entered (and subsequently
gt; gt; calculated).
gt; gt;
gt; gt; There is currently no user added data in cells b6:b12. But cell b13 that
gt; gt; calculates the total of b6:b12 shows 0. I'd like it to be blank until data
gt; gt; is entered into b6:b12. How can I concisely do that?
gt; gt;
gt; gt; I thought about using IF and OR functions combined so that each cell is
gt; gt; checked for a value greater than quot;quot; before it will calculate the total of the
gt; gt; cells but it's very long and I think inefficient.
gt; gt;
gt; gt; Got anything else?
gt; gt;
gt; gt; Thanks
gt; gt;
gt; gt; PO
gt; gt; quot;AndyBquot; wrote:
gt; gt;
gt; gt; gt; Hi
gt; gt; gt;
gt; gt; gt; Try something like this:
gt; gt; gt; =SUMPRODUCT((D7:G7gt;0)*(D7:G7))
gt; gt; gt;
gt; gt; gt; AndyB
gt; gt; gt;
gt; gt; gt; quot;Powlazquot; gt; wrote in message
gt; gt; gt; ...
gt; gt; gt; gt; I'm looking to total a range of cells ONLY if they have a value of 0 or
gt; gt; gt; gt; more
gt; gt; gt; gt; entered in them. In plain english:
gt; gt; gt; gt;
gt; gt; gt; gt; Sumif A1 is gt;=0
gt; gt; gt; gt; Sumif A2 is gt;=0
gt; gt; gt; gt; Sumif A3 is gt;=0
gt; gt; gt; gt;
gt; gt; gt; gt; and so on. Where every cell in the range must have a value of 0 or more
gt; gt; gt; gt; entered before the function will return a result. How do I do this?
gt; gt; gt; gt;
gt; gt; gt; gt; Thanks,
gt; gt; gt; gt;
gt; gt; gt; gt; PO
gt; gt; gt;
gt; gt; gt;
gt; gt; gt;
I don't know why your average formula would go blank. What is the formula in
AA6?
For your 2nd question, this formula should work:
=IF(COUNT(A8:A13)gt;0,SUM(A8:A13),quot;quot;)
--
Kevin Vaughnquot;Powlazquot; wrote:
gt; Kevin,
gt;
gt; I looked at everything again and I'm afraid I'm not where I need to be.
gt; Bear with me. I'm not sure if I worded my question well enough.
gt;
gt; I have a table in which each column represents a month. The first line of
gt; each column is a total of the 7 lines below it. The last column is an
gt; average of each monthly total.
gt;
gt; 1st. I'd like to keep a running average of the totals in each month. If
gt; there is no value entered in the 'Total' cell for a month I don't want quot;0quot; to
gt; show up. Using the statement you gave me before all of my 0's went away when
gt; the 'Total' cells were blank. When I entered a total into January (b6) the
gt; average calcualted in AA6. But when I entered a total into February (d6) the
gt; average in AA6 disappeared. What's the fix?
gt;
gt; 2nd. I'd like to keep a running total of jobs for the month. In January
gt; these would be cells a7:a13. If I just use SUM there is a 0 in a14 until
gt; data is entered into one of the cells a7:a13. I'd like a14 to stay blank and
gt; calculate a total as each cell is populated:
gt;
gt; a7 = 5
gt; a14= 5
gt;
gt; a7=5
gt; a8=5
gt; a14=10 ---and so on.
gt;
gt; What am I missing?
gt;
gt; PO
gt;
gt; quot;Kevin Vaughnquot; wrote:
gt;
gt; gt; =IF(COUNTIF(SumRange,quot;gt;=0quot;)=ROWS(SumRange),SUM(Sum Range),quot;quot;)
gt; gt; My sumrange was a1:a10 so rows(sumrange) returns 10. The countif will count
gt; gt; the number of occurences where the cells in sumrange gt;= 0. If all of the
gt; gt; cells meet the criteria, this will equal 10. Therefore the true portion of
gt; gt; the IF statement will be returned which is SUM(Sumrange). Otherwise quot;quot;
gt; gt; (nothing) will be returned. This per your latest request to have quot;quot; shown
gt; gt; rather than ).
gt; gt;
gt; gt; HTH
gt; gt; --
gt; gt; Kevin Vaughn
gt; gt;
gt; gt;
gt; gt; quot;Powlazquot; wrote:
gt; gt;
gt; gt; gt; Kevin, Andy, thanks for the quick responses. Both of your formulas worked
gt; gt; gt; (as far as I can tell). I'm interested in understanding how they work if you
gt; gt; gt; could offer a quick explanation.
gt; gt; gt;
gt; gt; gt; Moreso, I need a little more help. Both the formulas returned a 0 when
gt; gt; gt; summing a range of blank cells. Here's the issue, this spreadsheet is pre -
gt; gt; gt; formatted for a year's worth of data. I'd like for the cells in an unused
gt; gt; gt; month to remain blank until the data is entered (and subsequently
gt; gt; gt; calculated).
gt; gt; gt;
gt; gt; gt; There is currently no user added data in cells b6:b12. But cell b13 that
gt; gt; gt; calculates the total of b6:b12 shows 0. I'd like it to be blank until data
gt; gt; gt; is entered into b6:b12. How can I concisely do that?
gt; gt; gt;
gt; gt; gt; I thought about using IF and OR functions combined so that each cell is
gt; gt; gt; checked for a value greater than quot;quot; before it will calculate the total of the
gt; gt; gt; cells but it's very long and I think inefficient.
gt; gt; gt;
gt; gt; gt; Got anything else?
gt; gt; gt;
gt; gt; gt; Thanks
gt; gt; gt;
gt; gt; gt; PO
gt; gt; gt; quot;AndyBquot; wrote:
gt; gt; gt;
gt; gt; gt; gt; Hi
gt; gt; gt; gt;
gt; gt; gt; gt; Try something like this:
gt; gt; gt; gt; =SUMPRODUCT((D7:G7gt;0)*(D7:G7))
gt; gt; gt; gt;
gt; gt; gt; gt; AndyB
gt; gt; gt; gt;
gt; gt; gt; gt; quot;Powlazquot; gt; wrote in message
gt; gt; gt; gt; ...
gt; gt; gt; gt; gt; I'm looking to total a range of cells ONLY if they have a value of 0 or
gt; gt; gt; gt; gt; more
gt; gt; gt; gt; gt; entered in them. In plain english:
gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; Sumif A1 is gt;=0
gt; gt; gt; gt; gt; Sumif A2 is gt;=0
gt; gt; gt; gt; gt; Sumif A3 is gt;=0
gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; and so on. Where every cell in the range must have a value of 0 or more
gt; gt; gt; gt; gt; entered before the function will return a result. How do I do this?
gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; Thanks,
gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; PO
gt; gt; gt; gt;
gt; gt; gt; gt;
gt; gt; gt; gt;
The average formula in AA5 is this:
=IF(COUNTIF(B5:Y5,quot;gt;=0quot;)=ROWS(B5:Y5),AVERAGE(B5:Y5 ),quot;quot;)
When all cells from B5:Y5 are blank and Average is not calculated.
When data is entered into B5 (January) AA5 calculates
When data is entered into D5 (February) AA5 goes blank
I've used several much simpler statements but get stuck with a #DIV/0! error
in this same field.
You know what I'm going for. I wish I could upload the spreadsheet. There
are a total of 8 fields in each month that need to be populated. All the
remaining fields should perform calculations on the data that is entered into
these fields. If there is nothing to calculate then everything should be
blank. Not have 0's, or $ -, or DIV/0 errors and so on.
On a much smaller scale I was able to use simple IF statements to prevent a
calculation of the adjacent field wasn't populated. These broader scale
calculations are driving me nuts.
Looks to me like your reply to my 2nd question worked. I'm not sure how or
why but it did what I needed. Perhaps I can COUNT or COUNTA for the rest of
my calculations.
Thanks for helping me. I'll keep my eyes peeled for your next post.
PO
quot;Kevin Vaughnquot; wrote:
gt; I don't know why your average formula would go blank. What is the formula in
gt; AA6?
gt;
gt; For your 2nd question, this formula should work:
gt;
gt; =IF(COUNT(A8:A13)gt;0,SUM(A8:A13),quot;quot;)
gt;
gt; --
gt; Kevin Vaughn
gt;
gt;
gt; quot;Powlazquot; wrote:
gt;
gt; gt; Kevin,
gt; gt;
gt; gt; I looked at everything again and I'm afraid I'm not where I need to be.
gt; gt; Bear with me. I'm not sure if I worded my question well enough.
gt; gt;
gt; gt; I have a table in which each column represents a month. The first line of
gt; gt; each column is a total of the 7 lines below it. The last column is an
gt; gt; average of each monthly total.
gt; gt;
gt; gt; 1st. I'd like to keep a running average of the totals in each month. If
gt; gt; there is no value entered in the 'Total' cell for a month I don't want quot;0quot; to
gt; gt; show up. Using the statement you gave me before all of my 0's went away when
gt; gt; the 'Total' cells were blank. When I entered a total into January (b6) the
gt; gt; average calcualted in AA6. But when I entered a total into February (d6) the
gt; gt; average in AA6 disappeared. What's the fix?
gt; gt;
gt; gt; 2nd. I'd like to keep a running total of jobs for the month. In January
gt; gt; these would be cells a7:a13. If I just use SUM there is a 0 in a14 until
gt; gt; data is entered into one of the cells a7:a13. I'd like a14 to stay blank and
gt; gt; calculate a total as each cell is populated:
gt; gt;
gt; gt; a7 = 5
gt; gt; a14= 5
gt; gt;
gt; gt; a7=5
gt; gt; a8=5
gt; gt; a14=10 ---and so on.
gt; gt;
gt; gt; What am I missing?
gt; gt;
gt; gt; PO
gt; gt;
gt; gt; quot;Kevin Vaughnquot; wrote:
gt; gt;
gt; gt; gt; =IF(COUNTIF(SumRange,quot;gt;=0quot;)=ROWS(SumRange),SUM(Sum Range),quot;quot;)
gt; gt; gt; My sumrange was a1:a10 so rows(sumrange) returns 10. The countif will count
gt; gt; gt; the number of occurences where the cells in sumrange gt;= 0. If all of the
gt; gt; gt; cells meet the criteria, this will equal 10. Therefore the true portion of
gt; gt; gt; the IF statement will be returned which is SUM(Sumrange). Otherwise quot;quot;
gt; gt; gt; (nothing) will be returned. This per your latest request to have quot;quot; shown
gt; gt; gt; rather than ).
gt; gt; gt;
gt; gt; gt; HTH
gt; gt; gt; --
gt; gt; gt; Kevin Vaughn
gt; gt; gt;
gt; gt; gt;
gt; gt; gt; quot;Powlazquot; wrote:
gt; gt; gt;
gt; gt; gt; gt; Kevin, Andy, thanks for the quick responses. Both of your formulas worked
gt; gt; gt; gt; (as far as I can tell). I'm interested in understanding how they work if you
gt; gt; gt; gt; could offer a quick explanation.
gt; gt; gt; gt;
gt; gt; gt; gt; Moreso, I need a little more help. Both the formulas returned a 0 when
gt; gt; gt; gt; summing a range of blank cells. Here's the issue, this spreadsheet is pre -
gt; gt; gt; gt; formatted for a year's worth of data. I'd like for the cells in an unused
gt; gt; gt; gt; month to remain blank until the data is entered (and subsequently
gt; gt; gt; gt; calculated).
gt; gt; gt; gt;
gt; gt; gt; gt; There is currently no user added data in cells b6:b12. But cell b13 that
gt; gt; gt; gt; calculates the total of b6:b12 shows 0. I'd like it to be blank until data
gt; gt; gt; gt; is entered into b6:b12. How can I concisely do that?
gt; gt; gt; gt;
gt; gt; gt; gt; I thought about using IF and OR functions combined so that each cell is
gt; gt; gt; gt; checked for a value greater than quot;quot; before it will calculate the total of the
gt; gt; gt; gt; cells but it's very long and I think inefficient.
gt; gt; gt; gt;
gt; gt; gt; gt; Got anything else?
gt; gt; gt; gt;
gt; gt; gt; gt; Thanks
gt; gt; gt; gt;
gt; gt; gt; gt; PO
gt; gt; gt; gt; quot;AndyBquot; wrote:
gt; gt; gt; gt;
gt; gt; gt; gt; gt; Hi
gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; Try something like this:
gt; gt; gt; gt; gt; =SUMPRODUCT((D7:G7gt;0)*(D7:G7))
gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; AndyB
gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; quot;Powlazquot; gt; wrote in message
gt; gt; gt; gt; gt; ...
gt; gt; gt; gt; gt; gt; I'm looking to total a range of cells ONLY if they have a value of 0 or
gt; gt; gt; gt; gt; gt; more
gt; gt; gt; gt; gt; gt; entered in them. In plain english:
gt; gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; gt; Sumif A1 is gt;=0
gt; gt; gt; gt; gt; gt; Sumif A2 is gt;=0
gt; gt; gt; gt; gt; gt; Sumif A3 is gt;=0
gt; gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; gt; and so on. Where every cell in the range must have a value of 0 or more
gt; gt; gt; gt; gt; gt; entered before the function will return a result. How do I do this?
gt; gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; gt; Thanks,
gt; gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt; gt; PO
gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt;
gt; gt; gt; gt; gt;
- Apr 13 Sun 2008 20:43
Sumif Cells Are Not Blank
close
全站熱搜
留言列表
發表留言