multiable formulas for one cell - "IF"

stilgar

Board Regular
Joined
Feb 28, 2011
Messages
51
I've created an sheet with drop-down menus of product descriptions for our company and i want another cell to put the part number in another cell depending on what is selected.

there are 2 to 3 values needed sometimes to determine the correct part number.

eg: if cell "a1" = value "A" and cell "a2" = value "B" then cell "b1" will enter part number "X"

or

if cell "a1" = value "C" and cell "a2" = value "B" then cell "b1" will enter part number(autofill) with value "Y"

The values are product descriptions selected from the dropdown menus.

all the part numbers on on sheet 2 and the form is on sheet 1. also on sheet 2 are product descriptions and other options for the dropdown menu's

Any help would be great.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Try:

=IF(AND(A1="A",A2="B"),"X",IF(AND(A1="C",A2="B"),"Y",""))
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,712
Members
452,939
Latest member
WCrawford

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