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 Adding Columns if Criteria Met

I am using a spreadsheet with multiple colums for each period of a year and
having problems adding a Year To Date summary. See Below:


Period 1 Columns: "Actual", "Plan", "Variance"
Period 2 Columns: "Actual", "Plan", "Variance"
.....
....
Period 12 Columns: "Actual", "Plan", "Variance"

Summary =
Year To Date Colums: "Actual", "Plan", "Variance"

Is there a formula I can use that would allow me to reference an input cell
to select the current month (i.e. I can input "8" into Cell "A1" ) and the
Year To Date colums would add only columns for P1 to P8?

Any help would be truly appreciated
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 157
Default Adding Columns if Criteria Met

Assuming you have a column (A) containing the period number, Actual is B,
Plan is C & Variance D.

To sum the Actual column:

=SUMIF(A2:A13,"<=" &A1,B2:B13)

To sum the other columns, replace the references to B with C or D.

--
Ian
--
"JD_Ottawa" wrote in message
...
I am using a spreadsheet with multiple colums for each period of a year and
having problems adding a Year To Date summary. See Below:


Period 1 Columns: "Actual", "Plan", "Variance"
Period 2 Columns: "Actual", "Plan", "Variance"
....
...
Period 12 Columns: "Actual", "Plan", "Variance"

Summary =
Year To Date Colums: "Actual", "Plan", "Variance"

Is there a formula I can use that would allow me to reference an input
cell
to select the current month (i.e. I can input "8" into Cell "A1" ) and the
Year To Date colums would add only columns for P1 to P8?

Any help would be truly appreciated



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
Adding data in columns based on criteria in more than one column.. Setts Excel Worksheet Functions 6 June 21st 08 07:23 AM
adding a 3rd criteria to an IF formula GD Excel Discussion (Misc queries) 4 January 18th 08 04:51 PM
Adding criteria to loop Andyjim Excel Worksheet Functions 0 January 13th 08 08:54 PM
adding value only if criteria is true gerryR Excel Worksheet Functions 3 July 7th 06 11:47 AM
adding up several different criteria s2m via OfficeKB.com Excel Worksheet Functions 2 June 19th 06 04:34 PM


All times are GMT +1. The time now is 04:59 AM.

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"