PC Review


Reply
Thread Tools Rate Thread

calculating cells

 
 
Stuart
Guest
Posts: n/a
 
      25th Jun 2008
I am using excel 2003, and trying to work out what is the easiet and best way
to run a a formula. the problem is i have a grading system in a cell which
has 8 ranges. i also have beside this the total manhours calculated for that
grade. the problem is the project is spread over various tasks and
assignments, so multiple grades can be used all over the place.
I am trying to see if there is a way to write a formula which would look up
for just certain grades from the coloumn, and then from that look up the
approiate manhours to give a year total.
Is this possible or is it asking too much of the programme?
 
Reply With Quote
 
 
 
 
Stuart
Guest
Posts: n/a
 
      25th Jun 2008
2009
Title Grade QTR 1 QTR 2 QTR 3 QTR 4
MAINTAINCE E2 5000 2500 1000 500
DEISGN PG1 2500 4000 3600 1500
ESTIMATING E2 1200 1200 1000 1200

This is a example of how the table looks. am trying to see if possible that
a formula can look up the grade coloumn and select the approiate and then for
that grade add up all the total manhours ignoring the rest of the manhours

 
Reply With Quote
 
MartinW
Guest
Posts: n/a
 
      25th Jun 2008
Hi Stuart,

With your sample data in A1 to F4, try this

In B7 put E2
In B8 put PG1

Then put this formula in C7
=SUMPRODUCT(--($B$2:$B$4=$B7)*(C$2:C$4))

Now grab the fill handle and drag it across to F7
Release the fill handle, then grab it again and drag down to F8

Now put this in G7
=SUM(C7:F7)
grab the fill handle and drag it down to G8

See how it works and apply the same principle to your full data.

HTH
Martin


"Stuart" <(E-Mail Removed)> wrote in message
news:39387B86-2A90-4656-913D-(E-Mail Removed)...
> 2009
> Title Grade QTR 1 QTR 2 QTR 3 QTR 4
> MAINTAINCE E2 5000 2500 1000 500
> DEISGN PG1 2500 4000 3600 1500
> ESTIMATING E2 1200 1200 1000 1200
>
> This is a example of how the table looks. am trying to see if possible
> that
> a formula can look up the grade coloumn and select the approiate and then
> for
> that grade add up all the total manhours ignoring the rest of the manhours
>



 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      25th Jun 2008
If you want to sum all the E2 hours for QTR1 column, then try this:

=SUMIF(B2:B20,"E2",C2:C20)

assuming you have 20 rows of data. Copy across for the other quarters.

Is this what you meant?

Hope this helps.

Pete

On Jun 25, 9:46*am, Stuart <Stu...@discussions.microsoft.com> wrote:
> 2009 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** * * * * *
> Title * * * *Grade * * * *QTR 1 *QTR 2 *QTR 3 * QTR4
> MAINTAINCE * *E2 * * * * 5000 * * * * 2500 * * * 1000 * * * * 500
> DEISGN * * * * * PG1 * * * *2500 * * * *4000 * * * *3600 * * * * 1500
> ESTIMATING * *E2 * * * * 1200 * * * * 1200 * * * *1000 * * * *1200
>
> This is a example of how the table looks. am trying to see if possible that
> a formula can look up the grade coloumn and select the approiate and thenfor
> that grade add up all the total manhours ignoring the rest of the manhours


 
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
calculating cells =?Utf-8?B?TG91aXM=?= Microsoft Excel Worksheet Functions 2 8th May 2006 08:58 PM
Calculating cells =?Utf-8?B?VFVOR0FOQSBLVVJNQSBSQUpV?= Microsoft Excel Misc 1 2nd Nov 2005 01:40 PM
Calculating cells. Chip Microsoft Excel Programming 0 3rd Mar 2005 06:31 PM
Calculating Cells mpfree Microsoft Excel Worksheet Functions 2 4th Aug 2004 04:28 PM
Calculating cells Raymond Timmermans Microsoft Excel Worksheet Functions 1 4th Aug 2004 03:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:47 PM.