PC Review


Reply
Thread Tools Rate Thread

copying date from one sheet to another work sheet

 
 
Jay
Guest
Posts: n/a
 
      25th Sep 2006
Hi,

I have Date column on sheet1 and i would like Date Columns to propagate
on other sheets

when i enter this formula on the sheet2

=A1

it displays 01/01/1900 if cell is empty on sheet1

If cell is empty i dont want to display that 01/01/1900 thing on the
other sheet

If sheet1 date column cell is empty and other sheet date column should
be empty no 01/01/1900 thingg.....

how do i rectify this

thank you in advance
regards
Jay

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      25th Sep 2006
=if(sheet2!a1="","",sheet2!a1)



Jay wrote:
>
> Hi,
>
> I have Date column on sheet1 and i would like Date Columns to propagate
> on other sheets
>
> when i enter this formula on the sheet2
>
> =A1
>
> it displays 01/01/1900 if cell is empty on sheet1
>
> If cell is empty i dont want to display that 01/01/1900 thing on the
> other sheet
>
> If sheet1 date column cell is empty and other sheet date column should
> be empty no 01/01/1900 thingg.....
>
> how do i rectify this
>
> thank you in advance
> regards
> Jay


--

Dave Peterson
 
Reply With Quote
 
Jay
Guest
Posts: n/a
 
      25th Sep 2006
Dave,

I had given this If statment , problem is if i give this if statement i
have another worksheet with the following formula

=SUMPRODUCT((MONTH('sheet2'!A9:A500)=1)*('sheet2'!K9:K500))

formula returns #Value error if i put if statement as you gave , If i
remove that IF statement , formula works perfectly ....

how to rectify this problem ?

thank you
jay
Dave Peterson wrote:
> =if(sheet2!a1="","",sheet2!a1)
>
>
>
> Jay wrote:
> >
> > Hi,
> >
> > I have Date column on sheet1 and i would like Date Columns to propagate
> > on other sheets
> >
> > when i enter this formula on the sheet2
> >
> > =A1
> >
> > it displays 01/01/1900 if cell is empty on sheet1
> >
> > If cell is empty i dont want to display that 01/01/1900 thing on the
> > other sheet
> >
> > If sheet1 date column cell is empty and other sheet date column should
> > be empty no 01/01/1900 thingg.....
> >
> > how do i rectify this
> >
> > thank you in advance
> > regards
> > Jay

>
> --
>
> Dave Peterson


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      25th Sep 2006
Maybe you can attack it slightly differently--not using =month()

=SUMPRODUCT(--(ISNUMBER(Sheet2!A9:A500)),
--(TEXT(Sheet2!A9:A500,"mm")="01"),
(Sheet2!K9:K500))

If this doesn't work, it's best to post your actual formula.

Jay wrote:
>
> Dave,
>
> I had given this If statment , problem is if i give this if statement i
> have another worksheet with the following formula
>
> =SUMPRODUCT((MONTH('sheet2'!A9:A500)=1)*('sheet2'!K9:K500))
>
> formula returns #Value error if i put if statement as you gave , If i
> remove that IF statement , formula works perfectly ....
>
> how to rectify this problem ?
>
> thank you
> jay
> Dave Peterson wrote:
> > =if(sheet2!a1="","",sheet2!a1)
> >
> >
> >
> > Jay wrote:
> > >
> > > Hi,
> > >
> > > I have Date column on sheet1 and i would like Date Columns to propagate
> > > on other sheets
> > >
> > > when i enter this formula on the sheet2
> > >
> > > =A1
> > >
> > > it displays 01/01/1900 if cell is empty on sheet1
> > >
> > > If cell is empty i dont want to display that 01/01/1900 thing on the
> > > other sheet
> > >
> > > If sheet1 date column cell is empty and other sheet date column should
> > > be empty no 01/01/1900 thingg.....
> > >
> > > how do i rectify this
> > >
> > > thank you in advance
> > > regards
> > > Jay

> >
> > --
> >
> > Dave Peterson


--

Dave Peterson
 
Reply With Quote
 
Jay
Guest
Posts: n/a
 
      25th Sep 2006
Dave,

its giving formula result 0

