Date Recognising Formula

BravoBravo

New Member
Joined
Aug 10, 2008
Messages
14
Hello.

Hopefully someone can be of assistance!

I have a workbook with three worksheets - 1st is an event register, 2nd is a calender (manually done, with no formulas due to format problems I couldn't solve), 3rd is a summary.

I am trying to work out the following;
The first column of the 1st sheet (event register) requires a date.
The second column requires an 'event', from a drop box or list (of seven possibilities). These are working fine.

Is there a formula I can use theat when a user enters a date, say 1 Jan 08 (or the format is "Thursday, 1 January 2008") AND a certain event, say "CALL" that this will automatically populate the next worksheet (calender) on that corresponding date (1 Jan 08)?????

There are seven possibilities for each date (eight including "blank" or ""), which I am sure I will be able to extend to each day of the calender once I work this formula out.

I have already formulated the second worksheet (calender) to count the freqency of events into the third worksheet (summary). Hopefully these wont effect the formula I am looking for.

Thanks in advance!
 
First Sheet:
Book1
ABCD
1DateEvent
2Sunday,March02,2008Call
3Friday,March07,2008
4Saturday,March22,2008Call
5Tuesday,March25,2008
6Thursday,March06,2008
7Monday,March03,2008
8Saturday,March29,2008
9Friday,March14,2008Call
10Saturday,March08,2008
11Saturday,March15,2008
Sheet1


Second Sheet:
Book1
ABCD
1Saturday,March01,20080
2Sunday,March02,2008Call
3Monday,March03,20080
4Tuesday,March04,20080
5Wednesday,March05,20080
6Thursday,March06,20080
7Friday,March07,20080
8Saturday,March08,20080
9Sunday,March09,20080
10Monday,March10,20080
11Tuesday,March11,20080
12Wednesday,March12,20080
13Thursday,March13,20080
14Friday,March14,2008Call
15Saturday,March15,20080
16Sunday,March16,20080
17Monday,March17,20080
18Tuesday,March18,20080
19Wednesday,March19,20080
20Thursday,March20,20080
21Friday,March21,20080
22Saturday,March22,2008Call
23Sunday,March23,20080
24Monday,March24,20080
25Tuesday,March25,20080
26Wednesday,March26,20080
27Thursday,March27,20080
28Friday,March28,20080
29Saturday,March29,20080
30Sunday,March30,20080
Sheet2


Formula in cell B2 on sheet2 copied down:

PHP:
=IF(ISNA(INDEX(Sheet1!$A$2:$B$11,MATCH(Sheet2!$A1,Sheet1!$A$2:$A$11,FALSE),2)),0,INDEX(Sheet1!$A$2:$B$11,MATCH(Sheet2!$A1,Sheet1!$A$2:$A$11,FALSE),2))

You can replace the zeros with blanks in column B in sheet2. Just replace the above formula with the one shown below:

PHP:
IF(ISNA(INDEX(Sheet1!$A$2:$B$11,MATCH(Sheet2!$A1,Sheet1!$A$2:$A$11,FALSE),2)),"",INDEX(Sheet1!$A$2:$B$11,MATCH(Sheet2!$A1,Sheet1!$A$2:$A$11,FALSE),2))

I hope this is what you are trying to accomplish ?
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,216,755
Messages
6,132,519
Members
449,733
Latest member
Nameless_

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top