![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Fort Knox, KY
Posts: 249
|
I'm trying to create a formula using two conditions. The final result should be based on two conditions from two different columns. Format of both columns is text
For Example: Column A Column B Marksman M16A2 Marksman M16A2 Sharpshooter M249 Expert M16A2 Marksman M249 How could I have a result that only shows ALL the Marksman for M16A2, adding them using two different conditions? I'm using countif .... Thanks! |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
|
Hi,
Try using SUMPRODUCT for multiple conditions. =SUMPRODUCT((A1:A5="marksman")*(B1:B5="m16a2")) HTH, Jay |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|