Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default multiple conditions

Help pls!
Need a formula to do the following:

if date in range matches date in a cell then sumif function... the
formula doesn't take the if fucntion relating to date in account...

-ellie
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default multiple conditions

More info and before/after examples


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ellie Sarmadi" wrote in message
...
Help pls!
Need a formula to do the following:

if date in range matches date in a cell then sumif function... the
formula doesn't take the if fucntion relating to date in account...

-ellie


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default multiple conditions

Hi,
suppose that your dates are in column A starting in row 2, the amount to be
sum in column B and the day entered for what you want the sum is in cell C1
so in D1 enter

=SUMPRODUCT(--(c1=A2:A100),B2:B100)

change the range to fit your needs

"Ellie Sarmadi" wrote:

Help pls!
Need a formula to do the following:

if date in range matches date in a cell then sumif function... the
formula doesn't take the if fucntion relating to date in account...

-ellie

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default multiple conditions

Hi,

It would help us if you showed us your formula and what you expect it to do.

In general something like will work just fine:

=SUMIF(A1:A19,D1,B1:B19)

where A1:A19 contains dates and D1 has the date you are looking for, then
sume B1:B19 for the rows where A1:A19 = D1.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Ellie Sarmadi" wrote:

Help pls!
Need a formula to do the following:

if date in range matches date in a cell then sumif function... the
formula doesn't take the if fucntion relating to date in account...

-ellie

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
Setting multiple conditions to return a figure from multiple cells Sapper Excel Discussion (Misc queries) 4 April 26th 09 10:33 PM
SUMPRODUCT or INDEX/MATCH for multiple conditions and multiple rec TravisB Excel Discussion (Misc queries) 21 March 16th 07 09:49 PM
How do I add multiple values that match multiple conditions? Joel Excel Discussion (Misc queries) 5 April 10th 06 01:32 PM
Combining Text from multiple cells under multiple conditions KNS Excel Worksheet Functions 2 June 15th 05 11:00 PM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM


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