Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ann ann is offline
external usenet poster
 
Posts: 210
Default if then statement based on another column

i'm trying to use this formula =SUMIF(B1:B200,"<sent",A1:A200)
if column C is one of 4 statements. how do i use both?
for example, if column c is "A" then SUMIF(B1:B200,"<sent",A1:A200)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default if then statement based on another column

I provided you with an answer to this same question 12 minutes before you
repeat-posted here again, in as a new thread. In the future, please stay
with your original thread for follow ups and, by all means, check the
responses you get to your original questions.

Rick

"Ann" wrote in message
...
i'm trying to use this formula =SUMIF(B1:B200,"<sent",A1:A200)
if column C is one of 4 statements. how do i use both?
for example, if column c is "A" then SUMIF(B1:B200,"<sent",A1:A200)


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ann ann is offline
external usenet poster
 
Posts: 210
Default if then statement based on another column

sorry, i messed up. i had already posted your response answered my question,
but then had a follow up. sorry again.

"Rick Rothstein (MVP - VB)" wrote:

I provided you with an answer to this same question 12 minutes before you
repeat-posted here again, in as a new thread. In the future, please stay
with your original thread for follow ups and, by all means, check the
responses you get to your original questions.

Rick

"Ann" wrote in message
...
i'm trying to use this formula =SUMIF(B1:B200,"<sent",A1:A200)
if column C is one of 4 statements. how do i use both?
for example, if column c is "A" then SUMIF(B1:B200,"<sent",A1:A200)



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default if then statement based on another column

Ann,
Maybe SUMPRODUCT is what you want:
=SUMPRODUCT(--(C1:C200="A"),--(B1:B200<"sent"),A1:A200)

HTH,
Paul

--

"Ann" wrote in message
...
i'm trying to use this formula =SUMIF(B1:B200,"<sent",A1:A200)
if column C is one of 4 statements. how do i use both?
for example, if column c is "A" then SUMIF(B1:B200,"<sent",A1:A200)



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ann ann is offline
external usenet poster
 
Posts: 210
Default if then statement based on another column

this helps. another follow up - what if it it's "A" or "B". i can't get the
syntax right.

"PCLIVE" wrote:

Ann,
Maybe SUMPRODUCT is what you want:
=SUMPRODUCT(--(C1:C200="A"),--(B1:B200<"sent"),A1:A200)

HTH,
Paul

--

"Ann" wrote in message
...
i'm trying to use this formula =SUMIF(B1:B200,"<sent",A1:A200)
if column C is one of 4 statements. how do i use both?
for example, if column c is "A" then SUMIF(B1:B200,"<sent",A1:A200)






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default if then statement based on another column

Try this:

=SUMPRODUCT(--(C1:C200="A")+(C1:C200="B"),--(B1:B200<"sent"),A1:A200)

Regards,
Paul

--

"Ann" wrote in message
...
this helps. another follow up - what if it it's "A" or "B". i can't get
the
syntax right.

"PCLIVE" wrote:

Ann,
Maybe SUMPRODUCT is what you want:
=SUMPRODUCT(--(C1:C200="A"),--(B1:B200<"sent"),A1:A200)

HTH,
Paul

--

"Ann" wrote in message
...
i'm trying to use this formula =SUMIF(B1:B200,"<sent",A1:A200)
if column C is one of 4 statements. how do i use both?
for example, if column c is "A" then SUMIF(B1:B200,"<sent",A1:A200)






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ann ann is offline
external usenet poster
 
Posts: 210
Default if then statement based on another column

this works, thanks!

"PCLIVE" wrote:

Try this:

=SUMPRODUCT(--(C1:C200="A")+(C1:C200="B"),--(B1:B200<"sent"),A1:A200)

Regards,
Paul

--

"Ann" wrote in message
...
this helps. another follow up - what if it it's "A" or "B". i can't get
the
syntax right.

"PCLIVE" wrote:

Ann,
Maybe SUMPRODUCT is what you want:
=SUMPRODUCT(--(C1:C200="A"),--(B1:B200<"sent"),A1:A200)

HTH,
Paul

--

"Ann" wrote in message
...
i'm trying to use this formula =SUMIF(B1:B200,"<sent",A1:A200)
if column C is one of 4 statements. how do i use both?
for example, if column c is "A" then SUMIF(B1:B200,"<sent",A1:A200)






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
Multiple If Then Statement based on ranges Multiple If, Then statements Excel Worksheet Functions 5 November 18th 09 07:08 PM
MSGBox based on If Statement tony Excel Discussion (Misc queries) 2 February 9th 07 06:40 PM
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
If Statement based on blank fields alaxmen Excel Worksheet Functions 3 February 8th 06 08:00 PM
Msgbox based on If statement Neil Jimack Excel Worksheet Functions 2 May 11th 05 11:22 PM


All times are GMT +1. The time now is 05:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"