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

sumif formula



 
 
Thread Tools Display Modes
  #1  
Old April 29th, 2010, 02:49 PM posted to microsoft.public.excel.worksheet.functions
Vince
external usenet poster
 
Posts: 191
Default sumif formula

I have a summary sheet and a detail sheet. On the summary sheet I am trying
to sum columns (E - O) from the detail sheet that are less than or equal to a
date for a specific account in column A on the detail sheet. The problem
is that I do not know the row that the account falls on. So far I have
SUMIF(Budget_Cons!$E$4:$O$4,""&"="month,OFFSET(E4 ,MATCH($A9,A:A,0),0))

Thanks for your help!
  #2  
Old April 29th, 2010, 03:46 PM posted to microsoft.public.excel.worksheet.functions
Steve Dunn
external usenet poster
 
Posts: 192
Default sumif formula

Do columns E-O actually contain dates, month numbers, or something else, and
should we be summing them, or just counting them? Locating the account to
work with is the least of the problems here.


Taking your requirements as you've described them:

=SUMIF(OFFSET(Budget_Cons!$E$4:$O$4,MATCH(E4,Budge t_Cons!$A$4:$A$100,0)-1,0),"="&month)

would work.



"Vince" wrote in message
...
I have a summary sheet and a detail sheet. On the summary sheet I am
trying
to sum columns (E - O) from the detail sheet that are less than or equal
to a
date for a specific account in column A on the detail sheet. The problem
is that I do not know the row that the account falls on. So far I have
SUMIF(Budget_Cons!$E$4:$O$4,""&"="month,OFFSET(E4 ,MATCH($A9,A:A,0),0))

Thanks for your help!


  #3  
Old April 29th, 2010, 03:47 PM posted to microsoft.public.excel.worksheet.functions
Luke M[_4_]
external usenet poster
 
Posts: 451
Default sumif formula

=SUMIF(Budget_Cons!$E$4:$O$4,"="&MONTH(OFFSET(E4, MATCH($A9,A:A,0),)))

This will sum everything in E4:O4 that is less than the month of the date
found by the OFFSET function. Presumably, you'll actually want to sum
another range, something like:

=SUMIF(Budget_Cons!$E$4:$O$4,"="&MONTH(OFFSET(E4, MATCH($A9,A:A,0),)),Range_to_Sum)



--
Best Regards,

Luke M
"Vince" wrote in message
...
I have a summary sheet and a detail sheet. On the summary sheet I am
trying
to sum columns (E - O) from the detail sheet that are less than or equal
to a
date for a specific account in column A on the detail sheet. The problem
is that I do not know the row that the account falls on. So far I have
SUMIF(Budget_Cons!$E$4:$O$4,""&"="month,OFFSET(E4 ,MATCH($A9,A:A,0),0))

Thanks for your help!



 




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 12:04 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.