How to return cell value based on multiple criteria in Excel?
If you have a range data shown as below, and you just want to quickly find the sales of AA in west region in 2-Jan, meanwhile, the salesmen must be J, how can you do? Of course, you can check them one by one, but here I can tell you a formula to quickly find out the cell value based on such multiple criteria in Excel.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
There is an array formula that can help you return cell value based on multiple criteria.
Select a blank cell and type this formula =SUMPRODUCT((A2:A7=A2)*(B2:B7=B2)*(C2:C7=C6)*(D2:D7=D2)*(E2:E7)) ( A2:A7, B2:B7, C2:C7 and D2:D7 are the column ranges which the criteria is in; and A2, B2, C6 and D2 are the cells including criteria; E2:E7 is the column range where you want to find out the value meeting all criteria), and press Shift + Ctrl + Enter keys together, and then it will return the cell value.
Note: If there are more than one values meeting the criteria, the formula will sum up the values.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 25 days agoonly works if they values you're looking to return are numerical.