Returning Text Value based on multiple criteria

Tiiatcha

New Member
Joined
Dec 14, 2008
Messages
8
Hello,

I am trying to return the text value of a cell depending on if 2 other criterea are true.
Using the example data below I would like to display the status of 'Code'-10.1 from 'Month'-Jan.

Example data Sheet1: (Assume Column Headers are A1, B1, C1)

Code Month Status
10.3 Jan Checked
10.1 Jan complete
11.1 Jan Complete
10.3 Feb Not Checked
10.1 Feb Not Checked
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
This formula needs to be completed with CTRL+SHIFT+ENTER, not just Enter:

Code:
=INDEX(C2:C10,MATCH(1,(A2:A10=10.1)*(B2:B10="Jan"),0))

Adjust ranges to suit. The criteria 10.1 and Jan could be kept in individual cells.

HTH
Colin
 
Upvote 0
THank you. That was spot on. Adjusted slightly to meet my needs.
Code:
{=IF(ISERROR(INDEX(nrStatus,MATCH(1,(nrSNAT=$A6)*(nrMonth=J$1),0))),"",INDEX(nrStatus,MATCH(1,(nrSNAT=$A6)*(nrMonth=J$1),0)))}
 
Upvote 0

Forum statistics

Threads
1,215,250
Messages
6,123,887
Members
449,130
Latest member
lolasmith

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