Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Find records between two dates & check a box for each positive result

Hi all,

I'm hoping someone may be able to start me off in the righ
direction

I have an excel sheet of approximately 900 rows, I wish to code in
function that gives the user a form to enter a start date. And the
search through the 900 rows and find all records between (User Input
and now (I believe it will be 7 days).

With each positive result I would like to check a checkbox on eac
record.


Any pointers in the right direction would be greatly appreciated.

Thankyou in advance,


Mark
:confused

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Find records between two dates & check a box for each positive result

Sounds like something better done in a sheet

Dates in A2:A900
Enter your search date in B1
Formula in B2:B900. Enter it in b2 and copy down.
=IF($A2=$B$1,IF($A2<=NOW(),1,0),0)

You could then filter the results to just show the valid results, do a sum
to get the number of valids, sumproduct with another column to get a total,
etc.

Robin Hammond
www.enhanceddatasystems.com


"seals " wrote in message
...
Hi all,

I'm hoping someone may be able to start me off in the right
direction

I have an excel sheet of approximately 900 rows, I wish to code in a
function that gives the user a form to enter a start date. And then
search through the 900 rows and find all records between (User Input)
and now (I believe it will be 7 days).

With each positive result I would like to check a checkbox on each
record.


Any pointers in the right direction would be greatly appreciated.

Thankyou in advance,


Mark



---
Message posted from http://www.ExcelForum.com/



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
Negative Numbers Have Positive Result Les Excel Discussion (Misc queries) 4 October 30th 07 01:10 AM
Cell formula where result to be Positive only Freddie Excel Discussion (Misc queries) 4 February 1st 06 03:40 PM
Convert a negative result to a positive result Tom Ogilvy Excel Programming 0 October 21st 03 03:09 PM
Convert a negative result to a positive result Tom Ogilvy Excel Programming 0 October 21st 03 03:07 PM
Convert a negative result to a positive result Chip Pearson Excel Programming 0 October 21st 03 02:57 PM


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

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"