??/
Dave Peterson wrote:
> Maybe you can attack it slightly differently--not using =month()
>
> =SUMPRODUCT(--(ISNUMBER(Sheet2!A9:A500)),
> --(TEXT(Sheet2!A9:A500,"mm")="01"),
> (Sheet2!K9:K500))
>
> If this doesn't work, it's best to post your actual formula.
>
> Jay wrote:
> >
> > Dave,
> >
> > I had given this If statment , problem is if i give this if statement i
> > have another worksheet with the following formula
> >
> > =SUMPRODUCT((MONTH('sheet2'!A9:A500)=1)*('sheet2'!K9:K500))
> >
> > formula returns #Value error if i put if statement as you gave , If i
> > remove that IF statement , formula works perfectly ....
> >
> > how to rectify this problem ?
> >
> > thank you
> > jay
> > Dave Peterson wrote:
> > > =if(sheet2!a1="","",sheet2!a1)
> > >
> > >
> > >
> > > Jay wrote:
> > > >
> > > > Hi,
> > > >
> > > > I have Date column on sheet1 and i would like Date Columns to propagate
> > > > on other sheets
> > > >
> > > > when i enter this formula on the sheet2
> > > >
> > > > =A1
> > > >
> > > > it displays 01/01/1900 if cell is empty on sheet1
> > > >
> > > > If cell is empty i dont want to display that 01/01/1900 thing on the
> > > > other sheet
> > > >
> > > > If sheet1 date column cell is empty and other sheet date column should
> > > > be empty no 01/01/1900 thingg.....
> > > >
> > > > how do i rectify this
> > > >
> > > > thank you in advance
> > > > regards
> > > > Jay
> > >
> > > --
> > >
> > > Dave Peterson

>
> --
>
> Dave Peterson


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      25th Sep 2006
Then you either don't have any dates that are in January ins sheet2!a9:a500

Or you have numbers in K9:K500 that addup to 0 when limited to just January
dates.

Are you sure your "dates" are really dates--not just text that looks like dates?

Try typing in a date in one of those cells (01/01/2006 would work for me in my
USA settings) to see if the formula changes.

Jay wrote:
>
> Dave,
>
> its giving formula result 0
>
> ??/
> Dave Peterson wrote:
> > Maybe you can attack it slightly differently--not using =month()
> >
> > =SUMPRODUCT(--(ISNUMBER(Sheet2!A9:A500)),
> > --(TEXT(Sheet2!A9:A500,"mm")="01"),
> > (Sheet2!K9:K500))
> >
> > If this doesn't work, it's best to post your actual formula.
> >
> > Jay wrote:
> > >
> > > Dave,
> > >
> > > I had given this If statment , problem is if i give this if statement i
> > > have another worksheet with the following formula
> > >
> > > =SUMPRODUCT((MONTH('sheet2'!A9:A500)=1)*('sheet2'!K9:K500))
> > >
> > > formula returns #Value error if i put if statement as you gave , If i
> > > remove that IF statement , formula works perfectly ....
> > >
> > > how to rectify this problem ?
> > >
> > > thank you
> > > jay
> > > Dave Peterson wrote:
> > > > =if(sheet2!a1="","",sheet2!a1)
> > > >
> > > >
> > > >
> > > > Jay wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I have Date column on sheet1 and i would like Date Columns to propagate
> > > > > on other sheets
> > > > >
> > > > > when i enter this formula on the sheet2
> > > > >
> > > > > =A1
> > > > >
> > > > > it displays 01/01/1900 if cell is empty on sheet1
> > > > >
> > > > > If cell is empty i dont want to display that 01/01/1900 thing on the
> > > > > other sheet
> > > > >
> > > > > If sheet1 date column cell is empty and other sheet date column should
> > > > > be empty no 01/01/1900 thingg.....
> > > > >
> > > > > how do i rectify this
> > > > >
> > > > > thank you in advance
> > > > > regards
> > > > > Jay
> > > >
> > > > --
> > > >
> > > > Dave Peterson

> >
> > --
> >
> > Dave Peterson


--

Dave Peterson
 
Reply With Quote
 
Jay
Guest
Posts: n/a
 
      25th Sep 2006
i have dates and numbers on A9:A500 and K9:K500
but its giving 0

i have English UK settings

