Will INDEX,MATCH work for this?

cintirich

New Member
Joined
Dec 15, 2015
Messages
17
Hi all,

I am trying to come up with a formula that will look at data in 3 columns (SubscriberStatus [yes/no], MarketID [1-10], and Age [any integer 13-17]) and categorize the result into a "quota code". There are 30 quota codes. The first 10 (525 - 534) are based only on SubscriberStatus and MarketID. The rest (535 - 554) are based on all three variables.

Examples

  • Quota Code 525 = Non-subscribers Market 1
  • Quota Code 535 = 13-15 Year old Subscribers Market 1
  • Quota Code 545 = 16-17 Year old Subscribers Market 1
  • Quota Code 526 = Non-subscribers Market 2
  • Quota Code 536 = 13-15 Year old Subscribers Market 2
  • Quota Code 546 = 16-17 Year old Subscribers Market 2


Any ideas? Thanks!
Rich

AgeSubscriberMarketIDQuota_Code
13Yes6?
15No7?
14Yes8?
17No5?
16Yes10?
13Yes7?

<tbody>
</tbody>
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Excel 2010
ABCD
1AgeSubscriberMarketIDQuota_Code
213Yes6540
315No7531
414Yes8542
517No5529
616Yes10554
713Yes7541
Sheet1
Cell Formulas
RangeFormula
D2=IF(B2="No",524+C2,IF(A2<16,534+C2,544+C2))
 
Upvote 0

Forum statistics

Threads
1,214,849
Messages
6,121,925
Members
449,056
Latest member
denissimo

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