Excel Sumifs with multiple criteria with OR - excel-formula

This has been driving me crazy all morning. Can someone help me please figure out how to use this sumifs with an OR?
Here is my formula:
=SUMIFS($H2:$H802,$A2:$A802, "COMPLETED ORDER",$B2:$B802, "Joe Johnson",$C2:$C802, "1/1/2018")
The formula seems to work the way it is, but what if I want the formula to choose either: COMPLETED ORDER OR (alternatively) CONFIRMATION RECEIVED?

You could use data validation to control the contents of a cell (I used E2 on the sheet) with the two conditions and just reference E2 in your existing formula instead of the text "completed order" etc.
You can either build the list directly in the data validation or you can reference a list on the sheet. You could also use this for the list of names that you want to work with...

Related

what formula is needed to count two specific cells that already include a formula

Afternoon all,
I am trying to create an enquiry managment spreadsheet that records all incoming enquires and what has been done to date.
I am trying to get a cell to count how many "New" enquiries David has.
Daivds name is populated via a drop down list and the number of enquiries is counted via the text "NEW" selected from a drop down list.
The formula as I understand it should be along the lines of
=COUNTIF(Enquiries!E4:E309,"NEW")=IF(Enquiries!B4:B309,"DAVID")
But i cannot for the life of me get it to work!!
You should use the formula COUNTIFS() which allows to place more than one condition to do the count. As mentioned in the comments by BigBen, the formula should be as follows:
=COUNTIFS(Enquiries!E4:E309,"NEW",Enquiries!B4:B309,"DAVID")
If you want to use the formula for different people, which i guess you want, you can change "DAVID" for cell E$2, and block the cells by using $ symbol, so the formula would be like:
=COUNTIFS(Enquiries!$E$4:$E$309,"NEW",Enquiries!$B$4:$B$309,E$2)
and then drag the formula horizontally.
You can find more help about the formula on this link

Clear Cell contents depend on other cell content

My first post here, maybe someone will be able to help.
I have a large Excel table with data from labs. Some results are below LOD And I need to remove them as I do not need them.
So basically I need to clear data in one cell, say E11, if data in D11 shows "<". Meaning below LOD.
If possible I would like to replace value in E11 with "-".
Is there any one who could help me please.
There are a few ways to go about this and you don't really need VBA.
Without VBA - Create a filter on your results and simply filter away the "<" - you could copy and paste this filtered table to another sheet
You could use a cell formula to help you identify results: =IF(A1="<","",B1) which would look at A1, if A1 was a < then it'd return nothing, otherwise it'll return value in cell B1.
With VBA - you'd basically be applying the same logic, just written in code. If you really want to do this, then look up how to do a loop first and how to use IF logic...
enter image description here
This is the worksheet I work with. I would like to clear all the values where < is next to them. This is just part of much bigger table.

Excel formula checklist in employees

I want to know about this Excel formula and how it works
IFERROR(COUNTIF(OFFSET(T_E[[#Headers],[EMPLOYEE NAME]],MATCH(I_E,L_E,0),MATCH("ACT 1 DT",L_H,0)-1,1,N_S),">0")&" / "&N_S,"")
Please tell me about this formula and how can I change this by adding or removing.
The best for trying how function works is to try it in excel, but still...
You want to know what the whole function works or just how partial functions work?
In general, the function addresses to formatted table and to named parts of the table, so it should return value from formatted table, that is x rows from employee name in row and x columns from employee name in this row.
How many depends on what is under "I_E", "L_E" and "L_H" and "N_S", I cannot tell without this knowledge.
How to evaluate a formula
If you would like to better understand how a complex formula works, use the Formula Evaluator in Excel. Therefore select the cell that contains the formula, and on the Formulas tab, in the Formula Auditing group, click Evaluate Formula.
Also there is a documentation for all formula functions. With this and the Formula Evaluator you should be able to trace what the formula does.

Using IF formula twice with vlookup

I want to use IF formula twice with Vlookup in order to extract specific data from another sheet with 2 logic commands and using this formula:
=IF($Q$4=DATA!A3,master!A11=DATA!$C$2,VLOOKUP(master!O13,DATA!B3:G52,6))
Kindly suggest me how to apply this formula correctly.Thanks
It seems to me that you need AND():
=IF(AND($Q$4=DATA!A3,master!A11=DATA!$C$2),VLOOKUP(master!O13,DATA!B3:G52,6),"This
message will appear if conditions are not met")

Averageifs based on multiple dropdowns

I'm trying to write an averageifs statement based on multiple criteria in dropdown boxes, referencing data in a separate sheet that connects to an ETL query. please ignore criteria in cell D8, and E31-34 is where i need to write the forumlas.
[Dropdown]
[Data]
Formula for D31:
=AVERAGEIFS(Data!O:O,Data!A:A,D5,Data!C:C,D8,Data!B:B,D11,Data!H:H,D17)
Formula For D32:D34 (drag down):
=AVERAGEIFS(Data!O:O,Data!A:A,$D$5,Data!C:C,$D$8,Data!B:B,$D$11,Data!H:H,$D$17,Data!E:E,$B32)
The only thing that didn't make sense to me is the AMS product drop down, but I am sure you can adjust the formula to add that. The only issue you may have is if ALL is an option versus a specific product. The AVERAGEIFS formula will be slightly different (see two examples I gave you), so you may need an IF statement.

Resources