#1   Report Post  
Junior Member
 
Posts: 2
Default Formula Help

I am trying to get this formula to work.

=IF($B$2="",SUMIFS('Revenue Data'!$E$2:$E$2426,'Revenue Data'!$N$2:$N$2426,'Total Summary'!$B21,'Revenue Data'!$J$2:$J$2426,'Total Summary'!D$19,'Revenue Data'!$K$2:$K$2426,'Total Summary'!$D$18:$F$18,'Revenue Data'!$G$2:$G$2426,'Total Summary'!$B$3),IF($B$3="",SUMIFS('Revenue Data'!$E$2:$E$2426,'Revenue Data'!$N$2:$N$2426,'Total Summary'!$B21,'Revenue Data'!$J$2:$J$2426,'Total Summary'!D$19,'Revenue Data'!$K$2:$K$2426,'Total Summary'!$D$18:$F$18,'Revenue Data'!$F$2:$F$2426,'Total Summary'!$B$2),SUMIFS('Revenue Data'!$E$2:$E$2426,'Revenue Data'!$N$2:$N$2426,'Total Summary'!$B21,'Revenue Data'!$J$2:$J$2426,'Total Summary'!D$19,'Revenue Data'!$K$2:$K$2426,'Total Summary'!$D$18:$F$18)))

It is returning an answer of zero which is not correct...I can't figure out if I need to add and "AND" or an "OR" in here... Any thoughts?
  #2   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by tj123001 View Post
I am trying to get this formula to work.

=IF($B$2="",SUMIFS('Revenue Data'!$E$2:$E$2426,'Revenue Data'!$N$2:$N$2426,'Total Summary'!$B21,'Revenue Data'!$J$2:$J$2426,'Total Summary'!D$19,'Revenue Data'!$K$2:$K$2426,'Total Summary'!$D$18:$F$18,'Revenue Data'!$G$2:$G$2426,'Total Summary'!$B$3),IF($B$3="",SUMIFS('Revenue Data'!$E$2:$E$2426,'Revenue Data'!$N$2:$N$2426,'Total Summary'!$B21,'Revenue Data'!$J$2:$J$2426,'Total Summary'!D$19,'Revenue Data'!$K$2:$K$2426,'Total Summary'!$D$18:$F$18,'Revenue Data'!$F$2:$F$2426,'Total Summary'!$B$2),SUMIFS('Revenue Data'!$E$2:$E$2426,'Revenue Data'!$N$2:$N$2426,'Total Summary'!$B21,'Revenue Data'!$J$2:$J$2426,'Total Summary'!D$19,'Revenue Data'!$K$2:$K$2426,'Total Summary'!$D$18:$F$18)))

It is returning an answer of zero which is not correct...I can't figure out if I need to add and "AND" or an "OR" in here... Any thoughts?
Never Mind I figured it out. The order was not allowing the formula to calculated correctly!! Yea!
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 524
Default Formula Help

On Fri, 15 Feb 2013 05:31:43 +0000, tj123001 wrote:

I am trying to get this formula to work.

=IF($B$2="",SUMIFS('Revenue Data'!$E$2:$E$2426,'Revenue
Data'!$N$2:$N$2426,'Total Summary'!$B21,'Revenue
Data'!$J$2:$J$2426,'Total Summary'!D$19,'Revenue
Data'!$K$2:$K$2426,'Total Summary'!$D$18:$F$18,'Revenue
Data'!$G$2:$G$2426,'Total Summary'!$B$3),IF($B$3="",SUMIFS('Revenue
Data'!$E$2:$E$2426,'Revenue Data'!$N$2:$N$2426,'Total
Summary'!$B21,'Revenue Data'!$J$2:$J$2426,'Total Summary'!D$19,'Revenue
Data'!$K$2:$K$2426,'Total Summary'!$D$18:$F$18,'Revenue
Data'!$F$2:$F$2426,'Total Summary'!$B$2),SUMIFS('Revenue
Data'!$E$2:$E$2426,'Revenue Data'!$N$2:$N$2426,'Total
Summary'!$B21,'Revenue Data'!$J$2:$J$2426,'Total Summary'!D$19,'Revenue
Data'!$K$2:$K$2426,'Total Summary'!$D$18:$F$18)))

It is returning an answer of zero which is not correct...I can't figure
out if I need to add and "AND" or an "OR" in here... Any thoughts?


Yes, but this is a family newsgroup so I can't write them down.

Seriously, two words: helper cells. When a formula is too complex
for its author to understand, you should break it into sub-formulas
in a couple of cells so that you can figure out what's going on.


--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Shikata ga nai...
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
Formula autofill to cells below – formula arguments are cell areas in different columns [email protected] Excel Discussion (Misc queries) 1 September 7th 12 09:15 PM
Build formula using field values as text in the formula referencing another workbook solardirect Links and Linking in Excel 6 June 4th 12 10:47 PM
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula PJ[_3_] Excel Worksheet Functions 2 June 2nd 10 03:45 PM
Formula expected end of statement error, typing formula into cell as part of VBA macro [email protected] Excel Programming 1 July 20th 06 07:58 PM
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 05:42 PM.

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

About Us

"It's about Microsoft Excel"