Select Month, get the dates

```Hi,

I want to be able to select the month from the drop down list and once the
month is selected, I want the first date cell to change itself to the first
date of the month selected. For rest of the date cells I have just used the
formula "First date cell + 1"

any help will be appreciated!!

Thanks a lot in advance.

P.S. - Sorry for posting this in two forums. I realized later that this one
is probably the right place to post it. Thanks.

```
 0
Gaurav
5/7/2010 4:46:25 PM
excel.worksheet.functions 4936 articles. 2 followers.

2 Replies
524 Views

Similar Articles

[PageSpeed] 16

```Assuming you select the month by giving a number 1-12, the formual is:
(assuming year 2010)
=DATE(2010,A2,1)

Or, if the drop down list is actually a list of various dates, and you're
choosing a specific month:
=DATE(YEAR(A2),MONTH(A2),1)

--
Best Regards,

Luke M
"Gaurav" <myselfgaurav@gmail.com> wrote in message
news:OEKayVg7KHA.4508@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> I want to be able to select the month from the drop down list and once the
> month is selected, I want the first date cell to change itself to the
> first
> date of the month selected. For rest of the date cells I have just used
> the
> formula "First date cell + 1"
>
> any help will be appreciated!!
>
> Thanks a lot in advance.
>
> P.S. - Sorry for posting this in two forums. I realized later that this
> one is probably the right place to post it. Thanks.
>
>

```
 0
Luke
5/7/2010 5:44:00 PM
```See answer in other group

"Gaurav" <myselfgaurav@gmail.com> wrote in message
news:OEKayVg7KHA.4508@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> I want to be able to select the month from the drop down list and once the
> month is selected, I want the first date cell to change itself to the
> first
> date of the month selected. For rest of the date cells I have just used
> the
> formula "First date cell + 1"
>
> any help will be appreciated!!
>
> Thanks a lot in advance.
>
> P.S. - Sorry for posting this in two forums. I realized later that this
> one is probably the right place to post it. Thanks.
>
>
```
 0
Bernard
5/7/2010 6:31:43 PM
 Reply:

Similar Artilces:

How can I get changes to styles to "stick"?
I'm using Publisher 2002 (Office XP). I have a custom style applied to text. If I change the style (font size, font weight, line spacing), the change appears in the document as I'd expect. But if I save and close the document, and then reopen the file, the changes to the style have disappeared. The text looks as it did before I made the style changes. I've used styles in Word for years and have never had this problem. What might I be stumbling over that could cause this problem in Publisher? Thanks. You might have to apply the font style manually. PUB2002: Font Schemes ...

