Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ledzepe
 
Posts: n/a
Default Sum of 6 moving cells


Good day to all,

Sheet1: Column A is the date (from Jan 1, 2005 to the current date),
Col B contains the hours worked on that date and Col C is hours worked
for the last 12 days.

I manually type in the hours worked everyday on Col B and there is a
formula on Col C to add the last 12 days. There's about 45 units that I
keep track of the hours worked.

How can I show on a summary sheet, the hours worked of each unit as of
yesterday? My problem is that the cell that totals the last 12 days
moves down one cell everyday.


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile: http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=495556

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Sum of 6 moving cells

Where are units identified, and does this mean that you might work on
multiple units on the same day, that is multiple rows for a date?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"ledzepe" wrote in
message ...

Good day to all,

Sheet1: Column A is the date (from Jan 1, 2005 to the current date),
Col B contains the hours worked on that date and Col C is hours worked
for the last 12 days.

I manually type in the hours worked everyday on Col B and there is a
formula on Col C to add the last 12 days. There's about 45 units that I
keep track of the hours worked.

How can I show on a summary sheet, the hours worked of each unit as of
yesterday? My problem is that the cell that totals the last 12 days
moves down one cell everyday.


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile:

http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=495556



  #3   Report Post  
Posted to microsoft.public.excel.misc
ledzepe
 
Posts: n/a
Default Sum of 6 moving cells


Oh... each unit have their own sheet, example unit 1 is identified as
sheet "Unit1", and so on...


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile: http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=495556

  #4   Report Post  
Posted to microsoft.public.excel.misc
JR
 
Posts: n/a
Default Sum of 6 moving cells

You could do this... in column A, on the same row that has your 12 day total,
type something like "Unit 1 total". On your summary page, type the same
title and then use a VLOOKUP, or a SUMIF to bring the total over to the
summary. Since you are inserting cells (or rows) don't lock the arrays in
the formulas and they will pick up the total line as it moves down the page.

"ledzepe" wrote:


Oh... each unit have their own sheet, example unit 1 is identified as
sheet "Unit1", and so on...


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile: http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=495556


  #5   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Sum of 6 moving cells

Does this work for you?

=SUMPRODUCT(--('Unit 1'!A2:A500<=TODAY()-1),--('Unit 1'!B2:B500))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ledzepe" wrote in
message ...

Oh... each unit have their own sheet, example unit 1 is identified as
sheet "Unit1", and so on...


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile:

http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=495556





  #6   Report Post  
Posted to microsoft.public.excel.misc
ledzepe
 
Posts: n/a
Default Sum of 6 moving cells


I've got it.

For every sheet, I need to make a formula:
=VLOOKUP((TODAY()-1),$A$2:$C$30, 2) for today minus 1.

Next cell:
=VLOOKUP((TODAY()-2),$A$2:$C$30, 2) for today minus 2

and so on until today minus 12.

I then get the sum of the 12 cells and wah lah, I've got the hour
worked on one summary sheet. THANKS...


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile: http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=495556

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
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
moving cells based certain value Rose Davis New Users to Excel 1 August 29th 05 09:53 PM
requires that merged cells must be identically sized? Catt Excel Discussion (Misc queries) 11 July 3rd 05 12:36 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
instead of moving cells my arrow keys scroll the page dgray Excel Discussion (Misc queries) 2 December 22nd 04 02:01 PM


All times are GMT +1. The time now is 03:37 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"