Countifs from Multiple Sheets - excel-formula

I am trying to make a countifs formula across multiple worksheets.
The formula I have so far is:
=SUMPRODUCT(COUNTIFS(INDIRECT("'"&TabList&"'!$AG$6:$AI$31"),"1"),INDIRECT("'"&TabList&"'!$AG$6:$AI$31"),"D5")
Each of the countifs work seperately but when I put them together they keep coming up with an error.
Any ideas?

Related

SUMIFS Across Multiple Worksheets - Need to fix #REF! error

I'm trying to perform a SUMIFS across multiple worksheets. I found a couple of formulas online, and pieced together the Formula below. I can't seem to fix the #REF error that came with it. Do you have any advise on how best to resolve the problem?
I have reviewed each sheet to make sure I am referencing the same information across all sheets. I've set columns to text or Accounting as necessary. Not sure what else I can try.
=SUMPRODUCT(SUMIFS(INDIRECT("'"&2011:2019&"'!J:J"),INDIRECT("'"&2011:2019&"'!C:C"),$B3,INDIRECT("'"&2011:2019&"'!E:E"),2))
I am expecting to see the Sum of Column J for all sheets given 2 constraints.
Text in Column C:C (All Sheets 2011-2019) must equal the text in Cell $B3, and the number value in column E:E (All Sheets 2011-2019) must be 2.
I am getting the #REF error instead.

Excel Cell Staggering using Indirect functions

I am creating a formula to read multiple sumif, certain values are > 0 across multiple excel sheets. The formula works fine, but when I copy it to the right, the columns do not stagger by 1.
I realize this is a problem associated with the indirect function I used, but how do I get the columns to change to CU, CV etc?
Appreciate the help.
=SUMPRODUCT(SUMIF(INDIRECT("'"&Exam2&"'!$d$2:$d$102"),">0",INDIRECT("'"&Exam2&"'!CT2:CT102"))/$D$105)

Array Formula on Range of Sheets

I have this formula on several sheets in cell F1
{=SUM(IF(MONTH(A3:A210)=1,B3:B210,0))}
I have this formula on a totals sheet
=SUM(Start:End!F1)
I've been trying to combine the two into one formula on the totals page. Thank you everyone getting me this far.
I ended up creating a pivot table using the wizard which allows you to choose multiple consolidation ranges.
I was given the idea here:
https://support.office.com/en-us/article/Consolidate-multiple-worksheets-into-one-PivotTable-3ae257d2-ca94-49ff-a481-e9fc8adeeeb5

SUMIF with more than three criteria

i'm trying to use a SUMIF with multiple criteria but it isn't working in google spreadsheets.
right now i have
=SUMIF($B$8:$B,"1",$C$8:$C,H8:H,"Direct")
i want "Direct" to be the sub criteria, so it only sums rows with that all in it.
SUMIF with multiple criteria doesn't exist, you should be using SUMIFS. Your setup would be as follows:
SUMIFS(sum_range1, criteria_range1, criterion1, criteria_range2, criterion2)
Formula edited to reflect comments below.

Using conditional formatting to compare multiple cells in one row to another

I'm trying to figure out what formula I can use to highlight duplicates in a spreadsheet.
I want to compare data across multiple cells to see if it matches with other sets of cells with the same data.
For example, given this data:
Name, Food, Animal
Donald, Hamburger, Alligator
Rupert, Sushi, Alligator
Christie, Hamburger, Panda
Donald, Hamburger, Alligator
I want to make excel highlight the 1st and 4th cells as all values are the same across all three cells. I've tried countif to create rules to highlight the duplicate cells but I cannot seem to get excel to compare across three cells. Is the only solution to use IF AND to compare each column one by one? The data set is several hundred rows long so I am trying to figure out a quick way I can repeat this check across multiple workbooks. I've tried to use the basic conditional formatting options provided by excel but haven't been able to get a good result using those.
Thank you!
If Name is in A1, please try a Conditional Formatting formula rule of:
=AND(COUNTIF($A$1:$A$100,$A1)>1,COUNTIF($B$1:$B$100,$B1)>1,COUNTIF($C$1:$C$100,$C1)>1)
with Applies to: =$A:$C.

Resources