Combo box list selection based on earlier selection by user
HI, I have a form that has a combo box 1 (Product) that reads a the Product table and has a unique id attached to each product (RO#). There is a second combo box 2 that is RO#. Now what I would like to do is when a user selects a Product in combo box 1, the system should lookup the Product selected from combo box 1 and upload the corresponding RO# in the combo box 2 list. Now I am using both combo boxes as Unbound and in the combo box 2 I have the two columns Product and RO# - in the Criteria row of RO# I have the following: Like IIf([Forms]![xa_f_lookup]![RO#]=" ",[Forms]![x...

Run report on multi selected records.
I try to make a report for a custom entity that works like the Account Summary: let's say that it's Customer's Inquiry Summary for entity Customer's Inquiry I made the report so that I'm able to run the report on Customer's Inquiry Form. But when I select multi records in the list of Customer's Inquiry and run report, only one record is show in one page of the the report. I would like to have the selected records appear in the report with each record on each page. How can I do this? ...

date formatting problem: x axis
I have several chart files that are all the same except for one that seems to go back to a formatting problem. I can't remember how I fixed it last time, which was temporary anyway. Problem is this: I am using mostly end of year dates (12/31/94, 12/31/95, etc.) However on my x axis it shows Dec-94, everytime I try to reformat it to the correct format(xx/xx/xx), I get 12/01/94, 12/01/95, etc. Always the first day of the month instead of the last. I'm not having these problems with all the others similar files. The only difference I have seen between the files is the &qu...

Getting Reminders when Outlook is not started
I love the remnder feature of Outlook, but If Outlook isn't started, then I never see my reminders. Is there a way, or utility that will allow my reminders to pop up even if Outlook has not started? Thanks in advanced! Chaz Xaos <chazperx@yahoo.com> wrote: > I love the remnder feature of Outlook, but If Outlook isn't started, > then I never see my reminders. Is there a way, or utility that will > allow my reminders to pop up even if Outlook has not started? I don't know of any program that will perform is job when it's not running, do you? -- Brian Tillm...

Comparative sales reports by day, week, month and year
Is there a way to program comparative sales report by time period using Active Reports or must I use Crystal Reports? An example is a sales report comparing sales for two months; two seperate columns with each column displaying the sales figures for requested months. ...

Can't select objects in Excel 2007
I'm trying to create a form in Excel 2007, and although I can manipulate, copy & paste controls (check boxes, etc) I can't select multiple objects to align them, etc. I've checked on-line help (and have followed the instructions), and other websites, but no one seems to have indicated a problem. It is extremely cumbersome and I need a solution. Any ideas? Thanks in advance, Jim Berglund I know this is about a year too late, but it may help others who have stumbled across this page looking for similar help. On the Home tab, in the Editing group, click Find & Select....

Counting number of dates in a column
Hi - Is there a way to count the number of dates in a column that contains both text and dates ? thanks, Rick Hi Rick try =SUMPRODUCT(--(ISNUMBER(A1:A1000))) -- Regards Frank Kabel Frankfurt, Germany Rick wrote: > Hi - Is there a way to count the number of dates in a > column that contains both text and dates ? > > thanks, > > Rick Thanks Frank ! Quick question - what do the two dashes do in the formula? thx Rick >-----Original Message----- >Hi Rick >try >=SUMPRODUCT(--(ISNUMBER(A1:A1000))) > >-- >Regards >Frank Kabel >Frankfurt, G...

automatically update chart plotting current month and previous 6
I need to automatically update a chart every month for a report but I only want to plot the current month and six months back each time. For example Feb-Aug for the Aug report then for the Sept report plot Mar-Sept. Any suggestions? This example shows how to plot the last 12 months. Perhaps you can adapt it to cover the last 7 months: http://peltiertech.com/Excel/Charts/DynamicLast12.html - Jon ------- Jon Peltier, Microsoft Excel MVP Peltier Technical Services Tutorials and Custom Solutions http://PeltierTech.com/ _______ Jane wrote: > I need to automatically update a chart ev...

I can't get the exact error meaning.
I try to create a query with the following code(copied from SDK). The server name is just changed , but it always tell the error below, I could not get the exact meaning of this error message, I checked my XML string when debugging, I think it is in correct format, so could someone help me? Thanks a lot. --------------------------------------------------- ErrorMessage: SOAP Server Application Faulted <detail> <error> <code>80041a04</code> <description>A parse error was encountered in the XML</description> <details>A tag was encountered whe...

Vertical line on column chart with monthly data
I am attempting to add a vertical line to a dynamic column chart. I've followed the steps described by Jon Peltier at http://peltiertech.com/Excel/Charts/AddLineVertSeries.html This procedure works fine until I change the base unit on the x-axis to "Days." This causes the columns to turn into vertical lines (since each monthly observation is really for, e.g., 6/1/2007). If I leave the x-axis as monthly and then add the secondary x-axis for the vertical (xy scatter) line, the scale on the secondary x-axis goes from 1/1/1900 - 12/1/2036, which shoves my vertical line far t...

Lot Selection not Showing when I select PO on Receiving Entry
Usually, the Lot selection screen would pop up when I select a PO at the Line Detail of the Receivings Entry, now it does not! And GP will let items post without a lot number! It seems as if a setting has changed. Any ideas anyone? Any help is appreciated. Thanks, R Are you sure the item is marked to track lots? This wiould be set item by item on the Item Maintenance Options window. -- Richard L. Whaley Author / Consultant / MVP 2006-2008 Documentation for Software Users Get our Free Tips and Tricks Newsletter and check out our books at http://www.AccoladePublications.com &q...

Select contact then hangs
Hi, please help. I have a user that when she selects a contact using To: in a new email, after selecting 2, it closes outlook??. Spec is W2kSP4\office2k with all windows updates and office updates installed. Profile has been deleted and re-created, plus i have set up personal folders and moved contacts into there, and set that folder as a default, but makes no difference. Please help. ...

Selecting rows from various sheets
Hi all, I have several sheets with a few columns in each. One colum in each sheet has a unique value. Most of these unique values are th same in each sheet but not all. Is there any way that I can set up new sheet that will have the unique value in column 1 and th corresponding column values frommeach sheet beside it. For example Sheet 1 aa 1 1 1 bb 2 2 2 cc 3 3 3 Sheet 2 aa 4 4 cc 5 5 Result aa 1 1 1 4 4 bb 2 2 2 cc 3 3 3 5 5 Thanks alot, Sha -- sha ----------------------------------------------------------------------- shav's Profile: http...

select text in Calendar
I'm working on a calendar in Publisher. I'm adding text into a cell by spacing down 1 point, then typing in 8 points. Doing fine until April. At that time, I can only select cells (whole days). It will not let me select the text. Help is no help. Any hints out there. Did I accidentally select something to do this? Bonnie Have you added a picture to the cell or a shape? If you have send it to the back, make the cell no fill and try again. -- Mary Sauer MSFT MVP http://office.microsoft.com/ http://msauer.mvps.org/ news://msnews.microsoft.com "GoBonnieGo" <GoB...

How do I project monthly income in Excel?
If I want to project my income or cost for Nov. or Dec. and have values in the other months, how can I project what my income or cost would be for November or December based on the other months? A lot of this depends on the nature of your income and / or expenses, which may change from month to month. For instance, your heating expense bill will increase in winter and decrease in summer. Your summer vacation expenses go up in summer (duh) and decrease in winter. When I have to do this work I try to base it on the key drivers for the particular expense. For instance, in a previous life ...

SOP Actual Ship Date
In SOP setup, we do not use a Separate Fulfillment process. So, I'm assuming the Actual Ship date defaults from either the system date or the order date on the date the order is created (because it's also fulfilled on that date). Is there any way that we can have the Actual Ship date default to the Invoice date at the time the order is transferred to an invoice? We're trying to get a SmartList that shows (by item) Order Date AND Actual Ship Date/Invoice Date. Is this possible some other way without SmartList Builder? Elaine, 1. Is there any way that we can h...