Dave Peterson wrote:
> Then you either don't have any dates that are in January ins sheet2!a9:a500
>
> Or you have numbers in K9:K500 that addup to 0 when limited to just January
> dates.
>
> Are you sure your "dates" are really dates--not just text that looks like dates?
>
> Try typing in a date in one of those cells (01/01/2006 would work for me in my
> USA settings) to see if the formula changes.
>
> Jay wrote:
> >
> > Dave,
> >
> > its giving formula result 0
> >
> > ??/
> > Dave Peterson wrote:
> > > Maybe you can attack it slightly differently--not using =month()
> > >
> > > =SUMPRODUCT(--(ISNUMBER(Sheet2!A9:A500)),
> > > --(TEXT(Sheet2!A9:A500,"mm")="01"),
> > > (Sheet2!K9:K500))
> > >
> > > If this doesn't work, it's best to post your actual formula.
> > >
> > > Jay wrote:
> > > >
> > > > Dave,
> > > >
> > > > I had given this If statment , problem is if i give this if statement i
> > > > have another worksheet with the following formula
> > > >
> > > > =SUMPRODUCT((MONTH('sheet2'!A9:A500)=1)*('sheet2'!K9:K500))
> > > >
> > > > formula returns #Value error if i put if statement as you gave , If i
> > > > remove that IF statement , formula works perfectly ....
> > > >
> > > > how to rectify this problem ?
> > > >
> > > > thank you
> > > > jay
> > > > Dave Peterson wrote:
> > > > > =if(sheet2!a1="","",sheet2!a1)
> > > > >
> > > > >
> > > > >
> > > > > Jay wrote:
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have Date column on sheet1 and i would like Date Columns to propagate
> > > > > > on other sheets
> > > > > >
> > > > > > when i enter this formula on the sheet2
> > > > > >
> > > > > > =A1
> > > > > >
> > > > > > it displays 01/01/1900 if cell is empty on sheet1
> > > > > >
> > > > > > If cell is empty i dont want to display that 01/01/1900 thing on the
> > > > > > other sheet
> > > > > >
> > > > > > If sheet1 date column cell is empty and other sheet date column should
> > > > > > be empty no 01/01/1900 thingg.....
> > > > > >
> > > > > > how do i rectify this
> > > > > >
> > > > > > thank you in advance
> > > > > > regards
> > > > > > Jay
> > > > >
> > > > > --
> > > > >
> > > > > Dave Peterson
> > >
> > > --
> > >
> > > Dave Peterson

>
> --
>
> Dave Peterson


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      25th Sep 2006
If you type:
=count(sheet2!a9:a500)
and
=counta(sheet2!a9:a500)

do you get the same number returned?

If you type:
=isnumber(a9)
(or any/all the other cells)
do you get TRUE returned?



Jay wrote:
>
> i have dates and numbers on A9:A500 and K9:K500
> but its giving 0
>
> i have English UK settings
>
> Dave Peterson wrote:
> > Then you either don't have any dates that are in January ins sheet2!a9:a500
> >
> > Or you have numbers in K9:K500 that addup to 0 when limited to just January
> > dates.
> >
> > Are you sure your "dates" are really dates--not just text that looks like dates?
> >
> > Try typing in a date in one of those cells (01/01/2006 would work for me in my
> > USA settings) to see if the formula changes.
> >
> > Jay wrote:
> > >
> > > Dave,
> > >
> > > its giving formula result 0
> > >
> > > ??/
> > > Dave Peterson wrote:
> > > > Maybe you can attack it slightly differently--not using =month()
> > > >
> > > > =SUMPRODUCT(--(ISNUMBER(Sheet2!A9:A500)),
> > > > --(TEXT(Sheet2!A9:A500,"mm")="01"),
> > > > (Sheet2!K9:K500))
> > > >
> > > > If this doesn't work, it's best to post your actual formula.
> > > >
> > > > Jay wrote:
> > > > >
> > > > > Dave,
> > > > >
> > > > > I had given this If statment , problem is if i give this if statement i
> > > > > have another worksheet with the following formula
> > > > >
> > > > > =SUMPRODUCT((MONTH('sheet2'!A9:A500)=1)*('sheet2'!K9:K500))
> > > > >
> > > > > formula returns #Value error if i put if statement as you gave , If i
> > > > > remove that IF statement , formula works perfectly ....
> > > > >
> > > > > how to rectify this problem ?
> > > > >
> > > > > thank you
> > > > > jay
> > > > > Dave Peterson wrote:
> > > > > > =if(sheet2!a1="","",sheet2!a1)
> > > > > >
> > > > > >
> > > > > >
> > > > > > Jay wrote:
> > > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I have Date column on sheet1 and i would like Date Columns to propagate
> > > > > > > on other sheets
> > > > > > >
> > > > > > > when i enter this formula on the sheet2
> > > > > > >
> > > > > > > =A1
> > > > > > >
> > > > > > > it displays 01/01/1900 if cell is empty on sheet1
> > > > > > >
> > > > > > > If cell is empty i dont want to display that 01/01/1900 thing on the
> > > > > > > other sheet
> > > > > > >
> > > > > > > If sheet1 date column cell is empty and other sheet date column should
> > > > > > > be empty no 01/01/1900 thingg.....
> > > > > > >
> > > > > > > how do i rectify this
> > > > > > >
> > > > > > > thank you in advance
> > > > > > > regards
> > > > > > > Jay
> > > > > >
> > > > > > --
> > > > > >
> > > > > > Dave Peterson
> > > >
> > > > --
> > > >
> > > > Dave Peterson

