IF function

sdkorin

New Member
Joined
Feb 1, 2018
Messages
22
Office Version
  1. 2016
Platform
  1. Windows
I need a little help with what I thought would be a prettysimple if function; however, the solution seems to allude me.
I have 3 columns. Column H is going to generate text (“Yes”or “No”) based on what’s in columns I and J.
Columns I and J are for dates someone is certified in aparticular machine (I for machine “A” & J for machine “B”) or the words “noteligible” if they are not eligible to be certified in the machine. If “not eligible”is removed from both cells, but there is not date, they are eligible to becertified.
If a date goes into, say, column I, there will be nothing incolumn J, until they certify in that machine.
What I would like to do is have column H say “No” if columnsI & J either say “not eligible” or are both blank. And I was it to say “Yes”if there is a date in 1 or both of columns I & J.
The current formula I am using give me a “No” it “noteligible” is present but a “Yes” if there is a date or both cells are blank.
Code:
 =IF(I3<"1/1/1999","Yes",IF(J3<"1/1/1999","Yes","No"))
I really appreciate the help.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Re: Help with an IF function

Try:

=IF(AND(COUNTIF(I3:J3,"not eligible")=0,COUNT(I3:J3)),"Yes","No")
 
Upvote 0
Re: Help with an IF function

Try this



=IF(SUM(COUNTIF(I3:J3,{"no teligible",""}))=2,"No","Yes")
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,617
Latest member
Narendra Babu D

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