Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sum of unique values within a range with blank cells
Hi, how can I sum unique values within a range where some cells are
blank? An example: A 1 100 2 150 3 4 150 5 50 6 7 100 8 100 9 50 10 SUM = 300 (100 + 150 + 50) Thanx for any suggestion. look |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sum of unique values within a range with blank cells
=SUMPRODUCT(1/COUNTIF(A1:A10,A1:A10&""),A1:A10)
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "loook" wrote in message ... Hi, how can I sum unique values within a range where some cells are blank? An example: A 1 100 2 150 3 4 150 5 50 6 7 100 8 100 9 50 10 SUM = 300 (100 + 150 + 50) Thanx for any suggestion. look |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sum of unique values within a range with blank cells
In B1 enter:
=IF(COUNTIF($A$1:A1,A1)=1,A1,"") and copy down In another cell: =SUM(B:B) -- Gary''s Student - gsnu200785 "loook" wrote: Hi, how can I sum unique values within a range where some cells are blank? An example: A 1 100 2 150 3 4 150 5 50 6 7 100 8 100 9 50 10 SUM = 300 (100 + 150 + 50) Thanx for any suggestion. look |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sum of unique values within a range with blank cells
=SUM(INDEX(1/COUNTIF(A1:A9,A1:A9&"")*A1:A9,0))
"loook" wrote: Hi, how can I sum unique values within a range where some cells are blank? An example: A 1 100 2 150 3 4 150 5 50 6 7 100 8 100 9 50 10 SUM = 300 (100 + 150 + 50) Thanx for any suggestion. look |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
If certain cells not blank, and cells in range are, set values to | Excel Discussion (Misc queries) | |||
Counting Unique Values by Date Range | Excel Worksheet Functions | |||
Unique values from date range | Excel Discussion (Misc queries) | |||
How do I count unique values within a date range? | Excel Discussion (Misc queries) | |||
How do I get the unique values from a range? | Excel Worksheet Functions |