Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default formula gone array

I have a situation in which there are 4 columns that need
to meet the criteria in order for the correct numbers to
appear. There are 8000 rows of info. I got the formula
to work to count the number of items (33) fitting those 4
criterias. But, now I need the dollars of the 33 items.
I am using the following but it is summing all 8000
records. The following is also what gave me the correct
number of items (33) from a different column (G). Can
anyone see my disconnect in the formula?

=SUM(Detail!$O$2:$O$10000,(IF(Detail!$K$2:$K$10000 =1998,IF
(Detail!$M$2:$M$10000="LB",IF(Detail!$J$2:$J$10000 ="Bodily
Injury",IF(Detail!$G$2:$G$10000="Closed",1,0))))))

Thanks in advance to anyone who responds.
*** John
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default formula gone array

assume the dollars are in column L

=SUM(Detail!$O$2:$O$10000,(IF(Detail!$K$2:$K$10000 =1998,IF
(Detail!$M$2:$M$10000="LB",IF(Detail!$J$2:$J$10000 ="Bodily
Injury",IF(Detail!$G$2:$G$10000="Closed",Detail!$L $2:$L$10000))))))

--
Regards,
Tom Ogilvy

"JohnE" wrote in message
...
I have a situation in which there are 4 columns that need
to meet the criteria in order for the correct numbers to
appear. There are 8000 rows of info. I got the formula
to work to count the number of items (33) fitting those 4
criterias. But, now I need the dollars of the 33 items.
I am using the following but it is summing all 8000
records. The following is also what gave me the correct
number of items (33) from a different column (G). Can
anyone see my disconnect in the formula?

=SUM(Detail!$O$2:$O$10000,(IF(Detail!$K$2:$K$10000 =1998,IF
(Detail!$M$2:$M$10000="LB",IF(Detail!$J$2:$J$10000 ="Bodily
Injury",IF(Detail!$G$2:$G$10000="Closed",1,0))))))

Thanks in advance to anyone who responds.
*** John



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default formula gone array

Tom, my apologies. The dollars are in O. So I removed
the first "Detail" after the sum and made the one you
added at the end into O and it worked.
Thanks.
*** John


-----Original Message-----
assume the dollars are in column L

=SUM(Detail!$O$2:$O$10000,(IF(Detail!$K$2:$K$1000 0=1998,IF
(Detail!$M$2:$M$10000="LB",IF(Detail!$J$2:$J$1000 0="Bodily
Injury",IF(Detail!$G$2:$G$10000="Closed",Detail !

$L$2:$L$10000))))))

--
Regards,
Tom Ogilvy

"JohnE" wrote in

message
...
I have a situation in which there are 4 columns that

need
to meet the criteria in order for the correct numbers to
appear. There are 8000 rows of info. I got the formula
to work to count the number of items (33) fitting those

4
criterias. But, now I need the dollars of the 33 items.
I am using the following but it is summing all 8000
records. The following is also what gave me the correct
number of items (33) from a different column (G). Can
anyone see my disconnect in the formula?

=SUM(Detail!$O$2:$O$10000,(IF(Detail!

$K$2:$K$10000=1998,IF
(Detail!$M$2:$M$10000="LB",IF(Detail!

$J$2:$J$10000="Bodily
Injury",IF(Detail!$G$2:$G$10000="Closed",1,0))))))

Thanks in advance to anyone who responds.
*** John



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default formula gone array

didn't even notice it there - you said that it worked to get a count, so I
assumed it worked as written, but gave a count instead of a sum.

--
Regards,
Tom Ogilvy

"JohnE" wrote in message
...
Tom, my apologies. The dollars are in O. So I removed
the first "Detail" after the sum and made the one you
added at the end into O and it worked.
Thanks.
*** John


-----Original Message-----
assume the dollars are in column L

=SUM(Detail!$O$2:$O$10000,(IF(Detail!$K$2:$K$1000 0=1998,IF
(Detail!$M$2:$M$10000="LB",IF(Detail!$J$2:$J$1000 0="Bodily
Injury",IF(Detail!$G$2:$G$10000="Closed",Detail !

$L$2:$L$10000))))))

--
Regards,
Tom Ogilvy

"JohnE" wrote in

message
...
I have a situation in which there are 4 columns that

need
to meet the criteria in order for the correct numbers to
appear. There are 8000 rows of info. I got the formula
to work to count the number of items (33) fitting those

4
criterias. But, now I need the dollars of the 33 items.
I am using the following but it is summing all 8000
records. The following is also what gave me the correct
number of items (33) from a different column (G). Can
anyone see my disconnect in the formula?

=SUM(Detail!$O$2:$O$10000,(IF(Detail!

$K$2:$K$10000=1998,IF
(Detail!$M$2:$M$10000="LB",IF(Detail!

$J$2:$J$10000="Bodily
Injury",IF(Detail!$G$2:$G$10000="Closed",1,0))))))

Thanks in advance to anyone who responds.
*** John



.



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
Array formula SUMIF with 2D sum_range array Rich_84 Excel Worksheet Functions 3 April 3rd 09 10:46 PM
Array formula: how to join 2 ranges together to form one array? Rich_84 Excel Worksheet Functions 2 April 1st 09 06:38 PM
Find specific value in array of array formula DzednConfsd Excel Worksheet Functions 2 January 13th 09 06:19 AM
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM


All times are GMT +1. The time now is 03:53 AM.

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"