#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default Sum if question

Is there a formula I can use that says if A:A = 408 409, 410, 411, 412 or 415
then put the contents of C:C in column D?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Sum if question

Put this in D1 and fill down as needed: =IF(OR(A1=408, A1=409,
A1=410...A1=415),C1,"")

Dave
--
Brevity is the soul of wit.


"Karen Smith" wrote:

Is there a formula I can use that says if A:A = 408 409, 410, 411, 412 or 415
then put the contents of C:C in column D?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Sum if question

This will total the c range if the A range(which cannot be a:a) = aa or bb.
Does that help?

=SUMPRODUCT((A9:A19={"aa","bb"})*C9:C19)

--
Don Guillett
SalesAid Software

"Karen Smith" wrote in message
...
Is there a formula I can use that says if A:A = 408 409, 410, 411, 412 or
415
then put the contents of C:C in column D?



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
Possibly a loaded question, but I think mileslit Excel Discussion (Misc queries) 1 September 10th 05 01:18 AM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
Newbie With A Question Michael Excel Worksheet Functions 0 July 28th 05 11:50 PM
Anybody Help with previous question Anthony Excel Discussion (Misc queries) 1 July 26th 05 01:26 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM


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