IF function issue

EverReady

New Member
Joined
Jun 12, 2018
Messages
2
Below is the IF formula I am trying to use, if there is a number in column A or B greater than 0 in the I would like the result of "Good" if there is any other value in the cell then I would like the result "Unassigned". If there is a number in column A then I get the result I am looking for however if that fails and it has to look up in column B I cannot get it to produce "Unassigned". The values I am looking up with are the results of a Vlookup formula so that is why there #N/A values.

=IF(A17>0,"Good",IF(B17>0,"Good","Unassinged"))

1#N/A1Good
2#N/A2Good
#N/A44#N/A
3#N/A3Good
5#N/A5Good
6#N/A6Good
7#N/A7Good
#N/A88#N/A
9#N/A9Good
#N/A1010#N/A
11#N/A11Good
#N/A1212#N/A

<tbody>
</tbody><colgroup><col span="3"><col></colgroup>
 

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 do you want to happen if there is a #N/A error?

You might try =IF(OR(IFERROR(A1,0)>0,IFERROR(B1,0)>0), "Good", "Unassigned")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,130
Messages
6,129,058
Members
449,484
Latest member
khairianr

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