Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default Adding numbers based on Range

In the C column I have categories and in the J column I have Hours

Is there a formula to where I can look up the category "Library" in C and
add only those numbers in column J?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Adding numbers based on Range

=SUMPRODUCT(--(C1:C10="Library"),(J1:J10))

--
Gary''s Student - gsnu200857
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Adding numbers based on Range

Hi,

SUMIF($C$1:$C$100,"Library",$J$1:$J$100)
or enter Library in A1 and use
SUMIF($C$1:$C$100,A1,$J$1:$J$100)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Carla" wrote:

In the C column I have categories and in the J column I have Hours

Is there a formula to where I can look up the category "Library" in C and
add only those numbers in column J?

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
Adding variable range of numbers mwavra Excel Worksheet Functions 6 October 16th 08 04:58 PM
Adding numbers based on date Dyanna Excel Worksheet Functions 2 August 27th 08 06:38 PM
Adding a range of numbers associated with various dates missin44 Excel Discussion (Misc queries) 3 January 18th 07 03:31 PM
Adding certain numbers based on... Rich D Excel Discussion (Misc queries) 1 December 9th 06 07:16 AM
Adding numbers in cells based on colour Draccusfly Excel Worksheet Functions 1 September 1st 06 04:05 PM


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