Help! Referencing a cell based on ranged criteria.

missdeannamarie

New Member
Joined
Mar 31, 2014
Messages
25
Hello!

I have been stuck on this formula for quite some time and was hoping I could get some help from you genius excel people! Below is an example of my spreadsheet. What I am trying to achieve is a formula in Cell R2, that matches the value of cell B23 with cell range C1:Q1 (B23 has a drop down that chooses C1:Q1 values, so I would need R2 to change based on what is selected) and provides the value for the row R2 is in.

I hope that makes sense! I apologize ahead of time if this is super easy or has been on another thread, i have checked as much as i can.

Any help is much appreciated! Thank you!!!


ABCDEFGHIJKLMNOPQR
1ProductsOCT-15NOV-15DEC-15JAN-16FEB-16MAR-16APR-16MAY-16JUN-16JUL-16AUG-16SEP-16OCT-16NOV-16DEC-16RESULT
2SCM1251741651489525426915619212920020200200
3SCM29993894548588912618851020020200200
4SCM36287949694449355634915420020200200
5SCM45020013385166101421576697220020200200
6SCM55020013385166101421576697220020200200
7SCM65020013385166101421576697220020200200
8QA15020013385166101421576697220020200200
9QA25020013385166101421576697220020200200
10QA35050013385166101421576697220020200200
11QA450200133100166101421576697220020200200
12QA55020013385166101421576697220020200200
13QA65020013385166101421576697220020200200
14FAC15020013385166101421576697220020200200
15FAC25020013385166101421576697220020200200
16FAC35020013385166101421576697220020200200
17FAC45020013385166101421576697220020200200
18FAC55020013385166101421576697220020200200
19FAC65020013385166101421576697220020200200
20OP15020013385166101421576697220020200200
21Total Sales986385424761664289328724964901453143014453800380380038000
22
23SelectOCT-15

<tbody>
</tbody>
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Excel 2010
ABCDEFGHIJKLMNOPQR
1Products15-Oct15-Nov15-Dec16-Jan16-Feb16-Mar16-Apr16-May16-Jun16-Jul16-Aug16-Sep16-Oct16-Nov16-DecRESULT
2SCM125174165148952542691561921292002020020025
3SCM2999389454858891261885102002020020099
4SCM3628794969444935563491542002020020062
5SCM4502001338516610142157669722002020020050
6SCM5502001338516610142157669722002020020050
7SCM6502001338516610142157669722002020020050
8QA1502001338516610142157669722002020020050
9QA2502001338516610142157669722002020020050
10QA3505001338516610142157669722002020020050
11QA45020013310016610142157669722002020020050
12QA5502001338516610142157669722002020020050
13QA6502001338516610142157669722002020020050
14FAC1502001338516610142157669722002020020050
15FAC2502001338516610142157669722002020020050
16FAC3502001338516610142157669722002020020050
17FAC4502001338516610142157669722002020020050
18FAC5502001338516610142157669722002020020050
19FAC6502001338516610142157669722002020020050
20OP1502001338516610142157669722002020020050
21Total Sales98638542476166428932872496490145314301445380038038003800986
22
23Select15-Oct
Sheet7
Cell Formulas
RangeFormula
R2=HLOOKUP($B$23,$C$1:$Q$21,ROW(A2),0)
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,409
Members
448,959
Latest member
camelliaCase

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