Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to use 2 variables with the SUMIF function. ie:-
sumif(<range1,<criteria1)(<range2,<criteria2), <sum_range So far, I cannot find out if this is possible. Has anyone tried and managed to do this successfully? I thought maybe that the AND function has to be used ... for example:- Sumif(AND(A:A,"Car"(B:B,"Red",C:C))) - but with this example, I get the error message:- "You've entered too few arguments etc " |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--(A1:A200="Car"),--(B1:B200="Red"),C1:C200)
note that you cannot use the whole column (no A:A or B:B) -- Regards, Peo Sjoblom (No private emails please) "Bobito" wrote in message ... I am trying to use 2 variables with the SUMIF function. ie:- sumif(<range1,<criteria1)(<range2,<criteria2), <sum_range So far, I cannot find out if this is possible. Has anyone tried and managed to do this successfully? I thought maybe that the AND function has to be used ... for example:- Sumif(AND(A:A,"Car"(B:B,"Red",C:C))) - but with this example, I get the error message:- "You've entered too few arguments etc " |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() |
#4
![]() |
|||
|
|||
![]()
Follow these steps to nest function with SUMIF
Click the cell in which you want to enter the formula. To start the formula with the function, click Insert Function Button image on the formula bar Button image . Excel inserts the equal sign (=) for you. In the Or select a category box, select All. If you are familiar with the function categories, you can also select a category. If you're not sure which function to use, you can type a question that describes what you want to do in the Search for a function box (for example, "add numbers" returns the SUM function). To enter another function as an argument, enter the function in the argument box that you want. The parts of the formula displayed in the Function Arguments dialog box reflect the function that you selected in the previous step. If you clicked IF, the Function arguments dialog box displays the arguments for the IF function. To nest another function, you can enter it into the argument box. For example, you could enter SUM(G2:G5) in the Value_if_true box of the IF function. Enter any additional arguments that are needed to complete your formula. Instead of typing cell references, you can also select the cells that you want to reference. Click Button image to minimize the dialog box, select the cells you want to reference, and then click Button image to expand the dialog box again. I hope this helps! Tim Paine |
#5
![]() |
|||
|
|||
![]()
Hey, for SUMIF, i really found this article helpful. Maybe you can check this one out, too.
https://www.efinancialmodels.com/kno...tion-in-excel/ |
#6
![]() |
|||
|
|||
![]()
"@Peo Sjoblom Quite a common problem for beginners! SUMIF is a function used to sum values for a single criterion.
Using this function, you can find the sum of the numbers that apply a range condition. This function is part of the math and trigonometry functions. Similar to the name, it will sum if the given criteria are satisfied. This function is used to find the sum of specific numbers in a large data set. When I have had problems like this before, I have gone to https://www.wallstreetoasis.com/reso...-formula-excel. In your case, try to use the function panel. It is longer but more practical. Look for them in the Search field! Then use additional arguments and complete the formula! Patience to you in this endeavor!" |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"Group" function very slow with Excel 2003 :( ... While very quick with Excel2000 :O) | Excel Discussion (Misc queries) | |||
Excel Range Value issue (Excel 97 Vs Excel 2003) | Excel Discussion (Misc queries) | |||
Why not nest more than 7 functions in Excel formula??? | Excel Worksheet Functions | |||
Can you nest a MID function within a IF function in Excel | Excel Worksheet Functions | |||
How can I nest more than seven functions in MS Excel? | Excel Worksheet Functions |