Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old November 20th 05, 06:28 PM posted to microsoft.public.excel.worksheet.functions
Bobito
 
Posts: n/a
Default How to nest functions with SUMIF function in excel

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   Report Post  
Old November 20th 05, 06:31 PM posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default How to nest functions with SUMIF function in excel

=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   Report Post  
Old January 3rd 17, 07:45 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Jan 2017
Posts: 4
Default How to nest functions with SUMIF function in excel

http://tutorialway.com/use-sumif-function-in-excel/
visit this site
  #4   Report Post  
Old January 13th 21, 08:02 AM
Junior Member
 
First recorded activity by ExcelBanter: Dec 2020
Posts: 27
Default How to nest functions with SUMIF function in excel

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   Report Post  
Old June 14th 21, 07:04 PM
Member
 
First recorded activity by ExcelBanter: Jun 2021
Posts: 47
Default

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/


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
"Group" function very slow with Excel 2003 :( ... While very quick with Excel2000 :O) Alain79 Excel Discussion (Misc queries) 4 June 14th 05 07:34 AM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Why not nest more than 7 functions in Excel formula??? GrandCentral Excel Worksheet Functions 9 March 31st 05 09:30 PM
Can you nest a MID function within a IF function in Excel Dawn-Anne Excel Worksheet Functions 2 March 4th 05 01:37 PM
How can I nest more than seven functions in MS Excel? DMB Excel Worksheet Functions 3 January 9th 05 04:47 PM


All times are GMT +1. The time now is 04:54 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017