Please help with IF index formula

B5rocksass

Board Regular
Joined
Jan 10, 2017
Messages
56
Office Version
  1. 2016
Platform
  1. Windows
Hello, I have a table with multiple pieces of data (changed for data security). I need to look in the table and look down one column to find specific text, then look to the next column to see if that text matches a criteria, and return the total number of values that match that criteria. So, in the example I've shown below, the final table should show Abby with a quantity of 2, and Lenox of 3. The actual document has hundreds of rows. Please help!

1610546189047.png
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
How about
Excel Formula:
=COUNTIFS(C$3:C$10,C13,D$3:D$10,"N")
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
I am being asked to limit the fields by making sure the responses are only counted if a date field is 2 business days prior to today. Is there a way to work that into the formula? Can you help again? Thank you Thank you Thank you!!!

1610554759413.png
 
Upvote 0
Can you please post some sample data.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
HERE YOU GO!

1-13-2021.xls
ABCDE
1
2Line ALine BNameYes/NoLine D
35011/20/20AbbyY50
41011/13/20LenoxN10
54011/13/20AbbyN40
61011/13/20LenoxY10
76001/06/21AbbyY60
81001/13/21LenoxN10
92010/30/20LenoxN20
101002/05/21AbbyN10
11
12NameQuantity (N)
13Abby2
14Lenox3
Sheet1
Cell Formulas
RangeFormula
D13:D14D13=COUNTIFS(C$3:C$10,C13,D$3:D$10,"N")
 
Upvote 0
Thanks for that, should the count be limited to 2 days, or anything greater then 2 days ago?
 
Upvote 0
greater than 2 BUSINESS days. So if i pull a report today (1/14), it would be anything 1/12 and older.
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

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