fill in a cell if two cells meet a criteria?

JMITCH26

Board Regular
Joined
May 18, 2005
Messages
84
If 2 Criteria is meet then Cell = that percentage Increase.

Example1
IF Cell A3= Hammer
IF Cell B3= Poor
Then Cell C3= 5.00%

Example2
IF Cell A4= Socket
IF Cell B4= Good
Then Cell C4= 10.00%

My Chart
B5 = Socket
E6 = Damaged F6 = 3.00%
E7 = Poor F7 = 4.00%
E8 = Fair F8 = 6.00%
E9 = Good F9 = 10.00%
E10 = Better F10 = 14.00%
E11 = Best F11 = 20.00%

B6 = Hammer
G26 = Damaged H26 = 2.00%
G27 = Poor H27 = 5.00%
G28 = Fair H28 = 6.00%
G29 = Good H29 = 11.00%
G30 = Better H30 = 15.00%
G31 = Best H31 = 20.00%

B7 = Wrench
K26 = Damaged L26 = 3.00%
K27 = Poor L27 = 4.00%
K28 = Fair L28 = 5.00%
K29 = Good L29 = 7.00%
K21 = Better L30 = 8.00%
K31 = Best L31 = 9.00%
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
like this?


Book1
ABCDEFGHIJKL
1
2
3HammerPoor5.00%
4WrenchGood7.00%
5Socket
6HammerDamaged3.00%Damaged2.00%Damaged3.00%
7WrenchPoor4.00%Poor5.00%Poor4.00%
8Fair6.00%Fair6.00%Fair5.00%
9Good10.00%Good11.00%Good7.00%
10Better14.00%Better15.00%Better8.00%
11Best20.00%Best20.00%Best9.00%
Sheet31
Cell Formulas
RangeFormula
C3=TEXT(IF(MATCH(A3,$B$5:$B$7,0)=1,VLOOKUP(B3,$E$6:$F$11,2,FALSE),IF(MATCH(A3,$B$5:$B$7,0)=2,VLOOKUP(B3,$G$6:$H$11,2,FALSE),IF(MATCH(A3,$B$5:$B$7,0)=3,VLOOKUP(B3,$K$6:$L$11,2,FALSE)))),"0.00%")
C4=TEXT(IF(MATCH(A4,$B$5:$B$7,0)=1,VLOOKUP(B4,$E$6:$F$11,2,FALSE),IF(MATCH(A4,$B$5:$B$7,0)=2,VLOOKUP(B4,$G$6:$H$11,2,FALSE),IF(MATCH(A4,$B$5:$B$7,0)=3,VLOOKUP(B4,$K$6:$L$11,2,FALSE)))),"0.00%")


EDIT: formula was cut off a bit.
here is the formula in C3
=TEXT(IF(MATCH(A3,$B$5:$B$7,0)=1,VLOOKUP(B3,$E$6:$F$11,2,FALSE),IF(MATCH(A3,$B$5:$B$7,0)=2,VLOOKUP(B3,$G$6:$H$11,2,FALSE),IF(MATCH(A3,$B$5:$B$7,0)=3,VLOOKUP(B3,$K$6:$L$11,2,FALSE)))),"0.00%")
 
Last edited:
Upvote 0
This is working Thank you..... I do have a question when I have no data in cells A3 or B3 yet it gives me a #N/A is there a way to make this blank until data is entered? thank you for your help on this.
 
Upvote 0
this should work hopefully
=IF(OR(A3="",B3=""),"",TEXT(IF(MATCH(A3,$B$5:$B$7,0)=1,VLOOKUP(B3,$E$6:$F$11,2,FALSE),IF(MATCH(A3,$B$5:$B$7,0)=2,VLOOKUP(B3,$G$6:$H$11,2,FALSE),IF(MATCH(A3,$B$5:$B$7,0)=3,VLOOKUP(B3,$K$6:$L$11,2,FALSE),""))),"0.00%"))
 
Upvote 0

Forum statistics

Threads
1,214,378
Messages
6,119,188
Members
448,873
Latest member
jacksonashleigh99

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