Formula for populating cell/s based on criteria

Tizzi203040

New Member
Joined
Jul 1, 2015
Messages
17
Hi,

I am trying to do a function in excel but i am having difficulty coming up with the formula for it. So basically what i want to do is:

Column A(Cells in this column are drop downs) Column B Column C Column D Column E
Product A $10,000
Product B $20,000
Product C $30,000

I want to be able to check a box or insert a Y(Yes) in Columns C, D or E and have it populate with the price from column B. Now, Vlookup will not work because I want to be able to select which columns should be populated with that price. I have 10+ columns so instead of typing the price over and over again I figured if there was a way to do it with a formula. Is there a way to combine formulas so that if I select Y from a drop down then that same cell will populate with the price?
 
Re: Need formula for populating cell/s based on criteria

so i tried the first formula and it return back the code in cell D11. I want it to return a "Y" based on table 1.
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Re: Need formula for populating cell/s based on criteria

so i tried the first formula and it return back the code in cell D11. I want it to return a "Y" based on table 1.

Test with the data as shown in my example.
Check the operation of the formula and then change it.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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