Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default How to do multiple IF checks with dates AND text

Hello All,

I am trying to get a formula set up that will look at multiple colums, and
produce output in a particular column based on the checks made. It's a
boolean thing; here's an example:

In column A, I have dates in the format mm/dd/yy, in column B, I have text
that can be one of four selections: Resolved, In Progress, Assigned, New. I
need to compare column A against:

1. Today's date. If column A is earlier than today's date, AND column B is
"Resolved", I need to set column C to "No."
2. Today's date. If column A is later than today's date, AND column B is
anything but "Resolved", I need to set column C to "Yes".
3. Today's date. If column A is later than today's date, and column B is
"Resolved", I need to set column C to "No".
4. Today's date. If column A is later than today's date, and column B is
anything but "Resolved", I need to set column C to "No".

I've tried multiple variations of the IF, AND, OR worksheet functions, and
either it sets them all to the same thing (60 rows in column C) or gives me a
zero in column C. Also thought of using VLOOKUP, but could not make that
work either. Can sombody help me figure out the necessary cell formula that
goes in column C, please? Thanks in advance!

--
- RJF
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 418
Default How to do multiple IF checks with dates AND text

RJ Fleener wrote:
In column A, I have dates in the format mm/dd/yy, in column B, I have text
that can be one of four selections: Resolved, In Progress, Assigned, New. I
need to compare column A against:

1. Today's date. If column A is earlier than today's date, AND column B is
"Resolved", I need to set column C to "No."
2. Today's date. If column A is later than today's date, AND column B is
anything but "Resolved", I need to set column C to "Yes".
3. Today's date. If column A is later than today's date, and column B is
"Resolved", I need to set column C to "No".
4. Today's date. If column A is later than today's date, and column B is
anything but "Resolved", I need to set column C to "No".


What if A is earlier than today's date AND B is not "Resolved"? I
assume you want "No".

=if(and(B1<"Resolved", A1today()), "Yes", "No")

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default How to do multiple IF checks with dates AND text


" wrote:

RJ Fleener wrote:
In column A, I have dates in the format mm/dd/yy, in column B, I have text
that can be one of four selections: Resolved, In Progress, Assigned, New. I
need to compare column A against:

1. Today's date. If column A is earlier than today's date, AND column B is
"Resolved", I need to set column C to "No."
2. Today's date. If column A is later than today's date, AND column B is
anything but "Resolved", I need to set column C to "Yes".
3. Today's date. If column A is later than today's date, and column B is
"Resolved", I need to set column C to "No".
4. Today's date. If column A is later than today's date, and column B is
anything but "Resolved", I need to set column C to "No".


What if A is earlier than today's date AND B is not "Resolved"? I
assume you want "No".

=if(and(B1<"Resolved", A1today()), "Yes", "No")



Yes, that is correct. I guess I just forgot that one. I will give this a
go and see if it works...thanks!
--
RJF
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default How to do multiple IF checks with dates AND text


"RJ Fleener" wrote:


" wrote:

RJ Fleener wrote:
In column A, I have dates in the format mm/dd/yy, in column B, I have text
that can be one of four selections: Resolved, In Progress, Assigned, New. I
need to compare column A against:

1. Today's date. If column A is earlier than today's date, AND column B is
"Resolved", I need to set column C to "No."
2. Today's date. If column A is later than today's date, AND column B is
anything but "Resolved", I need to set column C to "Yes".
3. Today's date. If column A is later than today's date, and column B is
"Resolved", I need to set column C to "No".
4. Today's date. If column A is later than today's date, and column B is
anything but "Resolved", I need to set column C to "No".


What if A is earlier than today's date AND B is not "Resolved"? I
assume you want "No".

=if(and(B1<"Resolved", A1today()), "Yes", "No")



Yes, that is correct. I guess I just forgot that one. I will give this a
go and see if it works...thanks!
--
RJF


Follow-up: Your solution works like it should; thanks for the assist!

--
- RJF


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default How to do multiple IF checks with dates AND text

1.
=IF(AND(A1<TODAY(),B1="Resolved"),"No",IF(AND(A1T ODAY(),B1<"Resolved"),"YES",IF(AND(A1TODAY(),B1= "Resolved"),"No",IF(AND(A1TODAY(),B1<"Resolved") ),"No",""))))

Dave
--
Brevity is the soul of wit.


"RJ Fleener" wrote:

Hello All,

I am trying to get a formula set up that will look at multiple colums, and
produce output in a particular column based on the checks made. It's a
boolean thing; here's an example:

In column A, I have dates in the format mm/dd/yy, in column B, I have text
that can be one of four selections: Resolved, In Progress, Assigned, New. I
need to compare column A against:

