Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Based on data in previous column - sum of values in next column

Hi,
In my xls file
Col A1 to Col A10 = text data ( Project Types )
Col B1 to Col B10 = Numbers (Resource count in that project)
Col C1 to Col C3 = Need formula which calculates no of resources per project
type.
Project Name Project Type Resource count Col C
Project 1 Development 9 in this col need
Project 2 Maintenance 2 count of resources
Project 3 Testing 2 in Dev
projects
Project 4 Development 4 then
maintenance etc
Project 5 Development 5


Thanks in advance
Cordially
Beena K

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 248
Default Based on data in previous column - sum of values in next column

With project type in Col B and resource count in Col C
this will give you the sum
=SUMPRODUCT(--(B1:B100="Dev"),C1:C100)

You can replace "Dev" with reference to the cell (say D1) containing the
desired project type...
like
=SUMPRODUCT(--(B1:B100=D1),C1:C100)
-------------------------------------
Pl. click ''''Yes'''' if this was helpful...



"Beena K" wrote:

Hi,
In my xls file
Col A1 to Col A10 = text data ( Project Types )
Col B1 to Col B10 = Numbers (Resource count in that project)
Col C1 to Col C3 = Need formula which calculates no of resources per project
type.
Project Name Project Type Resource count Col C
Project 1 Development 9 in this col need
Project 2 Maintenance 2 count of resources
Project 3 Testing 2 in Dev
projects
Project 4 Development 4 then
maintenance etc
Project 5 Development 5


Thanks in advance
Cordially
Beena K

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
Shortcut to select column with data in previous column TJAC Excel Discussion (Misc queries) 1 July 10th 07 06:12 PM
Formula: values in one column based on corresponding data Legal-Time-Guy New Users to Excel 1 July 6th 07 12:36 AM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
Text to column and selecting values based on a different column torooo Excel Worksheet Functions 5 October 21st 06 03:35 PM
Can you average data in 1 column based on a range of values in another? kman24 Excel Worksheet Functions 2 November 17th 04 02:09 PM


All times are GMT +1. The time now is 01:12 AM.

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"