macro to filter data based on selected data
Hi, I am looking for a macro that requests input of a reference code and then a date and then filters the data in my spreadsheet based on this criteria. I am using excel 2007. Any help with this will be greatly appreciated. You can probably record a macro while doing it manually and then clean it up and add input boxes to ask the question or input your variable in a cell and use that. If all else fails, If desired, send your file to my address below. I will only look if: 1. You send a copy of this message on an inserted sheet 2. You give me the newsgroup and the ...

Date formula needed
Hi I need a couple of date formulas for invoices recieved, eg. invoice date is 14/03/2010, payment terms are end of month following. so i need excel to calculate that the due date is in this case 1/05/2010 is the due date. Try =DATE(YEAR(A1),MONTH(A1)+2,1) -- Jacob (MVP - Excel) "d7" wrote: > Hi I need a couple of date formulas for invoices recieved, eg. invoice date > is 14/03/2010, payment terms are end of month following. so i need excel to > calculate that the due date is in this case 1/05/2010 is the due date. > > > Unless ...

Link select with a blast
I have Win 7 Home Premium, x64. Quite often, when I select a link, a mouse pointer changes to a palm with a blast. I understand, the palm is the standard mouse pointer for link select, but what is the blast? What it indicates? -- Ilya Zeldes Fort Myers, Florida Hi Ilya, I suspect that this is being caused by a tracking program. Run something like Ad-Aware and see if it indicates a tracking company. If so, you can delete it, however, it might prevent you from accessing that particular website. Dave "Ilya Zeldes" wrote in message news:7A6FF9B1-5512-44...

Getting information from strings
Hi, I have created a database which takes the audit history of tickets, and stores it in a memo field. I have some code which will examine this field to find the first team that a ticket was assigned to, however I have a requirement to build an "assignment history". This history should consist of each team in turn that the ticket was assigned to, which will be output to a text file (I have written code for outputting to the file). I have tried using left\$ and right\$ to no avail, so any advice I could get would be great. For information, every time a ticket is assigned, an ...

Australian dates in access
Hey all, I have a control box in my form that asks the user to enter a date. It then takes the date and turns it into the default date so that it will show up on the next record. It accepts the date and saves it to the table in the correct format (dd/mm/yyyy) but then when it copies it over to the next form it converts the date into american format (mm/dd/yyyy). I have worked out it must be something to do with the code. This is what I currently have in the relevant section of coding. Private Sub DateFirstSession_AfterUpdate() DateFirstSession.DefaultValue = "#"...

is PHStat available and if so how do I get to it
I need help asap Tamika - > I need help asap < PHStat is Prentice Hall's statistical add-in for Excel. It's usually on the CD that's included with the textbook. For more info, try www.prenhall.com/phstat - Mike www.mikemiddleton.com ...

Select Case in a Change Event
Hi, I am trying to use a worksheet Change Event to trap changes to specific columns. depending on which column is chnaged by the user, the value in another ciolumn will be altered; so, changes in either column O or P will update column Q, changes in either column T or U will update column V and changes in column Z or AA will update column AB. What I can't figure out is the Select Case bit (where I've got the shouted question below). Here's what I've put together, any comments would be much appreciated. Private Sub Worksheet_Change(ByVal Target As Range) ...

Select Records based another table...
This may be very elementary, but i can't wrap my brain around it. I have tried to dummy it down as much as i can for myself, with plans of adapting it into something working. I have three tables that look like the following: Tbl 1: ProdID A B C 1 \$1 \$2 \$3 2 \$4 \$5 \$6 3 \$7 \$8 \$9 Tbl 2: RmNum ProdID 1 3 1 2 2 1 2 2 Tbl 3: RmNum Style 1 A 2 C Relationships are: [tbl1 ProdID] ------ [tbl2 ProdID] [tbl2 RmNum] ...