Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Sumproduct using NOT equal to

I have a sumproduct formula that i am trying to sum all cells in arow that
are not already included in my formula. I am sure this can be done by
incorporating the NOT funtion, but I do NOT know how to execute this as an
array.

Here is my attempt that returns a #value error.
=SUMPRODUCT("'Wholesale Orders'!E:E),--(=not(='Project
Forecast'!A6:A22),('Wholesale Orders'!F:F)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Sumproduct using NOT equal to

You cannot negated cell references
Also the size of each array must be the same
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"ocuhcs" wrote in message
...
I have a sumproduct formula that i am trying to sum all cells in arow that
are not already included in my formula. I am sure this can be done by
incorporating the NOT funtion, but I do NOT know how to execute this as an
array.

Here is my attempt that returns a #value error.
=SUMPRODUCT("'Wholesale Orders'!E:E),--(=not(='Project
Forecast'!A6:A22),('Wholesale Orders'!F:F)



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumproduct using NOT equal to

Is this what you want...

Sum column F if column E does not contain entries from A?

What version of Excel are you using? Unless you're using Excel 2007 you
can't use entire columns as range references with SUMPRODUCT.

=SUMPRODUCT(--(ISNA(MATCH('Wholesale Orders'!E1:E100,'Project
Forecast'!A6:A22,0))),'Wholesale Orders'!F1:F100)

--
Biff
Microsoft Excel MVP


"ocuhcs" wrote in message
...
I have a sumproduct formula that i am trying to sum all cells in arow that
are not already included in my formula. I am sure this can be done by
incorporating the NOT funtion, but I do NOT know how to execute this as an
array.

Here is my attempt that returns a #value error.
=SUMPRODUCT("'Wholesale Orders'!E:E),--(=not(='Project
Forecast'!A6:A22),('Wholesale Orders'!F:F)



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Sumproduct using NOT equal to

Just subtract the sum of the range from the numbers "already included", as
in:

=sum(YourRange)-YourOtherFormula

Regards,
Fred.

"ocuhcs" wrote in message
...
I have a sumproduct formula that i am trying to sum all cells in arow that
are not already included in my formula. I am sure this can be done by
incorporating the NOT funtion, but I do NOT know how to execute this as an
array.

Here is my attempt that returns a #value error.
=SUMPRODUCT("'Wholesale Orders'!E:E),--(=not(='Project
Forecast'!A6:A22),('Wholesale Orders'!F:F)


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Sumproduct using NOT equal to

Exactly - I want to sum column F if E is not equal to any of the values in
A6:A22.
I am using Excel 2003 and I have modified the forluma you posted to show
ranges of columns and not full columns.

The formula works except for the part that eliminates the entries equal to
A6:A22, it is now summing all positive values from column F (including the
rows with values = to A6:A22.

"T. Valko" wrote:

Is this what you want...

Sum column F if column E does not contain entries from A?

What version of Excel are you using? Unless you're using Excel 2007 you
can't use entire columns as range references with SUMPRODUCT.

=SUMPRODUCT(--(ISNA(MATCH('Wholesale Orders'!E1:E100,'Project
Forecast'!A6:A22,0))),'Wholesale Orders'!F1:F100)

--
Biff
Microsoft Excel MVP


"ocuhcs" wrote in message
...
I have a sumproduct formula that i am trying to sum all cells in arow that
are not already included in my formula. I am sure this can be done by
incorporating the NOT funtion, but I do NOT know how to execute this as an
array.

Here is my attempt that returns a #value error.
=SUMPRODUCT("'Wholesale Orders'!E:E),--(=not(='Project
Forecast'!A6:A22),('Wholesale Orders'!F:F)






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumproduct using NOT equal to

Consider this small sample:

...........A..........E..........F
1........A.........A..........1
2........D.........B..........2
3...................C..........3
4...................D..........4
5...................E..........5

Sum F if E does not contain entries from A.

=SUMPRODUCT(--(ISNA(MATCH(E1:E5,A1:A2,0))),F1:F5)

Result = 10

E2, E3 and E5 meet the criteria so the formula is summing F2, F3 and F5.

Using that sample data what result would you expect?


--
Biff
Microsoft Excel MVP


"ocuhcs" wrote in message
...
Exactly - I want to sum column F if E is not equal to any of the values in
A6:A22.
I am using Excel 2003 and I have modified the forluma you posted to show
ranges of columns and not full columns.

The formula works except for the part that eliminates the entries equal to
A6:A22, it is now summing all positive values from column F (including the
rows with values = to A6:A22.

"T. Valko" wrote:

Is this what you want...

Sum column F if column E does not contain entries from A?

What version of Excel are you using? Unless you're using Excel 2007 you
can't use entire columns as range references with SUMPRODUCT.

=SUMPRODUCT(--(ISNA(MATCH('Wholesale Orders'!E1:E100,'Project
Forecast'!A6:A22,0))),'Wholesale Orders'!F1:F100)

--
Biff
Microsoft Excel MVP


"ocuhcs" wrote in message
...
I have a sumproduct formula that i am trying to sum all cells in arow
that
are not already included in my formula. I am sure this can be done by
incorporating the NOT funtion, but I do NOT know how to execute this as
an
array.

Here is my attempt that returns a #value error.
=SUMPRODUCT("'Wholesale Orders'!E:E),--(=not(='Project
Forecast'!A6:A22),('Wholesale Orders'!F:F)






  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Sumproduct using NOT equal to

You nailed it! (again) I simply copied the formula from your sample and
plugged in my data and it returned the correct value. I compared it to the
formula from your first post and they were identical???????
I read these boards quite frequently trying to find answers to my questions
before I ask and T.Valko must have at least a 95% success rate in solving
questions - Thanks.

"T. Valko" wrote:

Consider this small sample:

...........A..........E..........F
1........A.........A..........1
2........D.........B..........2
3...................C..........3
4...................D..........4
5...................E..........5

Sum F if E does not contain entries from A.

=SUMPRODUCT(--(ISNA(MATCH(E1:E5,A1:A2,0))),F1:F5)

Result = 10

E2, E3 and E5 meet the criteria so the formula is summing F2, F3 and F5.

Using that sample data what result would you expect?


--
Biff
Microsoft Excel MVP


"ocuhcs" wrote in message
...
Exactly - I want to sum column F if E is not equal to any of the values in
A6:A22.
I am using Excel 2003 and I have modified the forluma you posted to show
ranges of columns and not full columns.

The formula works except for the part that eliminates the entries equal to
A6:A22, it is now summing all positive values from column F (including the
rows with values = to A6:A22.

"T. Valko" wrote:

Is this what you want...

Sum column F if column E does not contain entries from A?

What version of Excel are you using? Unless you're using Excel 2007 you
can't use entire columns as range references with SUMPRODUCT.

=SUMPRODUCT(--(ISNA(MATCH('Wholesale Orders'!E1:E100,'Project
Forecast'!A6:A22,0))),'Wholesale Orders'!F1:F100)

--
Biff
Microsoft Excel MVP


"ocuhcs" wrote in message
...
I have a sumproduct formula that i am trying to sum all cells in arow
that
are not already included in my formula. I am sure this can be done by
incorporating the NOT funtion, but I do NOT know how to execute this as
an
array.

Here is my attempt that returns a #value error.
=SUMPRODUCT("'Wholesale Orders'!E:E),--(=not(='Project
Forecast'!A6:A22),('Wholesale Orders'!F:F)






  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumproduct using NOT equal to

T.Valko must have at least a 95% success rate in solving questions

I think that's kind of low. <grin

Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"ocuhcs" wrote in message
...
You nailed it! (again) I simply copied the formula from your sample and
plugged in my data and it returned the correct value. I compared it to the
formula from your first post and they were identical???????
I read these boards quite frequently trying to find answers to my
questions
before I ask and T.Valko must have at least a 95% success rate in solving
questions - Thanks.

"T. Valko" wrote:

Consider this small sample:

...........A..........E..........F
1........A.........A..........1
2........D.........B..........2
3...................C..........3
4...................D..........4
5...................E..........5

Sum F if E does not contain entries from A.

=SUMPRODUCT(--(ISNA(MATCH(E1:E5,A1:A2,0))),F1:F5)

Result = 10

E2, E3 and E5 meet the criteria so the formula is summing F2, F3 and F5.

Using that sample data what result would you expect?


--
Biff
Microsoft Excel MVP


"ocuhcs" wrote in message
...
Exactly - I want to sum column F if E is not equal to any of the values
in
A6:A22.
I am using Excel 2003 and I have modified the forluma you posted to
show
ranges of columns and not full columns.

The formula works except for the part that eliminates the entries equal
to
A6:A22, it is now summing all positive values from column F (including
the
rows with values = to A6:A22.

"T. Valko" wrote:

Is this what you want...

Sum column F if column E does not contain entries from A?

What version of Excel are you using? Unless you're using Excel 2007
you
can't use entire columns as range references with SUMPRODUCT.

=SUMPRODUCT(--(ISNA(MATCH('Wholesale Orders'!E1:E100,'Project
Forecast'!A6:A22,0))),'Wholesale Orders'!F1:F100)

--
Biff
Microsoft Excel MVP


"ocuhcs" wrote in message
...
I have a sumproduct formula that i am trying to sum all cells in arow
that
are not already included in my formula. I am sure this can be done
by
incorporating the NOT funtion, but I do NOT know how to execute this
as
an
array.

Here is my attempt that returns a #value error.
=SUMPRODUCT("'Wholesale Orders'!E:E),--(=not(='Project
Forecast'!A6:A22),('Wholesale Orders'!F:F)








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
SUMPRODUCT Can I use less than or equal to with this function Mifty Excel Discussion (Misc queries) 5 April 29th 23 03:42 AM
SUMPRODUCT not equal to... Brigitte Excel Worksheet Functions 2 July 24th 06 06:19 PM
SUMPRODUCT - How can I use does not equal in an array? DG Excel Worksheet Functions 3 December 30th 05 06:53 PM
GREATER OR EQUAL TO BUT LESS THAN Problem using Sumproduct Ragdyer Excel Worksheet Functions 0 September 29th 05 05:39 AM
SumProduct - Value ISN'T equal to Andibevan Excel Discussion (Misc queries) 1 May 19th 05 05:04 PM


All times are GMT +1. The time now is 11:09 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"