#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Date Ranges

I am using excel 2007 and I have 4 columns; acct no, bill amt, enter date,
eff date.
I want to flag the records somehow if the "eff date" is with 90 days of the
"enter date". Is there some type of formula or IF statement I could use?

Thanks!
--
Bruce
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Date Ranges

I would add another column that returns true/false:
=abs(c2-d2)<=90

Then I could apply data|filter|autofilter to see the True's or false's.

Since I used =abs(), I didn't care if it was 90 days before or 90 days after.
You may want to change that formula to what you really want.

Bruce D. wrote:

I am using excel 2007 and I have 4 columns; acct no, bill amt, enter date,
eff date.
I want to flag the records somehow if the "eff date" is with 90 days of the
"enter date". Is there some type of formula or IF statement I could use?

Thanks!
--
Bruce


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default Date Ranges

Bruce - In the next column, use
=if(eff_date-enter_date<=90,"on time","late")
Alternatively, you could use conditional formatting to highlight or
otherwise identify records meeting your specification.

"Bruce D." wrote:

I am using excel 2007 and I have 4 columns; acct no, bill amt, enter date,
eff date.
I want to flag the records somehow if the "eff date" is with 90 days of the
"enter date". Is there some type of formula or IF statement I could use?

Thanks!
--
Bruce

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
SUM and IF using two date ranges TomR Excel Discussion (Misc queries) 2 January 3rd 10 04:36 PM
How do I get a new calculated date from different date ranges? Ann LeBlanc Excel Worksheet Functions 3 June 26th 09 01:56 PM
Date ranges Fortune Excel Worksheet Functions 1 March 28th 07 05:18 PM
compare date to various date ranges and sum value al Excel Worksheet Functions 2 January 10th 07 10:17 AM
sum of date ranges Tanya Excel Worksheet Functions 1 January 4th 05 04:11 AM


All times are GMT +1. The time now is 06:14 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"