PC Review


Reply
Thread Tools Rate Thread

Actions By Day?

 
 
Noob McKnownowt
Guest
Posts: n/a
 
      10th Jan 2009
Hey guys and happy new year,

i am setting up a spread sheet as a kind of sign in/out sheets i.e.


(colA) (colB)
mon | mon
------|-------
am | pm
------|------
in | out
------|-------
06:00 | 18:00

the sheet will look somethin like the above but carrying on for the entire
week, i will hace the sheet count all the instances of certain things i.e.
sickness, holidays, etc. What i would like to know is there a way of getting
excel to perform an operation depending on the day, so only count columns A
and B if today is monday?

any assistance would be very much apprieciated.

cheers

The Noob
 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      10th Jan 2009
It depends on the oranization of your data. Here is a sample of how to
calculate based on day of the week. Say In B1 thru H10 we have:

mon tue wed thu fri sat sun
10 7 6 1 6 0 1
7 0 10 8 0 10 0
10 1 3 4 2 6 1
6 9 2 6 1 6 7
10 8 9 10 2 6 4
5 10 8 3 6 2 5
4 1 0 2 6 9 7
10 8 1 6 5 4 10
7 4 9 4 10 1 6

We want to get the sum of the column for today (sat). In A1 enter:

=CHAR(WEEKDAY(TODAY())+64)
This displays G
which is correct column for today (sat)

In B1 enter:
=SUM(INDIRECT(A1 & ":" & A1))
the displays 44
which the the sum of today's column!

--
Gary''s Student - gsnu200825


"Noob McKnownowt" wrote:

> Hey guys and happy new year,
>
> i am setting up a spread sheet as a kind of sign in/out sheets i.e.
>
>
> (colA) (colB)
> mon | mon
> ------|-------
> am | pm
> ------|------
> in | out
> ------|-------
> 06:00 | 18:00
>
> the sheet will look somethin like the above but carrying on for the entire
> week, i will hace the sheet count all the instances of certain things i.e.
> sickness, holidays, etc. What i would like to know is there a way of getting
> excel to perform an operation depending on the day, so only count columns A
> and B if today is monday?
>
> any assistance would be very much apprieciated.
>
> cheers
>
> The Noob

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
if - then actions N+ Microsoft Excel Programming 5 10th Feb 2008 03:38 PM
Can't Apply Actions Suggested Actions =?Utf-8?B?Q29hZHk=?= Spyware Discussion 6 10th Dec 2006 05:54 PM
Actions between user actions Indiana Epilepsy and Child Neurology Microsoft Excel Programming 5 23rd Aug 2006 09:22 PM
how to log actions =?Utf-8?B?cmljaGFyZCBoYXJyaXM=?= Microsoft Access 1 28th Sep 2005 11:23 AM
actions Dave Microsoft Outlook 1 9th Nov 2003 07:57 PM


Features
 

Advertising
 

Newsgroups
 


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