#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sumifs & Not Like

I have a large spreadsheet that looks something like this:


Dest. Origin Weight Carrier
NYC PIT 37,133 FedEx
LA OBX 5,280 DHL
NYC OBX 35,800 FedEx
CHI OBX 28,100 UPS
NYC PIT 39,680 DHL
TOR OBX 54,648 BAX



I need to summarize this various ways. One of them is I need the total
weight from origin OBX, but not using the carrier UPS. So, my answer should
be 95,728.


The problem is there are way more carriers than just the 3 that I show, and
I only need to exclude 1 carrier.

So, how Can I use write a formula that says sum if the origin is "OBX" and
the carrier NOT "UPS"? I use the sumifs formula (I'm using Excel 2007) all
the time. But, this is the first time I need to exclude something.

Any ideas? All and all help is greatly appreciated!!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Sumifs & Not Like

Hi,

You could try this

=SUMPRODUCT((B2:B20="OBX")*(D2:D20<"UPS")*(C2:C20 ))

Mike

"Cow Girl" wrote:

I have a large spreadsheet that looks something like this:


Dest. Origin Weight Carrier
NYC PIT 37,133 FedEx
LA OBX 5,280 DHL
NYC OBX 35,800 FedEx
CHI OBX 28,100 UPS
NYC PIT 39,680 DHL
TOR OBX 54,648 BAX



I need to summarize this various ways. One of them is I need the total
weight from origin OBX, but not using the carrier UPS. So, my answer should
be 95,728.


The problem is there are way more carriers than just the 3 that I show, and
I only need to exclude 1 carrier.

So, how Can I use write a formula that says sum if the origin is "OBX" and
the carrier NOT "UPS"? I use the sumifs formula (I'm using Excel 2007) all
the time. But, this is the first time I need to exclude something.

Any ideas? All and all help is greatly appreciated!!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sumifs & Not Like

Thank you!! That worked perfectly. One more question, please? Is there a way
to count vs. summing?

"Mike H" wrote:

Hi,

You could try this

=SUMPRODUCT((B2:B20="OBX")*(D2:D20<"UPS")*(C2:C20 ))

Mike

"Cow Girl" wrote:

I have a large spreadsheet that looks something like this:


Dest. Origin Weight Carrier
NYC PIT 37,133 FedEx
LA OBX 5,280 DHL
NYC OBX 35,800 FedEx
CHI OBX 28,100 UPS
NYC PIT 39,680 DHL
TOR OBX 54,648 BAX



I need to summarize this various ways. One of them is I need the total
weight from origin OBX, but not using the carrier UPS. So, my answer should
be 95,728.


The problem is there are way more carriers than just the 3 that I show, and
I only need to exclude 1 carrier.

So, how Can I use write a formula that says sum if the origin is "OBX" and
the carrier NOT "UPS"? I use the sumifs formula (I'm using Excel 2007) all
the time. But, this is the first time I need to exclude something.

Any ideas? All and all help is greatly appreciated!!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Sumifs & Not Like

I assume you mean count the number of entries summed by the previous formula

=SUMPRODUCT((B2:B20="OBX")*(D2:D20<"UPS")*(C2:C20 <""))

Mike

"Cow Girl" wrote:

Thank you!! That worked perfectly. One more question, please? Is there a way
to count vs. summing?

"Mike H" wrote:

Hi,

You could try this

=SUMPRODUCT((B2:B20="OBX")*(D2:D20<"UPS")*(C2:C20 ))

Mike

"Cow Girl" wrote:

I have a large spreadsheet that looks something like this:


Dest. Origin Weight Carrier
NYC PIT 37,133 FedEx
LA OBX 5,280 DHL
NYC OBX 35,800 FedEx
CHI OBX 28,100 UPS
NYC PIT 39,680 DHL
TOR OBX 54,648 BAX



I need to summarize this various ways. One of them is I need the total
weight from origin OBX, but not using the carrier UPS. So, my answer should
be 95,728.


The problem is there are way more carriers than just the 3 that I show, and
I only need to exclude 1 carrier.

So, how Can I use write a formula that says sum if the origin is "OBX" and
the carrier NOT "UPS"? I use the sumifs formula (I'm using Excel 2007) all
the time. But, this is the first time I need to exclude something.

Any ideas? All and all help is greatly appreciated!!!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sumifs & Not Like

Yes, that is what I mean. I'm looking for an answer of 3. When I do that,
though, it comes up as an error: #N/A

Any ideas what I might be doing wrong?

"Mike H" wrote:

I assume you mean count the number of entries summed by the previous formula

=SUMPRODUCT((B2:B20="OBX")*(D2:D20<"UPS")*(C2:C20 <""))

Mike

"Cow Girl" wrote:

Thank you!! That worked perfectly. One more question, please? Is there a way
to count vs. summing?

"Mike H" wrote:

Hi,

You could try this

=SUMPRODUCT((B2:B20="OBX")*(D2:D20<"UPS")*(C2:C20 ))

Mike

"Cow Girl" wrote:

I have a large spreadsheet that looks something like this:


Dest. Origin Weight Carrier
NYC PIT 37,133 FedEx
LA OBX 5,280 DHL
NYC OBX 35,800 FedEx
CHI OBX 28,100 UPS
NYC PIT 39,680 DHL
TOR OBX 54,648 BAX



I need to summarize this various ways. One of them is I need the total
weight from origin OBX, but not using the carrier UPS. So, my answer should
be 95,728.


The problem is there are way more carriers than just the 3 that I show, and
I only need to exclude 1 carrier.

So, how Can I use write a formula that says sum if the origin is "OBX" and
the carrier NOT "UPS"? I use the sumifs formula (I'm using Excel 2007) all
the time. But, this is the first time I need to exclude something.

Any ideas? All and all help is greatly appreciated!!!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sumifs & Not Like


Mike, I figured it out. I did not specify the exact range for the carriers.
That is, I did D:D instead of D2:D20. It doesn't work if you do that. Thank
you so much for all of your help!! Cathy


"Mike H" wrote:

I assume you mean count the number of entries summed by the previous formula

=SUMPRODUCT((B2:B20="OBX")*(D2:D20<"UPS")*(C2:C20 <""))

Mike

"Cow Girl" wrote:

Thank you!! That worked perfectly. One more question, please? Is there a way
to count vs. summing?

"Mike H" wrote:

Hi,

You could try this

=SUMPRODUCT((B2:B20="OBX")*(D2:D20<"UPS")*(C2:C20 ))

Mike

"Cow Girl" wrote:

I have a large spreadsheet that looks something like this:


Dest. Origin Weight Carrier
NYC PIT 37,133 FedEx
LA OBX 5,280 DHL
NYC OBX 35,800 FedEx
CHI OBX 28,100 UPS
NYC PIT 39,680 DHL
TOR OBX 54,648 BAX



I need to summarize this various ways. One of them is I need the total
weight from origin OBX, but not using the carrier UPS. So, my answer should
be 95,728.


The problem is there are way more carriers than just the 3 that I show, and
I only need to exclude 1 carrier.

So, how Can I use write a formula that says sum if the origin is "OBX" and
the carrier NOT "UPS"? I use the sumifs formula (I'm using Excel 2007) all
the time. But, this is the first time I need to exclude something.

Any ideas? All and all help is greatly appreciated!!!

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Sumifs & Not Like

Glad I could help and on the voyage of self discovery you just found out that
sumproduct doesn't work on full columns in your version of Excel. I bet you
never forget that.

Mike

"Cow Girl" wrote:


Mike, I figured it out. I did not specify the exact range for the carriers.
That is, I did D:D instead of D2:D20. It doesn't work if you do that. Thank
you so much for all of your help!! Cathy


"Mike H" wrote:

I assume you mean count the number of entries summed by the previous formula

=SUMPRODUCT((B2:B20="OBX")*(D2:D20<"UPS")*(C2:C20 <""))

Mike

"Cow Girl" wrote:

Thank you!! That worked perfectly. One more question, please? Is there a way
to count vs. summing?

"Mike H" wrote:

Hi,

You could try this

=SUMPRODUCT((B2:B20="OBX")*(D2:D20<"UPS")*(C2:C20 ))

Mike

"Cow Girl" wrote:

I have a large spreadsheet that looks something like this:


Dest. Origin Weight Carrier
NYC PIT 37,133 FedEx
LA OBX 5,280 DHL
NYC OBX 35,800 FedEx
CHI OBX 28,100 UPS
NYC PIT 39,680 DHL
TOR OBX 54,648 BAX



I need to summarize this various ways. One of them is I need the total
weight from origin OBX, but not using the carrier UPS. So, my answer should
be 95,728.


The problem is there are way more carriers than just the 3 that I show, and
I only need to exclude 1 carrier.

So, how Can I use write a formula that says sum if the origin is "OBX" and
the carrier NOT "UPS"? I use the sumifs formula (I'm using Excel 2007) all
the time. But, this is the first time I need to exclude something.

Any ideas? All and all help is greatly appreciated!!!

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
SUMIFS Steen Excel Worksheet Functions 5 November 2nd 08 03:38 PM
SUMIFS and OR mohavv Excel Discussion (Misc queries) 4 January 30th 08 04:02 PM
SUMIFS Mark Excel Discussion (Misc queries) 3 November 28th 07 12:09 PM
SUMIFS and OR M.S. Westerbeek Excel Worksheet Functions 6 August 23rd 07 07:24 PM
SumIfs timson Excel Discussion (Misc queries) 3 January 26th 07 07:46 PM


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

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"