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 Sum of every 6th column and recurring

Hi, I have a spreadsheet divided into 52 weeks across the columns. Each week
has 5 individual columns. Rows go to about 100, one for each employee.
Starting with week 1, Employee 1, I insert values (timesheet hours) into each
of the 5 individual columns. As the weeks go by I would like to have a
running total of the values in column 1 for each week, column 2 for each week
and so on. Can I set up a formula to get the SUM of every 6th column
recurring 52 times without me having to do it manually i.e. click every 6th
column 52 times in my formula? Thanks in advance! Pierian Spring
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Sum of every 6th column and recurring

Bob, many thanks - works like dream. I spent many hours yesterday trying to
crack without success. You've made life a little easier for a guy in Co.
Clare in Ireland. Cheers!

"Bob Phillips" wrote:

=SUMPRODUCT(--(MOD(COLUMN(A1:AZ1),6)=2),A1:AZ1)

This sums B, H, etc. Modify =2 if you want different columns

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Pierian Spring" <Pierian wrote in message
...
Hi, I have a spreadsheet divided into 52 weeks across the columns. Each
week
has 5 individual columns. Rows go to about 100, one for each employee.
Starting with week 1, Employee 1, I insert values (timesheet hours) into
each
of the 5 individual columns. As the weeks go by I would like to have a
running total of the values in column 1 for each week, column 2 for each
week
and so on. Can I set up a formula to get the SUM of every 6th column
recurring 52 times without me having to do it manually i.e. click every
6th
column 52 times in my formula? Thanks in advance! Pierian Spring




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Sum of every 6th column and recurring

You might also want to experiment with a worksheet structured with three
columns:
employee,
date,
hours

and then entering all of the hours down the sheet

Using that structure you can then make use of a pivot table to generate
reports by week, month, or other period.


"Pierian Spring" wrote:

Bob, many thanks - works like dream. I spent many hours yesterday trying to
crack without success. You've made life a little easier for a guy in Co.
Clare in Ireland. Cheers!

"Bob Phillips" wrote:

=SUMPRODUCT(--(MOD(COLUMN(A1:AZ1),6)=2),A1:AZ1)

This sums B, H, etc. Modify =2 if you want different columns

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Pierian Spring" <Pierian wrote in message
...
Hi, I have a spreadsheet divided into 52 weeks across the columns. Each
week
has 5 individual columns. Rows go to about 100, one for each employee.
Starting with week 1, Employee 1, I insert values (timesheet hours) into
each
of the 5 individual columns. As the weeks go by I would like to have a
running total of the values in column 1 for each week, column 2 for each
week
and so on. Can I set up a formula to get the SUM of every 6th column
recurring 52 times without me having to do it manually i.e. click every
6th
column 52 times in my formula? Thanks in advance! Pierian Spring




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
how do i count how many times x in column a = 1 or 2 in column b Tony the Bajan Excel Worksheet Functions 8 October 9th 06 10:20 PM
Recurring monthly payment Dr. Zhivago Excel Discussion (Misc queries) 3 August 29th 06 04:52 AM
how to catch the second or more cell with vlookup Valley Excel Worksheet Functions 8 April 24th 06 12:02 AM
count duplicate records in a group Mparekh Excel Worksheet Functions 4 December 21st 05 02:10 PM


All times are GMT +1. The time now is 10:35 PM.

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"