A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formula help for beginner



 
 
Thread Tools Display Modes
  #1  
Old March 21st, 2010, 08:56 PM posted to microsoft.public.excel.worksheet.functions
Wincleaner
external usenet poster
 
Posts: 1
Default Formula help for beginner

Hello,

All I want to do is

Column C is an amount
Column D is a drop down list of Paid, Unpaid, Cheque

If Column D = Paid or Cheque I want to calc the sum of the corresponding C
amounts

C D
5 Paid
5 Cheque
5 Unpaid
5 Unpaid
10 Paid

total = £20

Thanks
  #2  
Old March 21st, 2010, 09:07 PM posted to microsoft.public.excel.worksheet.functions
Don Guillett[_2_]
external usenet poster
 
Posts: 607
Default Formula help for beginner

=SUMPRODUCT((D26={"paid","cheque"})*C2:C6)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Wincleaner" wrote in message
...
Hello,

All I want to do is

Column C is an amount
Column D is a drop down list of Paid, Unpaid, Cheque

If Column D = Paid or Cheque I want to calc the sum of the corresponding C
amounts

C D
5 Paid
5 Cheque
5 Unpaid
5 Unpaid
10 Paid

total = £20

Thanks


  #3  
Old March 21st, 2010, 10:21 PM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default Formula help for beginner

=SUM(SUMIF(D26,{"Paid","Cheque"},C2:C6))


"Wincleaner" wrote:

Hello,

All I want to do is

Column C is an amount
Column D is a drop down list of Paid, Unpaid, Cheque

If Column D = Paid or Cheque I want to calc the sum of the corresponding C
amounts

C D
5 Paid
5 Cheque
5 Unpaid
5 Unpaid
10 Paid

total = £20

Thanks

  #4  
Old March 22nd, 2010, 02:40 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default Formula help for beginner

Hi,

=sumif(D26,"Paid",C2:C6)+sumif(D26,"cheque",C2 :C6)

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Wincleaner" wrote in message
...
Hello,

All I want to do is

Column C is an amount
Column D is a drop down list of Paid, Unpaid, Cheque

If Column D = Paid or Cheque I want to calc the sum of the corresponding C
amounts

C D
5 Paid
5 Cheque
5 Unpaid
5 Unpaid
10 Paid

total = £20

Thanks


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:20 AM.


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