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 sumif with two conditions,current financial year date

I want to sum a range F1:F1000,if range A1:A1000 ="John" and date range B1:
B1000 =current financial year date(financial year is 1stApril to 31stMarch)
Name(colA)--------Date(ColB)---------------Amount(Col F)
John---------24-Jan-09--------------------------200
Mary--------30-Jan-09---------------------------100
Lucy--------02-Mar-09---------------------------180
John-------04-Apr-09-----------------------------300
Lucy------21-Apr-09------------------------------150
John-------23-May-09----------------------------500
Lucy------25-Jun-09-----------------------------100

I need funtion to sum John's Current year total Amout value,inthis case the
total is 800

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200907/1

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default sumif with two conditions,current financial year date

Hi,

If you are using 2007 then

=SUMIFS(F1:F1000,A1:A1000,"John",B1:B1000,"="&M1, B1:B1000,"<="&M2)

This illustrates how to reference the cell for the start and end of the
fiscal year. If you just reference the cell without the "-"& part you will
be testing two dates, no a range of dates onless you enter the date as text
entries:

=4/1/09

<=3/31/10


Otherwise in 2003 and earlier:

=SUMPRODUCT(--(A1:A1000="John"),--(B1:B1000=DATE(2009,4,1)),--(B1:B1000<=DATE(2010,3,31),F1:F1000)

This illustrates another method of referenceing the dates.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"tkraju" wrote:

I want to sum a range F1:F1000,if range A1:A1000 ="John" and date range B1:
B1000 =current financial year date(financial year is 1stApril to 31stMarch)
Name(colA)--------Date(ColB)---------------Amount(Col F)
John---------24-Jan-09--------------------------200
Mary--------30-Jan-09---------------------------100
Lucy--------02-Mar-09---------------------------180
John-------04-Apr-09-----------------------------300
Lucy------21-Apr-09------------------------------150
John-------23-May-09----------------------------500
Lucy------25-Jun-09-----------------------------100

I need funtion to sum John's Current year total Amout value,inthis case the
total is 800

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200907/1


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default sumif with two conditions,current financial year date

thank you

Don Guillett wrote:
Try this idea where your desired date are in d1 & d2
=sumproduct((b1:b11=d1)*(b1:b11<d2)*(a1:a11="joh n")*f1:f11)

I want to sum a range F1:F1000,if range A1:A1000 ="John" and date range B1:
B1000 =current financial year date(financial year is 1stApril to

[quoted text clipped - 11 lines]
the
total is 800


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200907/1

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default sumif with two conditions,current financial year date

thank you its working perfectly
Shane Devenshire wrote:
Hi,

If you are using 2007 then

=SUMIFS(F1:F1000,A1:A1000,"John",B1:B1000,"="&M1 ,B1:B1000,"<="&M2)

This illustrates how to reference the cell for the start and end of the
fiscal year. If you just reference the cell without the "-"& part you will
be testing two dates, no a range of dates onless you enter the date as text
entries:

=4/1/09

<=3/31/10

Otherwise in 2003 and earlier:

=SUMPRODUCT(--(A1:A1000="John"),--(B1:B1000=DATE(2009,4,1)),--(B1:B1000<=DATE(2010,3,31),F1:F1000)

This illustrates another method of referenceing the dates.
I want to sum a range F1:F1000,if range A1:A1000 ="John" and date range B1:
B1000 =current financial year date(financial year is 1stApril to 31stMarch)

[quoted text clipped - 9 lines]
I need funtion to sum John's Current year total Amout value,inthis case the
total is 800


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200907/1

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
sum a range based on current financial year and client id tkraju via OfficeKB.com Excel Discussion (Misc queries) 3 July 5th 09 05:40 AM
How do I get Excel to display which financial year a date is in? LemLems Excel Worksheet Functions 5 October 31st 08 11:14 AM
Using SUMIF for a financial value AND a DATE spudsnruf Excel Discussion (Misc queries) 9 February 29th 08 05:38 PM
How to convert date to financial year format 2006-07 Yog Raj Excel Worksheet Functions 4 May 19th 07 07:45 AM
How to compare a date with financial year TUNGANA KURMA RAJU Excel Discussion (Misc queries) 3 March 31st 07 12:08 PM


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