Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
redb
 
Posts: n/a
Default formula (perhaps sumif?)

Hi! In my workbook:
Column A = the days of the week - Monday, Tuesday, etc. (but Monday may be
listed from A1:A10, and Tuesday from A11:A15)
Column B = Date (of Monday, Tuesday, etc)
Column C = Job Titles (text)
Range D:T contain numerical values

I want to write a formula that sums all the values in column D that also
contain Monday in column A and a specific value in column C. Is there any
formula out there that would accomplish this? I've tried SUMIF, but it isn't
working for me; I may be writing it wrong. Any ideas?
  #2   Report Post  
bj
 
Posts: n/a
Default

many people use sumproduct in this type of problem
=sumproduct(--(A1:A1000="Monday"),--(C1:C1000=criteria),D1:D1000)
the arrays in each section must be the same size but can't be the shorthand
for full columns [A:A wont work]
the --() makes the logic true false become numeric 1 0

"redb" wrote:

Hi! In my workbook:
Column A = the days of the week - Monday, Tuesday, etc. (but Monday may be
listed from A1:A10, and Tuesday from A11:A15)
Column B = Date (of Monday, Tuesday, etc)
Column C = Job Titles (text)
Range D:T contain numerical values

I want to write a formula that sums all the values in column D that also
contain Monday in column A and a specific value in column C. Is there any
formula out there that would accomplish this? I've tried SUMIF, but it isn't
working for me; I may be writing it wrong. Any ideas?

  #3   Report Post  
PeterAtherton
 
Posts: n/a
Default



"redb" wrote:

Hi! In my workbook:
Column A = the days of the week - Monday, Tuesday, etc. (but Monday may be
listed from A1:A10, and Tuesday from A11:A15)
Column B = Date (of Monday, Tuesday, etc)
Column C = Job Titles (text)
Range D:T contain numerical values

I want to write a formula that sums all the values in column D that also
contain Monday in column A and a specific value in column C. Is there any
formula out there that would accomplish this? I've tried SUMIF, but it isn't
working for me; I may be writing it wrong. Any ideas?


Try something like


=SUMPRODUCT(--($A$1:$A$18="Mon")*($C$1:$C$18=C1)*($D$1:$D$18))

Peter

  #4   Report Post  
BenjieLop
 
Posts: n/a
Default


redb Wrote:
Hi! In my workbook:
Column A = the days of the week - Monday, Tuesday, etc. (but Monday
may be
listed from A1:A10, and Tuesday from A11:A15)
Column B = Date (of Monday, Tuesday, etc)
Column C = Job Titles (text)
Range D:T contain numerical values

I want to write a formula that sums all the values in column D that
also
contain Monday in column A and a specific value in column C. Is there
any
formula out there that would accomplish this? I've tried SUMIF, but it
isn't
working for me; I may be writing it wrong. Any ideas?


Try this ...

*=sumproduct((A1:A100="Monday")*(C1:C100="whatever specific value you
choose")*(D1:D100))*


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=472562

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
Formula help - sumif (possibly) Betsey Excel Discussion (Misc queries) 1 September 6th 05 09:25 PM
Modify SumIF... Array Formula carl Excel Worksheet Functions 2 May 17th 05 07:52 PM
Standard sumif formula not recognised Loan Excel Worksheet Functions 2 March 24th 05 05:26 AM
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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