Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 54
Default SUMIF formula with non contiguous cells

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 265
Default SUMIF formula with non contiguous cells

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default SUMIF formula with non contiguous cells

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-contiguous cells Kokomojo Excel Discussion (Misc queries) 2 November 6th 07 04:09 PM
counting cells that are 0 in a range of non-contiguous cells Mark Excel Worksheet Functions 9 March 14th 07 02:45 PM
Summing non contiguous cells Millie Excel Discussion (Misc queries) 4 August 10th 06 10:23 PM
XIRR and Non Contiguous Cells John Taylor Excel Discussion (Misc queries) 2 August 2nd 06 12:41 AM
SUMIF non-contiguous range Lady_Olara Excel Worksheet Functions 13 January 10th 06 09:33 PM


All times are GMT +1. The time now is 09:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"