Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Jovetta
 
Posts: n/a
Default extracting totals from within a spreadsheet

I need to know how to take different information from within a spreadsheet
--where two conditions/catogories must apply so that a third column where i
have inputed hours, will total for those conditions only... can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Bernard Liengme
 
Posts: n/a
Default extracting totals from within a spreadsheet

Please spell out what you want we are not mind readers
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Jovetta" wrote in message
...
I need to know how to take different information from within a spreadsheet
--where two conditions/catogories must apply so that a third column where
i
have inputed hours, will total for those conditions only... can anyone
help?



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default extracting totals from within a spreadsheet

=SUMPRODUCT(--(A2:A50="x"),--(B2:B50="y"),C2:C50)

will sum C2;C50 where A2:A50 is "x" AND B2:B50 is "y"

adapt to fit your requirements

if you have excel hours you might want to use a custom format of [hh]:mm or
else it will start anew after 24:00


--

Regards,

Peo Sjoblom

"Jovetta" wrote in message
...
I need to know how to take different information from within a spreadsheet
--where two conditions/catogories must apply so that a third column where

i
have inputed hours, will total for those conditions only... can anyone

help?


  #4   Report Post  
Posted to microsoft.public.excel.newusers
Jovetta
 
Posts: n/a
Default extracting totals from within a spreadsheet

I am still confused.

i will try to explain it this way.
If column C is true
and column E is true
and column D is true
then i want the total of column C and and a total for column D

Does that help?


"Peo Sjoblom" wrote:

=SUMPRODUCT(--(A2:A50="x"),--(B2:B50="y"),C2:C50)

will sum C2;C50 where A2:A50 is "x" AND B2:B50 is "y"

adapt to fit your requirements

if you have excel hours you might want to use a custom format of [hh]:mm or
else it will start anew after 24:00


--

Regards,

Peo Sjoblom

"Jovetta" wrote in message
...
I need to know how to take different information from within a spreadsheet
--where two conditions/catogories must apply so that a third column where

i
have inputed hours, will total for those conditions only... can anyone

help?



  #5   Report Post  
Posted to microsoft.public.excel.newusers
LeAnne
 
Posts: n/a
Default extracting totals from within a spreadsheet

Jovetta,

See inline.

Jovetta wrote:
I am still confused.

i will try to explain it this way.
If column C is true
and column E is true
and column D is true,


If I understand you correctly (& I'm not at all sure that I do), you're
trying to apply some kind of conditional formula: IF(<some condition is
true, <value or action if true, <value or action if false).
It appears that you have multiple conditions to apply. If this is
correct, look up IF(), AND(), and OR()functions in Help. Use IF(AND())
if ALL conditions must be met; use IF(OR()) if ANY condition may be met.

then i want the total of column C and and a total for column D


This is confusing. Do you mean you want to SUM the amount in each
column? Or sum the totals from each column? Or most probably, do you
want to sum the amount in column C, row x, plus the amount in column D,
row x and show the results in, say, column Q, row x?

I suspect this is an action that you will want to perform multiple
times, varying the criteria each time. In that case, you might want to
link your spreadsheet to MS Access and build your query there, or use
the MS Query Wizard (PS. MS Query comes bundled with Excel as an
optional feature; you may need to install it).

LeAnne
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
Using Excel spreadsheet as input to Access dougb415 Excel Discussion (Misc queries) 0 September 22nd 05 02:33 PM
Spreadsheet merging problems Sam B Excel Worksheet Functions 0 September 19th 05 08:05 PM
Linkage data between two spreadsheet vitality Excel Worksheet Functions 2 September 15th 05 06:49 AM
Delay to startup excel spreadsheet Gee Excel Worksheet Functions 2 August 2nd 05 07:30 PM
Using multiple spreadsheet for different information Urgent Setting up and Configuration of Excel 1 January 6th 05 10:25 PM


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