Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Name appears twice in 15 days

i want to run a check if the same name appears twice in fifteen days of
period. should i write a macro or a function if so which function

--
Nisha P
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Name appears twice in 15 days

Say the names are in column A and the dates are in column B. First sort cols
A & B by A and then by B.

This will put all the names in groups sorted by date. Then in C2 enter:

=IF(AND(A1=A2,ABS(B1-B2)<15),"x","") and copy down
--
Gary''s Student - gsnu200847


"nishkrish" wrote:

i want to run a check if the same name appears twice in fifteen days of
period. should i write a macro or a function if so which function

--
Nisha P

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Name appears twice in 15 days

i have same data column A is Date column B is Name but its a running database
i cannot sort or dont have time to take it to different worksheet and work
like this i want either to write a macro which will automatically check for
name once you type in or write a function.
--
Nisha P


"Gary''s Student" wrote:

Say the names are in column A and the dates are in column B. First sort cols
A & B by A and then by B.

This will put all the names in groups sorted by date. Then in C2 enter:

=IF(AND(A1=A2,ABS(B1-B2)<15),"x","") and copy down
--
Gary''s Student - gsnu200847


"nishkrish" wrote:

i want to run a check if the same name appears twice in fifteen days of
period. should i write a macro or a function if so which function

--
Nisha P

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
message box appears and appears Wanna Learn Excel Discussion (Misc queries) 1 January 14th 09 06:19 PM
Employee days worked (-Holidays, -weekends, Snow Days, etc) Denise Excel Discussion (Misc queries) 2 December 31st 08 04:37 PM
Calc days between two dates and exclude leap year days scoz Excel Worksheet Functions 5 November 23rd 07 03:58 PM
Conditional Formatting Dates calculating 10 days and 30 days from a certain date Sioux[_2_] Excel Worksheet Functions 2 October 11th 07 02:04 PM
COUNT how many ROWS ago out of 10 days that the highest high in 10 days was made rhhince Excel Worksheet Functions 1 January 14th 07 09:56 PM


All times are GMT +1. The time now is 07:45 AM.

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

About Us

"It's about Microsoft Excel"