#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Help

This function adds everything in the column L2:L20. I only want to add if
the both conditions are met and if not then do not add the amount.

=SUM(IF(Time!B2:B20="F-10 CWE",IF(Time!C2:C20="L-02 SICK",Time!L2:L20)))

thanks,
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default Help

Hi, try this

=somarproduto(--(Time!b2:b2="F-10 CWE")*(Time!C2:C20="L-02
SICK")*(TIME!L2:L20))

hth
regards from Brazil
Marcelo


"Fnipp" escreveu:

This function adds everything in the column L2:L20. I only want to add if
the both conditions are met and if not then do not add the amount.

=SUM(IF(Time!B2:B20="F-10 CWE",IF(Time!C2:C20="L-02 SICK",Time!L2:L20)))

thanks,

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Help

Try this:

=SUMPRODUCT(--(Time!B2:B20="F-10 CWE"),--(Time!C2:C20="L-02
SICK"),(Time!L2:L20))

HTH,
Elkar

"Fnipp" wrote:

This function adds everything in the column L2:L20. I only want to add if
the both conditions are met and if not then do not add the amount.

=SUM(IF(Time!B2:B20="F-10 CWE",IF(Time!C2:C20="L-02 SICK",Time!L2:L20)))

thanks,

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Help

thanks for the reply but I get this with the formula you suggested.

#NAME?


"Marcelo" wrote:

Hi, try this

=somarproduto(--(Time!b2:b2="F-10 CWE")*(Time!C2:C20="L-02
SICK")*(TIME!L2:L20))

hth
regards from Brazil
Marcelo


"Fnipp" escreveu:

This function adds everything in the column L2:L20. I only want to add if
the both conditions are met and if not then do not add the amount.

=SUM(IF(Time!B2:B20="F-10 CWE",IF(Time!C2:C20="L-02 SICK",Time!L2:L20)))

thanks,

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default Help

sorry i type in Portuguese is sumproduct

reagards

"Marcelo" escreveu:

Hi, try this

=somarproduto(--(Time!b2:b2="F-10 CWE")*(Time!C2:C20="L-02
SICK")*(TIME!L2:L20))

hth
regards from Brazil
Marcelo


"Fnipp" escreveu:

This function adds everything in the column L2:L20. I only want to add if
the both conditions are met and if not then do not add the amount.

=SUM(IF(Time!B2:B20="F-10 CWE",IF(Time!C2:C20="L-02 SICK",Time!L2:L20)))

thanks,



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Help

it still adds everything in column L2:l20

"Elkar" wrote:

Try this:

=SUMPRODUCT(--(Time!B2:B20="F-10 CWE"),--(Time!C2:C20="L-02
SICK"),(Time!L2:L20))

HTH,
Elkar

"Fnipp" wrote:

This function adds everything in the column L2:L20. I only want to add if
the both conditions are met and if not then do not add the amount.

=SUM(IF(Time!B2:B20="F-10 CWE",IF(Time!C2:C20="L-02 SICK",Time!L2:L20)))

thanks,

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Help

It seems to work just fine for me. What format is your data in L2:L20? Is
it Number, Time, Text?

Perhaps if you provided some examples of the data you're working with, the
results you want, and the results that you're getting.


"Fnipp" wrote:

it still adds everything in column L2:l20

"Elkar" wrote:

Try this:

=SUMPRODUCT(--(Time!B2:B20="F-10 CWE"),--(Time!C2:C20="L-02
SICK"),(Time!L2:L20))

HTH,
Elkar

"Fnipp" wrote:

This function adds everything in the column L2:L20. I only want to add if
the both conditions are met and if not then do not add the amount.

=SUM(IF(Time!B2:B20="F-10 CWE",IF(Time!C2:C20="L-02 SICK",Time!L2:L20)))

thanks,

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Help

My format is Number

If I leave Column B and C Blank it will add the blank ones in column L.
Also I need a forumla to add the same way if the cell contains any of the
following from the drop down.

"Elkar" wrote:

It seems to work just fine for me. What format is your data in L2:L20? Is
it Number, Time, Text?

Perhaps if you provided some examples of the data you're working with, the
results you want, and the results that you're getting.


"Fnipp" wrote:

it still adds everything in column L2:l20

"Elkar" wrote:

Try this:

=SUMPRODUCT(--(Time!B2:B20="F-10 CWE"),--(Time!C2:C20="L-02
SICK"),(Time!L2:L20))

HTH,
Elkar

"Fnipp" wrote:

This function adds everything in the column L2:L20. I only want to add if
the both conditions are met and if not then do not add the amount.

=SUM(IF(Time!B2:B20="F-10 CWE",IF(Time!C2:C20="L-02 SICK",Time!L2:L20)))

thanks,

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



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