Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|