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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

using fiscal year calculations in a formula



 
 
Thread Tools Display Modes
  #1  
Old November 17th, 2009, 05:34 AM posted to microsoft.public.excel.misc
mePenny
external usenet poster
 
Posts: 44
Default using fiscal year calculations in a formula

I have a fuel intake sheet i have to take care of. I can figure the calendar
year easily but i don't know how to figure in the fiscal year. The book
consists of the following:

date, type of fuel, amount, price (a,b,c,d)

What I need is to find the total of unleaded during the fiscal year plus
total of diesel during fiscal year.

In the calendar year i'm using the formula:
=sumif(b:b,"u",c:c) for unleaded
=sumif(b:b,"d",c:c) for diesel

I'm hoping this isn't too confusing.

Any and all help is truly appreciated.

mePenny
  #2  
Old November 17th, 2009, 07:06 AM posted to microsoft.public.excel.misc
muddan madhu
external usenet poster
 
Posts: 695
Default using fiscal year calculations in a formula

=SUMPRODUCT((YEAR(A1:A100)=2009)*(B1:B100="u")*C1: C100)


On Nov 17, 10:34*am, mePenny
wrote:
I have a fuel intake sheet i have to take care of. I can figure the calendar
year easily but i don't know how to figure in the fiscal year. The book
consists of the following:

date, type of fuel, amount, price (a,b,c,d)

What I need is to find the total of unleaded during the fiscal year plus
total of diesel during fiscal year.

In the calendar year i'm using the formula:
=sumif(b:b,"u",c:c) for unleaded
=sumif(b:b,"d",c:c) for diesel

I'm hoping this isn't too confusing.

Any and all help is truly appreciated.

mePenny


 




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 06:44 PM.


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