> >
> > --
> >
> > Dave Peterson


--

Dave Peterson
 
Reply With Quote
 
Jay
Guest
Posts: n/a
 
      25th Sep 2006
yes i get same numbers for count function

and TRUE for isnumber function

If i put =isnumber(A9:A500) i m getting FALSE




Dave Peterson wrote:
> If you type:
> =count(sheet2!a9:a500)
> and
> =counta(sheet2!a9:a500)
>
> do you get the same number returned?
>
> If you type:
> =isnumber(a9)
> (or any/all the other cells)
> do you get TRUE returned?
>
>
>
> Jay wrote:
> >
> > i have dates and numbers on A9:A500 and K9:K500
> > but its giving 0
> >
> > i have English UK settings
> >
> > Dave Peterson wrote:
> > > Then you either don't have any dates that are in January ins sheet2!a9:a500
> > >
> > > Or you have numbers in K9:K500 that addup to 0 when limited to just January
> > > dates.
> > >
> > > Are you sure your "dates" are really dates--not just text that looks like dates?
> > >
> > > Try typing in a date in one of those cells (01/01/2006 would work for me in my
> > > USA settings) to see if the formula changes.
> > >
> > > Jay wrote:
> > > >
> > > > Dave,
> > > >
> > > > its giving formula result 0
> > > >
> > > > ??/
> > > > Dave Peterson wrote:
> > > > > Maybe you can attack it slightly differently--not using =month()
> > > > >
> > > > > =SUMPRODUCT(--(ISNUMBER(Sheet2!A9:A500)),
> > > > > --(TEXT(Sheet2!A9:A500,"mm")="01"),
> > > > > (Sheet2!K9:K500))
> > > > >
> > > > > If this doesn't work, it's best to post your actual formula.
> > > > >
> > > > > Jay wrote:
> > > > > >
> > > > > > Dave,
> > > > > >
> > > > > > I had given this If statment , problem is if i give this if statement i
> > > > > > have another worksheet with the following formula
> > > > > >
> > > > > > =SUMPRODUCT((MONTH('sheet2'!A9:A500)=1)*('sheet2'!K9:K500))
> > > > > >
> > > > > > formula returns #Value error if i put if statement as you gave , If i
> > > > > > remove that IF statement , formula works perfectly ....
> > > > > >
> > > > > > how to rectify this problem ?
> > > > > >
> > > > > > thank you
> > > > > > jay
> > > > > > Dave Peterson wrote:
> > > > > > > =if(sheet2!a1="","",sheet2!a1)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Jay wrote:
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I have Date column on sheet1 and i would like Date Columns to propagate
> > > > > > > > on other sheets
> > > > > > > >
> > > > > > > > when i enter this formula on the sheet2
> > > > > > > >
> > > > > > > > =A1
> > > > > > > >
> > > > > > > > it displays 01/01/1900 if cell is empty on sheet1
> > > > > > > >
> > > > > > > > If cell is empty i dont want to display that 01/01/1900 thing on the
> > > > > > > > other sheet
> > > > > > > >
> > > > > > > > If sheet1 date column cell is empty and other sheet date column should
> > > > > > > > be empty no 01/01/1900 thingg.....
> > > > > > > >
> > > > > > > > how do i rectify this
> > > > > > > >
> > > > > > > > thank you in advance
> > > > > > > > regards
> > > > > > > > Jay
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Dave Peterson
> > > > >
> > > > > --
> > > > >
> > > > > Dave Peterson
> > >
> > > --
> > >
> > > Dave Peterson

