Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have been trying, without any success, to write a SUMIF function using non
contiguous cells and need some help. Here is the formula I am working with:=IF(COUNT(G8:P8,U8,V8)<12,"",VLOOKUP(SUM(G8:P 8+U8+V8)/SUMIF(G8:P8+U8+V8,"0",$G7:$P$7+U7+V7),GradeTbl,2) ) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In article ,
Billy B wrote: I have been trying, without any success, to write a SUMIF function using non contiguous cells and need some help. Here is the formula I am working with:=IF(COUNT(G8:P8,U8,V8)<12,"",VLOOKUP(SUM(G8:P 8+U8+V8)/SUMIF(G8:P8+U8+V8," 0",$G7:$P$7+U7+V7),GradeTbl,2)) Try replacing the SUM/SUMIF part of the formula with the following... SUM(G8:P8,U8,V8)/(SUMIF(G8:P8,"0",G7:P7)+SUMIF(U8:V8,"0",U7:V7)) -- Domenic http://www.xl-central.com |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Also, in the VLOOKUP(), you may need a 0 as the last argument
-- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "Billy B" wrote in message ... I have been trying, without any success, to write a SUMIF function using non contiguous cells and need some help. Here is the formula I am working with:=IF(COUNT(G8:P8,U8,V8)<12,"",VLOOKUP(SUM(G8:P 8+U8+V8)/SUMIF(G8:P8+U8+V8,"0",$G7:$P$7+U7+V7),GradeTbl,2) ) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Non-contiguous cells | Excel Discussion (Misc queries) | |||
counting cells that are 0 in a range of non-contiguous cells | Excel Worksheet Functions | |||
Summing non contiguous cells | Excel Discussion (Misc queries) | |||
XIRR and Non Contiguous Cells | Excel Discussion (Misc queries) | |||
SUMIF non-contiguous range | Excel Worksheet Functions |