Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default IF statements with Dates

I'm trying to make a stock worksheet that gives me my stock data with a MS
Money web query. That works fine, what isn't working is, I have a worksheet
called "Daily stocks" with dates starting in A3 and starts with todays date
(todays date because I can't get my IF statement to work) and ends in 2009.
I also have my stocks starting in B1 and ending in P1.

Now to the problem

On my daily stocks sheet I want the stocks to post automatically in on the
date given and that works great. The stocks show up fine. The problem is,
when the date changes to the next day, (say, April 27th) the stock quots in
April 26 go blank or displays a 0. How can I make it so when the date
changes the cells are left alone in the previous date cells?


This is my formula:

=IF(TODAY()=$A3,'Dons Stock'!$G$8,"")

I want to copy that formula (or one that works) into all the cells down to
2009. But I want the previous date stocks to be left alone when the date
changes to today, and the new stocks inserted for that day in that date. Any
ideas would be grateful.

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 623
Default IF statements with Dates

If seems to me you need to copy the data, rather than use an If statement. Why
not copy the data to the appropriate row where you are trying to store it?

--
Regards,
Fred


"Excel_Headache" wrote in message
...
I'm trying to make a stock worksheet that gives me my stock data with a MS
Money web query. That works fine, what isn't working is, I have a worksheet
called "Daily stocks" with dates starting in A3 and starts with today's date
(today's date because I can't get my IF statement to work) and ends in 2009.
I also have my stocks starting in B1 and ending in P1.

Now to the problem

On my daily stocks sheet I want the stocks to post automatically in on the
date given and that works great. The stocks show up fine. The problem is,
when the date changes to the next day, (say, April 27th) the stock quots in
April 26 go blank or display's a 0. How can I make it so when the date
changes the cells are left alone in the previous date cells?


This is my formula:

=IF(TODAY()=$A3,'Dons Stock'!$G$8,"")

I want to copy that formula (or one that works) into all the cells down to
2009. But I want the previous date stocks to be left alone when the date
changes to today, and the new stocks inserted for that day in that date. Any
ideas would be grateful.

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default IF statements with Dates

Thanks for the response, but what I would like it to do is update on its own
on each date. Keep the old data in the previous date and add new data in
today's date. That way I can keep track of my daily stocks and make a graph
without having to on a webpage to check. And I also don't want to have to do
it manually. Its a simple request but difficult to do.

"Fred Smith" wrote:

If seems to me you need to copy the data, rather than use an If statement. Why
not copy the data to the appropriate row where you are trying to store it?

--
Regards,
Fred


"Excel_Headache" wrote in message
...
I'm trying to make a stock worksheet that gives me my stock data with a MS
Money web query. That works fine, what isn't working is, I have a worksheet
called "Daily stocks" with dates starting in A3 and starts with today's date
(today's date because I can't get my IF statement to work) and ends in 2009.
I also have my stocks starting in B1 and ending in P1.

Now to the problem

On my daily stocks sheet I want the stocks to post automatically in on the
date given and that works great. The stocks show up fine. The problem is,
when the date changes to the next day, (say, April 27th) the stock quots in
April 26 go blank or display's a 0. How can I make it so when the date
changes the cells are left alone in the previous date cells?


This is my formula:

=IF(TODAY()=$A3,'Dons Stock'!$G$8,"")

I want to copy that formula (or one that works) into all the cells down to
2009. But I want the previous date stocks to be left alone when the date
changes to today, and the new stocks inserted for that day in that date. Any
ideas would be grateful.

Thanks.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 623
Default IF statements with Dates

As powerful as Excel is, it isn't yet capable of 'updating on its own'.

When you're prepared to do some work, let us know. The solution won't be that
difficult. There have to be thousands of people who keep track of stocks on a
daily basis.

--
Regards,
Fred


"Excel_Headache" wrote in message
...
Thanks for the response, but what I would like it to do is update on its own
on each date. Keep the old data in the previous date and add new data in
today's date. That way I can keep track of my daily stocks and make a graph
without having to on a webpage to check. And I also don't want to have to do
it manually. It's a simple request but difficult to do.

"Fred Smith" wrote:

If seems to me you need to copy the data, rather than use an If statement.
Why
not copy the data to the appropriate row where you are trying to store it?

--
Regards,
Fred


"Excel_Headache" wrote in message
...
I'm trying to make a stock worksheet that gives me my stock data with a MS
Money web query. That works fine, what isn't working is, I have a worksheet
called "Daily stocks" with dates starting in A3 and starts with today's
date
(today's date because I can't get my IF statement to work) and ends in
2009.
I also have my stocks starting in B1 and ending in P1.

Now to the problem

On my daily stocks sheet I want the stocks to post automatically in on the
date given and that works great. The stocks show up fine. The problem is,
when the date changes to the next day, (say, April 27th) the stock quots in
April 26 go blank or display's a 0. How can I make it so when the date
changes the cells are left alone in the previous date cells?


This is my formula:

=IF(TODAY()=$A3,'Dons Stock'!$G$8,"")

I want to copy that formula (or one that works) into all the cells down to
2009. But I want the previous date stocks to be left alone when the date
changes to today, and the new stocks inserted for that day in that date.
Any
ideas would be grateful.

Thanks.






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default IF statements with Dates

Wow, Fred, you win the Most ineffectual replies of the year award! I dont
want excel to update on its own, what I wanted was a formula to make it
update on its own. But thank you for nothing.

"Fred Smith" wrote:

As powerful as Excel is, it isn't yet capable of 'updating on its own'.

When you're prepared to do some work, let us know. The solution won't be that
difficult. There have to be thousands of people who keep track of stocks on a
daily basis.

--
Regards,
Fred


"Excel_Headache" wrote in message
...
Thanks for the response, but what I would like it to do is update on its own
on each date. Keep the old data in the previous date and add new data in
today's date. That way I can keep track of my daily stocks and make a graph
without having to on a webpage to check. And I also don't want to have to do
it manually. It's a simple request but difficult to do.

"Fred Smith" wrote:

If seems to me you need to copy the data, rather than use an If statement.
Why
not copy the data to the appropriate row where you are trying to store it?

--
Regards,
Fred


"Excel_Headache" wrote in message
...
I'm trying to make a stock worksheet that gives me my stock data with a MS
Money web query. That works fine, what isn't working is, I have a worksheet
called "Daily stocks" with dates starting in A3 and starts with today's
date
(today's date because I can't get my IF statement to work) and ends in
2009.
I also have my stocks starting in B1 and ending in P1.

Now to the problem

On my daily stocks sheet I want the stocks to post automatically in on the
date given and that works great. The stocks show up fine. The problem is,
when the date changes to the next day, (say, April 27th) the stock quots in
April 26 go blank or display's a 0. How can I make it so when the date
changes the cells are left alone in the previous date cells?


This is my formula:

=IF(TODAY()=$A3,'Dons Stock'!$G$8,"")

I want to copy that formula (or one that works) into all the cells down to
2009. But I want the previous date stocks to be left alone when the date
changes to today, and the new stocks inserted for that day in that date.
Any
ideas would be grateful.

Thanks.









  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 623
Default IF statements with Dates

Any time.

--
Regards,
Fred


"Excel_Headache" wrote in message
...
Wow, Fred, you win the "Most ineffectual replies of the year" award! I don't
want excel to 'update on its own,' what I wanted was a formula to make it
update on its own. But thank you for nothing.

"Fred Smith" wrote:

As powerful as Excel is, it isn't yet capable of 'updating on its own'.

When you're prepared to do some work, let us know. The solution won't be that
difficult. There have to be thousands of people who keep track of stocks on a
daily basis.

--
Regards,
Fred


"Excel_Headache" wrote in message
...
Thanks for the response, but what I would like it to do is update on its
own
on each date. Keep the old data in the previous date and add new data in
today's date. That way I can keep track of my daily stocks and make a graph
without having to on a webpage to check. And I also don't want to have to
do
it manually. It's a simple request but difficult to do.

"Fred Smith" wrote:

If seems to me you need to copy the data, rather than use an If statement.
Why
not copy the data to the appropriate row where you are trying to store it?

--
Regards,
Fred


"Excel_Headache" wrote in
message
...
I'm trying to make a stock worksheet that gives me my stock data with a
MS
Money web query. That works fine, what isn't working is, I have a
worksheet
called "Daily stocks" with dates starting in A3 and starts with today's
date
(today's date because I can't get my IF statement to work) and ends in
2009.
I also have my stocks starting in B1 and ending in P1.

Now to the problem

On my daily stocks sheet I want the stocks to post automatically in on
the
date given and that works great. The stocks show up fine. The problem
is,
when the date changes to the next day, (say, April 27th) the stock quots
in
April 26 go blank or display's a 0. How can I make it so when the date
changes the cells are left alone in the previous date cells?


This is my formula:

=IF(TODAY()=$A3,'Dons Stock'!$G$8,"")

I want to copy that formula (or one that works) into all the cells down
to
2009. But I want the previous date stocks to be left alone when the date
changes to today, and the new stocks inserted for that day in that date.
Any
ideas would be grateful.

Thanks.









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
If Statements with Dates Erika Excel Discussion (Misc queries) 6 March 29th 07 11:28 AM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
If statements and Dates Sue New Users to Excel 4 April 21st 06 05:02 PM
Dates in IF statements ScottEslick Excel Discussion (Misc queries) 8 January 20th 06 12:49 AM
if statements & dates? Lynn Excel Worksheet Functions 1 September 19th 05 04:19 PM


All times are GMT +1. The time now is 02:49 PM.

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"