Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Justine Burn via OfficeKB.com
 
Posts: n/a
Default Adding the sum of figures in one column if they meet 2 criteria

Please help! I have a column of 500 figures. I want to calculate the total
value of all figurews between 10000 and 12000 in the column at the bottom
of the page. What do you recommend? Currently i have the following but it
is not working. =SUM(IF(D3:D151,"10000")*AND(D3:D151,"<12000")).

--
Message posted via http://www.officekb.com
  #2   Report Post  
Don
 
Posts: n/a
Default

Justine,

Try

=SUM((D1:D500=10000)*(D1:D13<=12000)*D1:D500)

Entered as an array formula (ctrl-shift-enter)

Don Pistulka


"Justine Burn via OfficeKB.com" wrote in message
...
Please help! I have a column of 500 figures. I want to calculate the total
value of all figurews between 10000 and 12000 in the column at the bottom
of the page. What do you recommend? Currently i have the following but it
is not working. =SUM(IF(D3:D151,"10000")*AND(D3:D151,"<12000")).

--
Message posted via http://www.officekb.com



  #3   Report Post  
Myrna Larson
 
Posts: n/a
Default

Assuming you want to include 10000 and 12000,

=SUMIF(D3:D151,"=10000")=SUMIF(D3:D151,"12000")


On Tue, 22 Feb 2005 01:46:58 GMT, "Justine Burn via OfficeKB.com"
wrote:

Please help! I have a column of 500 figures. I want to calculate the total
value of all figurews between 10000 and 12000 in the column at the bottom
of the page. What do you recommend? Currently i have the following but it
is not working. =SUM(IF(D3:D151,"10000")*AND(D3:D151,"<12000")).


  #4   Report Post  
Myrna Larson
 
Posts: n/a
Default

Typo the WRT the 2nd SUMIF, it should be -SUMIF(....) rather than
=SUMIF(....


On Mon, 21 Feb 2005 20:14:12 -0600, Myrna Larson
wrote:

Assuming you want to include 10000 and 12000,

=SUMIF(D3:D151,"=10000")=SUMIF(D3:D151,"12000 ")


On Tue, 22 Feb 2005 01:46:58 GMT, "Justine Burn via OfficeKB.com"
wrote:

Please help! I have a column of 500 figures. I want to calculate the total
value of all figurews between 10000 and 12000 in the column at the bottom
of the page. What do you recommend? Currently i have the following but it
is not working. =SUM(IF(D3:D151,"10000")*AND(D3:D151,"<12000")).


  #5   Report Post  
Justine Burn via OfficeKB.com
 
Posts: n/a
Default

Thank you thank you thank you. Fab Myra. Owe u big time.

--
Message posted via http://www.officekb.com
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
Adding more than 30 numbers in a column CLR Excel Worksheet Functions 12 February 20th 05 08:05 PM
Adding a KeyID column for sorting Rebecca New Users to Excel 3 February 20th 05 07:09 PM
ADDING SUM TOTAL OF MORE THAN 30 CELLS IN A COLUMN TOGETHER - WON. Robin Smith Excel Discussion (Misc queries) 0 December 20th 04 08:47 PM
macro - adding rows to a column that is summed HGood Excel Discussion (Misc queries) 2 December 1st 04 03:28 PM
Adding column data stge Excel Worksheet Functions 1 November 4th 04 05:26 PM


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

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

About Us

"It's about Microsoft Excel"