1. Today's date. If column A is earlier than today's date, AND column B is
"Resolved", I need to set column C to "No."
2. Today's date. If column A is later than today's date, AND column B is
anything but "Resolved", I need to set column C to "Yes".
3. Today's date. If column A is later than today's date, and column B is
"Resolved", I need to set column C to "No".
4. Today's date. If column A is later than today's date, and column B is
anything but "Resolved", I need to set column C to "No".

I've tried multiple variations of the IF, AND, OR worksheet functions, and
either it sets them all to the same thing (60 rows in column C) or gives me a
zero in column C. Also thought of using VLOOKUP, but could not make that
work either. Can sombody help me figure out the necessary cell formula that
goes in column C, please? Thanks in advance!

--
- RJF



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default How to do multiple IF checks with dates AND text


"Dave F" wrote:

1.
=IF(AND(A1<TODAY(),B1="Resolved"),"No",IF(AND(A1T ODAY(),B1<"Resolved"),"YES",IF(AND(A1TODAY(),B1= "Resolved"),"No",IF(AND(A1TODAY(),B1<"Resolved") ),"No",""))))

Dave
--
Brevity is the soul of wit.


"RJ Fleener" wrote:

Hello All,

I am trying to get a formula set up that will look at multiple colums, and
produce output in a particular column based on the checks made. It's a
boolean thing; here's an example:

In column A, I have dates in the format mm/dd/yy, in column B, I have text
that can be one of four selections: Resolved, In Progress, Assigned, New. I
need to compare column A against:

1. Today's date. If column A is earlier than today's date, AND column B is
"Resolved", I need to set column C to "No."
2. Today's date. If column A is later than today's date, AND column B is
anything but "Resolved", I need to set column C to "Yes".
3. Today's date. If column A is later than today's date, and column B is
"Resolved", I need to set column C to "No".
4. Today's date. If column A is later than today's date, and column B is
anything but "Resolved", I need to set column C to "No".

I've tried multiple variations of the IF, AND, OR worksheet functions, and
either it sets them all to the same thing (60 rows in column C) or gives me a
zero in column C. Also thought of using VLOOKUP, but could not make that
work either. Can sombody help me figure out the necessary cell formula that
goes in column C, please? Thanks in advance!

--
- RJF


I'll give this a try and see if it works out...thanks!

--
- RJF


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default How to do multiple IF checks with dates AND text


"RJ Fleener" wrote:


"Dave F" wrote:

1.
=IF(AND(A1<TODAY(),B1="Resolved"),"No",IF(AND(A1T ODAY(),B1<"Resolved"),"YES",IF(AND(A1TODAY(),B1= "Resolved"),"No",IF(AND(A1TODAY(),B1<"Resolved") ),"No",""))))

Dave
--
Brevity is the soul of wit.


"RJ Fleener" wrote:

Hello All,

I am trying to get a formula set up that will look at multiple colums, and
produce output in a particular column based on the checks made. It's a
boolean thing; here's an example:

In column A, I have dates in the format mm/dd/yy, in column B, I have text
that can be one of four selections: Resolved, In Progress, Assigned, New. I
need to compare column A against:

1. Today's date. If column A is earlier than today's date, AND column B is
"Resolved", I need to set column C to "No."
2. Today's date. If column A is later than today's date, AND column B is
anything but "Resolved", I need to set column C to "Yes".
3. Today's date. If column A is later than today's date, and column B is
"Resolved", I need to set column C to "No".
4. Today's date. If column A is later than today's date, and column B is
anything but "Resolved", I need to set column C to "No".

I've tried multiple variations of the IF, AND, OR worksheet functions, and
either it sets them all to the same thing (60 rows in column C) or gives me a
zero in column C. Also thought of using VLOOKUP, but could not make that
work either. Can sombody help me figure out the necessary cell formula that
goes in column C, please? Thanks in advance!

--
- RJF


I'll give this a try and see if it works out...thanks!

--
- RJF



Follow-up: Your solution works; thanks for the assist!

--
- RJF


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Format text 'dates' to real dates Jacy Excel Worksheet Functions 4 July 24th 06 02:10 AM
Converting numbers stored as dates to text in Excel David from Furdale Excel Discussion (Misc queries) 1 July 17th 06 06:34 PM
Multiple dates, times, or formulas in a single cell PM-S Excel Discussion (Misc queries) 2 January 12th 06 04:19 AM
dates and text Sloth Excel Discussion (Misc queries) 0 November 18th 05 04:16 PM
COUNTIF With Multiple Dates, Columns and Text Shannon Excel Worksheet Functions 4 November 26th 04 11:12 PM


All times are GMT +1. The time now is 07:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"