Quick Help

Irwell

Board Regular
Joined
May 24, 2012
Messages
54
Office Version
  1. 365
Platform
  1. Windows
Hi friends,

Can someone help me with working out a formula for the below, my head is hurting from getting wrong a few times.

Column A is a Yes or No
Column B is a number 1 to 4
Column C needs to be a formula that returns the following

"Code 1" if column b is 2 and column a is yes
"Code 2" if column b is 2 and column a is no
"Code 3" if column b is 3 and column a is yes
"code 4" if column b is 3 and column a is no

Many thanks,
Irwell
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
What happens if B is 1 or 4?
Also what happens if A or B are blank?
 
Upvote 0
What happens if B is 1 or 4?
Also what happens if A or B are blank?

Nothing if one or 4, no formulas kick in if A or B are blank. Think I've done it now though, thank you for responding.
 
Upvote 0
Glad you sorted it & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,702
Messages
6,173,932
Members
452,539
Latest member
delvey

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