Is value lookup the best solution to my problem?

pin0s

New Member
Joined
Jan 13, 2019
Messages
2
Hi all,

I have been searching the forums and google for an answer to my problem and I am having trouble on firstly what to search.

I'm hoping you can either help me with a solution or get me on the right track for what to search.

My question is how can I lookup a value (being a number assigned to a week) from a drop down menu, match that to the column of the week in another table and the see if the product is on promotion that week and at what price.

Below is what Ideally I want my output to look like, when I select the week it checks (figure 2) and enters a True Value in G and the pricing data for H.

Any help would be greatly appreciated.

Figure 1:



Data: Figure 2

The weeks the product is on promotion have a numeric value in the cell and the non-promotional weeks they have a NA value.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Maybe something like this using INDEX / MATCH.

Excel Workbook
CDEFGH
3Week4ProductOn PromotionPrice
4Product1Yes8.99
5Product2Yes7
6Product3NoNA
7Product4NoNA
8Product5Yes5.25
Sheet1
Excel Workbook
CDEFGH
5Product/Week12345
6Product1NANANA8.99NA
7Product2NANA6.997.00NA
8Product3NANANANANA
9Product4NA5.98NANANA
10Product5NANANA5.25
11Product6NANANANANA
Sheet2
 
Upvote 0
Thank you very much that solved the problem and now I know to use the MATCH method!

Really appreciate you taking the time to help me, I can't thank you enough! :)
 
Upvote 0
You're welcome. Thanks for the feedback and welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,839
Members
449,193
Latest member
MikeVol

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