>
> --
>
> Dave Peterson


 
Reply With Quote
 
Jay
Guest
Posts: n/a
 
      25th Sep 2006
sorry,

For =count(a9:a500) i get 223

=counta(a9:a500) i get 224

sorry for the last message
Dave Peterson wrote:
> If you type:
> =count(sheet2!a9:a500)
> and
> =counta(sheet2!a9:a500)
>
> do you get the same number returned?
>
> If you type:
> =isnumber(a9)
> (or any/all the other cells)
> do you get TRUE returned?
>
>
>
> Jay wrote:
> >
> > i have dates and numbers on A9:A500 and K9:K500
> > but its giving 0
> >
> > i have English UK settings
> >
> > Dave Peterson wrote:
> > > Then you either don't have any dates that are in January ins sheet2!a9:a500
> > >
> > > Or you have numbers in K9:K500 that addup to 0 when limited to just January
> > > dates.
> > >
> > > Are you sure your "dates" are really dates--not just text that looks like dates?
> > >
> > > Try typing in a date in one of those cells (01/01/2006 would work for me in my
> > > USA settings) to see if the formula changes.
> > >
> > > Jay wrote:
> > > >
> > > > Dave,
> > > >
> > > > its giving formula result 0
> > > >
> > > > ??/
> > > > Dave Peterson wrote:
> > > > > Maybe you can attack it slightly differently--not using =month()
> > > > >
> > > > > =SUMPRODUCT(--(ISNUMBER(Sheet2!A9:A500)),
> > > > > --(TEXT(Sheet2!A9:A500,"mm")="01"),
> > > > > (Sheet2!K9:K500))
> > > > >
> > > > > If this doesn't work, it's best to post your actual formula.
> > > > >
> > > > > Jay wrote:
> > > > > >
> > > > > > Dave,
> > > > > >
> > > > > > I had given this If statment , problem is if i give this if statement i
> > > > > > have another worksheet with the following formula
> > > > > >
> > > > > > =SUMPRODUCT((MONTH('sheet2'!A9:A500)=1)*('sheet2'!K9:K500))
> > > > > >
> > > > > > formula returns #Value error if i put if statement as you gave , If i
> > > > > > remove that IF statement , formula works perfectly ....
> > > > > >
> > > > > > how to rectify this problem ?
> > > > > >
> > > > > > thank you
> > > > > > jay
> > > > > > Dave Peterson wrote:
> > > > > > > =if(sheet2!a1="","",sheet2!a1)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Jay wrote:
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I have Date column on sheet1 and i would like Date Columns to propagate
> > > > > > > > on other sheets
> > > > > > > >
> > > > > > > > when i enter this formula on the sheet2
> > > > > > > >
> > > > > > > > =A1
> > > > > > > >
> > > > > > > > it displays 01/01/1900 if cell is empty on sheet1
> > > > > > > >
> > > > > > > > If cell is empty i dont want to display that 01/01/1900 thing on the
> > > > > > > > other sheet
> > > > > > > >
> > > > > > > > If sheet1 date column cell is empty and other sheet date column should
> > > > > > > > be empty no 01/01/1900 thingg.....
> > > > > > > >
> > > > > > > > how do i rectify this
> > > > > > > >
> > > > > > > > thank you in advance
> > > > > > > > regards
> > > > > > > > Jay
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Dave Peterson
> > > > >
> > > > > --
> > > > >
> > > > > Dave Peterson
> > >
> > > --
> > >
> > > Dave Peterson

>
> --
>
> Dave Peterson


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying one work sheet to another Withnails Microsoft Excel Programming 3 26th Oct 2009 07:03 PM
Copying rows values on one sheet to part of a formula in a column onanother sheet. Manosh Microsoft Excel Discussion 2 23rd Jun 2009 03:58 AM
Copying cells from on sheet to another sheet (via sheet module) =?Utf-8?B?Q1JheUY=?= Microsoft Excel Programming 6 20th Sep 2005 08:58 PM
Copying a sheet to new work sheet Andy Kwok Microsoft Excel Programming 2 24th Nov 2003 05:12 PM
Copying part of a work sheet. JK Microsoft Excel Misc 0 7th Aug 2003 07:15 PM


Features
 

Advertising
 

Newsgroups
 


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