Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Conditional IF statement

I was hoping someone could help me figure out how to
create a special conditional IF statement.

What I would like is to put in cell C1 the sum of all
cells from A8 down but only if the ajoining cell [B8
down] contains a specific word.

Example:
Column A8 down contains 300 different figures currently
with the B8 down column containing 5 different supplier
names making up the 300 adjoining cells.

So in other words C1 would have the sum of 80 A cells
that have adjoining B cells that contain the supplier
name "BOB"

I hope I described well enough to understand.
Thanks in advance

Rick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Conditional IF statement

Try this formula
=SUMIF(B8:B308,"BOB",A8:A308)

Geoff

"Rick" wrote in message
...
I was hoping someone could help me figure out how to
create a special conditional IF statement.

What I would like is to put in cell C1 the sum of all
cells from A8 down but only if the ajoining cell [B8
down] contains a specific word.

Example:
Column A8 down contains 300 different figures currently
with the B8 down column containing 5 different supplier
names making up the 300 adjoining cells.

So in other words C1 would have the sum of 80 A cells
that have adjoining B cells that contain the supplier
name "BOB"

I hope I described well enough to understand.
Thanks in advance

Rick



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Conditional IF statement

Thank you Geoff, that worked great

Rick
-----Original Message-----
Try this formula
=SUMIF(B8:B308,"BOB",A8:A308)

Geoff

"Rick" wrote in message
...
I was hoping someone could help me figure out how to
create a special conditional IF statement.

What I would like is to put in cell C1 the sum of all
cells from A8 down but only if the ajoining cell [B8
down] contains a specific word.

Example:
Column A8 down contains 300 different figures currently
with the B8 down column containing 5 different supplier
names making up the 300 adjoining cells.

So in other words C1 would have the sum of 80 A cells
that have adjoining B cells that contain the supplier
name "BOB"

I hope I described well enough to understand.
Thanks in advance

Rick



.

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 if statement scott Excel Worksheet Functions 1 September 8th 08 12:36 PM
Conditional If Statement Moz Excel Discussion (Misc queries) 2 December 1st 07 04:36 PM
Conditional Statement lbraddock Excel Worksheet Functions 0 July 16th 07 10:16 PM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
conditional statement mjstizzle New Users to Excel 1 June 29th 05 05:18 PM


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