PC Review


Reply
Thread Tools Rate Thread

Adding cells based on another cell

 
 
Tdahlman
Guest
Posts: n/a
 
      5th Mar 2008
I have a list that is probably 20 rows long.
The list is 4 columns wide. The columns are Dealer #, Quote #, Quantity, and
Status.
Status is a data validation list box with 3 different options (Pending, Won,
Lost).
I need to have 3 different totals, one for each of the options. So I want a
total of the quantities for each "Pending", "Won", "Lost".

Please advise,
Let me if you need any other information.

Thanks
Travis.
 
Reply With Quote
 
 
 
 
Gav123
Guest
Posts: n/a
 
      5th Mar 2008
Hi Travis,

You could use something like this...


=SUMIF(D222,"Pending",C2:C22)

This will sum the total quantity of status Pending

Assuming Status range is D222 and Quantity is C2:C22

Hope this helps,

Gav.

"Tdahlman" wrote:

> I have a list that is probably 20 rows long.
> The list is 4 columns wide. The columns are Dealer #, Quote #, Quantity, and
> Status.
> Status is a data validation list box with 3 different options (Pending, Won,
> Lost).
> I need to have 3 different totals, one for each of the options. So I want a
> total of the quantities for each "Pending", "Won", "Lost".
>
> Please advise,
> Let me if you need any other information.
>
> Thanks
> Travis.

 
Reply With Quote
 
Gary''s Student
Guest
Posts: n/a
 
      5th Mar 2008
Assuming Quantity is in column C and Status is in column D, use these formulas:

=SUMPRODUCT(C1:C100,--(D1100="pending"))
=SUMPRODUCT(C1:C100,--(D1100="won"))
=SUMPRODUCT(C1:C100,--(D1100="lost"))

--
Gary''s Student - gsnu200771


"Tdahlman" wrote:

> I have a list that is probably 20 rows long.
> The list is 4 columns wide. The columns are Dealer #, Quote #, Quantity, and
> Status.
> Status is a data validation list box with 3 different options (Pending, Won,
> Lost).
> I need to have 3 different totals, one for each of the options. So I want a
> total of the quantities for each "Pending", "Won", "Lost".
>
> Please advise,
> Let me if you need any other information.
>
> Thanks
> Travis.

 
Reply With Quote
 
PCLIVE
Guest
Posts: n/a
 
      5th Mar 2008
Try this:

=SUMIF(D1100,"Pending",C1:C100)

HTH,
Paul

--

"Tdahlman" <(E-Mail Removed)> wrote in message
news:8FDB4AE5-186D-4ED6-8674-(E-Mail Removed)...
>I have a list that is probably 20 rows long.
> The list is 4 columns wide. The columns are Dealer #, Quote #, Quantity,
> and
> Status.
> Status is a data validation list box with 3 different options (Pending,
> Won,
> Lost).
> I need to have 3 different totals, one for each of the options. So I want
> a
> total of the quantities for each "Pending", "Won", "Lost".
>
> Please advise,
> Let me if you need any other information.
>
> Thanks
> Travis.



 
Reply With Quote
 
PCLIVE
Guest
Posts: n/a
 
      5th Mar 2008
Are you sure that's correct? I had to use:

=SUMPRODUCT(--(D1100="Pending"),C1:C100)

--

"Gary''s Student" <(E-Mail Removed)> wrote in message
news:A80271C4-E5E3-480C-8C82-(E-Mail Removed)...
> Assuming Quantity is in column C and Status is in column D, use these
> formulas:
>
> =SUMPRODUCT(C1:C100,--(D1100="pending"))
> =SUMPRODUCT(C1:C100,--(D1100="won"))
> =SUMPRODUCT(C1:C100,--(D1100="lost"))
>
> --
> Gary''s Student - gsnu200771
>
>
> "Tdahlman" wrote:
>
>> I have a list that is probably 20 rows long.
>> The list is 4 columns wide. The columns are Dealer #, Quote #, Quantity,
>> and
>> Status.
>> Status is a data validation list box with 3 different options (Pending,
>> Won,
>> Lost).
>> I need to have 3 different totals, one for each of the options. So I want
>> a
>> total of the quantities for each "Pending", "Won", "Lost".
>>
>> Please advise,
>> Let me if you need any other information.
>>
>> Thanks
>> Travis.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Format a cell in a range of cells based on value of another cell Barneypo@gmail.com Microsoft Excel Discussion 1 12th Jul 2011 05:40 PM
adding specific cells based on a corresponding date =?Utf-8?B?Ymx1ZW1vaXI=?= Microsoft Excel Worksheet Functions 0 9th Feb 2006 05:55 PM
Adding cells based on condition =?Utf-8?B?VGVkIE1ldHJv?= Microsoft Excel Worksheet Functions 1 22nd Jun 2005 09:15 PM
Adding colour to a range of cells based on one of the cells v... =?Utf-8?B?TWNLZW5uYQ==?= Microsoft Excel Misc 4 11th Mar 2005 02:25 PM
Adding Cells Based on What's Seen 2 John in Burlington Microsoft Excel Worksheet Functions 0 1st Oct 2003 05:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:28 AM.