Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Creating a "To Do" List


My objective is to create a list of actions to be taken today. On one
worksheet I have dates in
Column A which are in order 1/1/05, 1/2/05, 1/3/05, etc. In column B there
is a different activity
for each day. Obviously it is easy to use VLOOKUP Today() to capture
todays activity and print it in a column 1 on a report.

In Column C the dates are in random order and many cells are blank.
Whenever there is a date in
Column C there is an accompanying activity in Column D. How can I capture
todays activity
and print it in column 2 of the report? What happens if todays date
appears twice in Column C?

Thank you in advance for any ideas you can offer.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Creating a "To Do" List

Here is one way, but it requires one more column.

Firstly in B1, enter this formula

=IF(Sheet2!$C$1:$C$100<TODAY(),"",ROW())

and copy down to say B100 (assuming 100 tasks for a day is the limit ;-)).

Then select all of the cells C1:C100, and copy this formula into the formula
bar and commit it with Ctrl-Shift-Enter

=IF(ROW(Sheet2!$C$1:$C$100)-ROW(Sheet2!C1)+1COUNT(B1:B100),"",
INDEX(Sheet2!D:D,SMALL(B1:B100,ROW(INDIRECT("1:"&R OWS(Sheet2!$C$1:$C$100))))
))

You should see numbers with gaps in column B, and the tasks with no gaps in
column C.

It can all be don e in one formula, but I can't find where I did that at the
moment.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"VJ7777" wrote in message
...

My objective is to create a list of actions to be taken today. On one
worksheet I have dates in
Column A which are in order 1/1/05, 1/2/05, 1/3/05, etc. In column B

there
is a different activity
for each day. Obviously it is easy to use VLOOKUP Today() to capture
today's activity and print it in a column 1 on a report.

In Column C the dates are in random order and many cells are blank.
Whenever there is a date in
Column C there is an accompanying activity in Column D. How can I capture
today's activity
and print it in column 2 of the report? What happens if today's date
appears twice in Column C?

Thank you in advance for any ideas you can offer.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Creating a "To Do" List

Sorry, does work, but first formula should be

=IF(Sheet2!$C1<TODAY(),"",ROW())

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Here is one way, but it requires one more column.

Firstly in B1, enter this formula

=IF(Sheet2!$C$1:$C$100<TODAY(),"",ROW())

and copy down to say B100 (assuming 100 tasks for a day is the limit ;-)).

Then select all of the cells C1:C100, and copy this formula into the

formula
bar and commit it with Ctrl-Shift-Enter

=IF(ROW(Sheet2!$C$1:$C$100)-ROW(Sheet2!C1)+1COUNT(B1:B100),"",

INDEX(Sheet2!D:D,SMALL(B1:B100,ROW(INDIRECT("1:"&R OWS(Sheet2!$C$1:$C$100))))
))

You should see numbers with gaps in column B, and the tasks with no gaps

in
column C.

It can all be don e in one formula, but I can't find where I did that at

the
moment.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"VJ7777" wrote in message
...

My objective is to create a list of actions to be taken today. On one
worksheet I have dates in
Column A which are in order 1/1/05, 1/2/05, 1/3/05, etc. In column B

there
is a different activity
for each day. Obviously it is easy to use VLOOKUP Today() to capture
today's activity and print it in a column 1 on a report.

In Column C the dates are in random order and many cells are blank.
Whenever there is a date in
Column C there is an accompanying activity in Column D. How can I

capture
today's activity
and print it in column 2 of the report? What happens if today's date
appears twice in Column C?

Thank you in advance for any ideas you can offer.





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Creating a "To Do" List



"Bob Phillips" wrote:

Sorry, does work, but first formula should be

=IF(Sheet2!$C1<TODAY(),"",ROW())

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Here is one way, but it requires one more column.

Firstly in B1, enter this formula

=IF(Sheet2!$C$1:$C$100<TODAY(),"",ROW())

and copy down to say B100 (assuming 100 tasks for a day is the limit ;-)).

Then select all of the cells C1:C100, and copy this formula into the

formula
bar and commit it with Ctrl-Shift-Enter

=IF(ROW(Sheet2!$C$1:$C$100)-ROW(Sheet2!C1)+1COUNT(B1:B100),"",

INDEX(Sheet2!D:D,SMALL(B1:B100,ROW(INDIRECT("1:"&R OWS(Sheet2!$C$1:$C$100))))
))

You should see numbers with gaps in column B, and the tasks with no gaps

in
column C.

It can all be don e in one formula, but I can't find where I did that at

the
moment.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"VJ7777" wrote in message
...

My objective is to create a list of actions to be taken today. On one
worksheet I have dates in
Column A which are in order 1/1/05, 1/2/05, 1/3/05, etc. In column B

there
is a different activity
for each day. Obviously it is easy to use VLOOKUP Today() to capture
today's activity and print it in a column 1 on a report.

In Column C the dates are in random order and many cells are blank.
Whenever there is a date in
Column C there is an accompanying activity in Column D. How can I

capture
today's activity
and print it in column 2 of the report? What happens if today's date
appears twice in Column C?

Thank you in advance for any ideas you can offer.





Hi, Bob:

I tried to use your formula; couldn't make it work, so sent you an email
with sample records. Perhaps, due to spam, viruses, etc. you didn't receive
the email. Here is my version of your formula where the dates are in Column
M and the activities are in column K of the Kahley file:
Formula in Column B1 through B10 of the report:
=IF('D:\Server1 1.29.05\Daily 2005\[Kahley.xls]BPR'!$M$2<TODAY(),"",ROW())
Formula in Column C1 through C10 of the report:
{=IF(ROW('D:\Server1 1.29.05\Daily
2005\[Kahley.xls]BPR'!$M$2:$M$33)-ROW('D:\Server1 1.29.05\Daily
2005\[Kahley.xls]BPR'!$M$2)+1COUNT(B1:B10),"",INDEX('D:\Server1
1.29.05\Daily
2005\[Kahley.xls]BPR'!$K$2:$K$33,SMALL(B1:B10,ROW(INDIRECT("1:"&ROW S('D:\Server1 1.29.05\Daily 2005\[Kahley.xls]BPR'!$M$2:$M$33))))))}

You can see that Excel added some parentheses to your formula. Perhaps I
screwed it up.

Thank you for your help.
Vince

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
creating a "date selector box" or "pull down box" in a cell GaryK Excel Worksheet Functions 2 September 30th 09 01:45 AM
Creating an "If" Function with multiple "if"s SchizJoe Excel Worksheet Functions 3 April 6th 09 07:55 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
cannot use "Create List" and "Share Workbook" same time Devendra Excel Discussion (Misc queries) 0 October 26th 06 06:05 AM


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