Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Trying to use "AND" function in criteria portion of "COUNTIF" function. More
specifically want numbers to sum if the number in the "range" falls between two numbers e.g. AND(8,<=11.99). In this example all numbers in the "range" that fall between 8.01 and 11.99, their corresponding number in the "sum_range" should be summed. I can't seem to make this work. Any suggestions? Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--(range8),--(range<=11.99),--(sum_range))
-- Regards, Dave "DMM" wrote: Trying to use "AND" function in criteria portion of "COUNTIF" function. More specifically want numbers to sum if the number in the "range" falls between two numbers e.g. AND(8,<=11.99). In this example all numbers in the "range" that fall between 8.01 and 11.99, their corresponding number in the "sum_range" should be summed. I can't seem to make this work. Any suggestions? Thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() This formula works for me: =SUMIF(G6:G48,"=8.01",E6:E48)-SUMIF(G6:G48,"11.99",E6:E48) Column G contains the amounts you want to sum Column E is the criteria -- pdgaustintexas -- pdgaustintexas ------------------------------------------------------------------------ pdgaustintexas's Profile: http://www.excelforum.com/member.php...o&userid=30600 View this thread: http://www.excelforum.com/showthread...hreadid=505443 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're right - it works
Thanks for the help "pdgaustintexas" wrote: This formula works for me: =SUMIF(G6:G48,"=8.01",E6:E48)-SUMIF(G6:G48,"11.99",E6:E48) Column G contains the amounts you want to sum Column E is the criteria -- pdgaustintexas -- pdgaustintexas ------------------------------------------------------------------------ pdgaustintexas's Profile: http://www.excelforum.com/member.php...o&userid=30600 View this thread: http://www.excelforum.com/showthread...hreadid=505443 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date & Time | New Users to Excel | |||
Hyperlinks using R[1]C[1] and offset function in its cell referenc | Excel Worksheet Functions | |||
Conversion | Excel Worksheet Functions | |||
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. | Excel Worksheet Functions | |||
Find a Function to use accross different worksheets | Excel Worksheet Functions |