PC Review


Reply
Thread Tools Rate Thread

Conditional If Statements

 
 
maxcw
Guest
Posts: n/a
 
      23rd Jun 2008

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 With Quote
 
 
 
 
T. Valko
Guest
Posts: n/a
 
      23rd Jun 2008
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> 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 With Quote
 
yshridhar
Guest
Posts: n/a
 
      23rd Jun 2008
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 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
Conditional statements Sue Microsoft Excel Worksheet Functions 1 12th May 2008 10:14 PM
Conditional Statements =?Utf-8?B?Um9iZXJ0IEFsYnJlY2h0?= Microsoft Excel Misc 2 3rd Oct 2006 08:29 PM
IF conditional statements Alex Martinez Microsoft Excel Discussion 2 22nd Aug 2005 07:35 AM
Conditional Statements Brig Siton Microsoft Access Form Coding 3 10th Jul 2005 12:38 PM
help with conditional statements =?Utf-8?B?YWNjY2x0NzE4?= Microsoft Access VBA Modules 1 14th Mar 2005 09:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:57 PM.