Hi all,
Would greatly appreciate some guidance on the below IF statements. I do not have an error values but the values that it generates is incorrect.
Column A:
Category 1
Category 2
Category 3
No Data Entered (I wanted to put this in for a blank....but perhaps I should just leave it blank)
Column B: (Based on Days(end_date,start_date)
n=<0 (i.e. negative numbers - the end date is after the start date - this is incorrectly entered at source. I have no ability to enter a force function to this system)
n=0 (i.e. zero - the start date and end date are the same)
n>0( i.e. positive Numbers - the end data was after the start date)
So I want to know if
- Category 1's were reported within 1 day
- Category 1's were reported but outside of the 1 day
- Category 1's were reported but no date was put in so I don't know if it was within / outside time.
- And for everything else NA.
Thanks all. Appreciate your help.
P.S. As I type this out, I wonder if there is anything confusing in the 'No Data Entered' - though I am explicit about which column I am speaking about.
=IF(AND(A2="Category 1",B2>-1,B2<2),"Yes",
IF(AND(A2="Category 1",B2>1),"No",
IF(AND(A2="Category 1",B2="No Data Entered"),"No Data Entered",
IF(AND(A2="Category 2",B2<0),"NA",
IF(AND(A2="Category 2",B2="No Data Entered"),"NA",
"NA")))))
Would greatly appreciate some guidance on the below IF statements. I do not have an error values but the values that it generates is incorrect.
Column A:
Category 1
Category 2
Category 3
No Data Entered (I wanted to put this in for a blank....but perhaps I should just leave it blank)
Column B: (Based on Days(end_date,start_date)
n=<0 (i.e. negative numbers - the end date is after the start date - this is incorrectly entered at source. I have no ability to enter a force function to this system)
n=0 (i.e. zero - the start date and end date are the same)
n>0( i.e. positive Numbers - the end data was after the start date)
So I want to know if
- Category 1's were reported within 1 day
- Category 1's were reported but outside of the 1 day
- Category 1's were reported but no date was put in so I don't know if it was within / outside time.
- And for everything else NA.
Thanks all. Appreciate your help.
P.S. As I type this out, I wonder if there is anything confusing in the 'No Data Entered' - though I am explicit about which column I am speaking about.
=IF(AND(A2="Category 1",B2>-1,B2<2),"Yes",
IF(AND(A2="Category 1",B2>1),"No",
IF(AND(A2="Category 1",B2="No Data Entered"),"No Data Entered",
IF(AND(A2="Category 2",B2<0),"NA",
IF(AND(A2="Category 2",B2="No Data Entered"),"NA",
"NA")))))