#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 457
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!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
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!


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
SUMIF Formula JKVA Excel Worksheet Functions 7 December 2nd 09 05:59 PM
SumIf formula BarbS via OfficeKB.com Excel Worksheet Functions 1 November 16th 08 07:36 PM
Nesting a sumproduct formula within a sumif formula. jerrymcm Excel Discussion (Misc queries) 2 October 3rd 07 03:35 PM
multiply formula where 1 cell has a (sumif) formula as a result kcip Excel Worksheet Functions 1 May 3rd 07 07:41 AM
Is there a MAXIF formula similar to the SUMIF formula? tlc Excel Discussion (Misc queries) 2 March 13th 06 08:07 PM


All times are GMT +1. The time now is 05:01 AM.

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"