criteria

  1. I

    How do I look up two criteria and then multiply the result?

    hi all, i am looking to match two separate criteria listed on tab 1 to a table of rates on tab 2. i would like to find the rate and then multiply by another number back on tab 1. hopefully that makes sense. i assume an index, match would work, but not sure how to take advantage of 2 criteria...
  2. ragav_in

    Need Autofilter for more than 2 criteria - Array is not working

    Dear All, I am trying to filter a range in excel (15 columns) and the filter criteria to be applied on a column (Column 2) which contains description. I want to apply filter on that column to get only the rows of data that meet 3 criteria such as "PMP", "PM Plan", "Project Management Plan". If...
  3. gheyman

    Change a Criteria in a Query with VBA?

    Can you change the Criteria in a Query using VBA? I have a query [qry_OnTimeDelivery_MetricData]. In that Query I have a Field [MONTH0_Active]. What I want to do is from a form, if the User Clicks a Button, the Criteria for MONTH0_Active changes to Like "1" Right now I have an unbound...
  4. P

    Referencing Filter Criteria

    I am trying to figure out how to reference individual column filter criteria in an IF/Then statement. I was able to use AutoFilter.Filters(CF).Criteria1 where CF is a variable for the column. Using this method, though, if column A has a criteria selected, then column B shows up as having a...
  5. M

    VBA access query using AND & Or

    I am wanting to get some data from an Access table based on multiple criteria and I'm not sure if my criteria is working and I can't seem to find anything that would let me verify it. the query as it stands isstrQuery = "SELECT Name, Wage, Pre_App_Adds, Food, Home_Start, Other, Mileage_Pay...
  6. N

    rename the active sheet name after concatenate three criteria in vba

    Hi I am not able to change active sheet based on 3 criteria, I have done with first 2 criteria but third one is not able do do. 1- change tab name according the active workbook 2 should be add MTD in Sheet name 3- Add Month name (MMM) based on next sheet cell value. Example:- my file name is...
  7. G

    Sum of sum criteria

    Hi all, Sure this is simple for an expert. Below is the formula to return the value of A3 if the values in row C add to zero. =(IF(SUM(C3:F3)=0,A3,0)) How do I sum the total of all of all the values from A3:A15 that meet the criteria using relative cell references for column C criteria? Thanks!
  8. T

    Index/Match with OR Function

    I need one of my match criteria to be an or statement. I am currently using the below =INDEX($I$37:$I$1128,MATCH(1,INDEX((D37=$D$37:$D$1128)*(F37=$F$37:$F$1128)*($G$37:$G$1128="Base"),0,1),0)) I want the last set to look for "Base" or "Allowance"...
  9. T

    List of Unique Numbers Based on Multiple Criteria

    I need to look at data and return a list of unique numbers from column C where Column A, B match certain criteria. And a different set of returns where A,B, and D match certain criteria. I have data that basically looks like this: <tbody>#DAE7F5[/URL] "] A B C D 1 Criteria1 Criteria 2...
  10. K

    Making the criteria in a SUMIF function relative to the active cell

    =SUMIF($C:$C,$C$4,D:D) The criteria in this formula always needs to reference the cell "ActiveCell.Offset(-1, -1)". Is there a way to do this through VBA? SUMIF(C3,R4C3,C) This is what is looks like on VBA. Thanks
  11. I

    COUNTIFS not counting

    Hi I'm learning about COUNTIFS and I don't understand why this is working in one row and not another. In my first cell in question My Criteria is TECH (E4) in Ranges A2 to A20 and R(G4) is ranges B2 to B20 : I'm using =COUNTIFS($A2:$A20,$E4,$B2:$B20,G4) - and it seems to work, it counts 4...
  12. R

    how to use averageifs in VBA

    Hello guys, Currently I have a set of commands in VBA like: for n = 1 To 274 port_return.Columns(3).Cells(n).Value = WorksheetFunction.AverageIfs(monthlydata.Columns(2), monthlydata.Columns(3), "=W", monthlydata.Columns(5), "<=0.3") port_return.Columns(4).Cells(n).Value =...
  13. C

    Lookup based 2 criteria

    Dear Folks, I need to lookup of a quantity plan value based on a Date and Area. I have 5 columns from B to F B = Date (is duplicate) C = Area (is duplicate) D = Scope of Work E = Actual F = Plan H1 = Date - criteria 1 H2 = Area - criteria 2 H3 = Result In H3, should be a formula to lookup...
  14. R

    double sort and percentrank function with NA in VBA

    Hello guys, My data set is like this: <tbody> Stock Return Criteria1 Criteria2 Percentrank.INC 1 0.1 W 0.9 2 0.3 M 0.7 3 0.2 NA 0.3 4 0.1 L 0.5 5 0.5 M 0.33 6 0.2 W 0.88 7 0.1 W NA 8 0.4 L 0.2 9 0.2 L 0.77 </tbody> What I want to do is to run double sorts in VBA...
  15. P

    Copy a cell to another cell when criteria is meet

    Hello All. I would be grateful if somebody could help me please. I have a list of names that exist in D14:D42 which I'm endeavoring to copy the text to cell D4. The criteria for this list exists in column G14:G42. Using sumif, as shown below, it works if numerals are used but not for text...
  16. A

    Lookup with multiple criteria

    Hello all, I'm trying to find a value in an array using multiple criteria. Basically, what I would be looking to achieve in the below example would be to search for A2 in E1:E4, where B2 is also greater than G2:G4, and less than H2:H4 and return the answer from F2:F4 This should output Zone...
  17. F

    Excel Analytics for Dummies

    Can anyone point me to a good resource for learning how to do some basic analytics in Excel? What I'm trying to learn how to do is look at all the operating and maintenance costs of hundreds of facilities and determine which ones cost the least/most overall. Also to look for cases where a...
  18. Z

    Vlookup question

    What is the best practice for multiple criteria Vlookups? I have a table with 5 columns. I need to lookup a value based on 2 sets of criteria. Any suggestions?
  19. StuLux

    VBA Autofilter for 3 or more criteria

    I've read several posts about how to use autofilter with more than 2 criteria and the answer seems to be to use an array - I am trying the following but get a Type Mismatch error on the Criteria 2 line? Criteria1 = "*Meeting 1*" Criteria2 = Array("<>*at their Stand*", "<>*Table...
  20. sharky12345

    Delete all rows after last one with criteria

    Can anyone show me how I can delete all the rows after the last one found in column C with the criteria 'Not Available'?

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top