Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Conditional If Statements


In column B I have list of values ranging from 1 - 8
Next to it in column C I have a list of costs.

I cant figure out how to total the costs the fall under a particular
value in B

For Example

If a cell in Column B has a value of 2 Add the value of the
corresponding cell in C to the total.

I've included a photo, cause I'm sure I'm making zero sense.

[image: http://img.photobucket.com/albums/v518/maxcw/excel.jpg]




--
maxcw
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional If Statements

Based on your screencap, enter this formula in B10 and copy across as
needed:

=SUMIF($B1:$B6,B9,$C1:$C6)

--
Biff
Microsoft Excel MVP


"maxcw" wrote in message
...

In column B I have list of values ranging from 1 - 8
Next to it in column C I have a list of costs.

I cant figure out how to total the costs the fall under a particular
value in B

For Example

If a cell in Column B has a value of 2 Add the value of the
corresponding cell in C to the total.

I've included a photo, cause I'm sure I'm making zero sense.

[image: http://img.photobucket.com/albums/v518/maxcw/excel.jpg]




--
maxcw



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 229
Default Conditional If Statements

b10=sumif(b1:b6,b9,c1:c6)
copy the formula.
Change the range according to your data.
With regards
Sreedhar

"maxcw" wrote:


In column B I have list of values ranging from 1 - 8
Next to it in column C I have a list of costs.

I cant figure out how to total the costs the fall under a particular
value in B

For Example

If a cell in Column B has a value of 2 Add the value of the
corresponding cell in C to the total.

I've included a photo, cause I'm sure I'm making zero sense.

[image: http://img.photobucket.com/albums/v518/maxcw/excel.jpg]




--
maxcw

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
Conditional statements Sue Excel Worksheet Functions 1 May 12th 08 10:14 PM
Conditional Statements Help! Brian Excel Discussion (Misc queries) 1 April 8th 08 10:08 PM
Conditional statements james Excel Worksheet Functions 9 January 7th 08 03:07 PM
Conditional IF statements sike11 via OfficeKB.com Excel Worksheet Functions 9 January 19th 07 08:15 PM
Conditional Statements Robert Albrecht Excel Discussion (Misc queries) 2 October 3rd 06 08:29 PM


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