Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=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 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro | Excel Discussion (Misc queries) | |||
Copying Sheet | Excel Discussion (Misc queries) | |||
Date formula that adds 7 days to a cell when sheet is copied | Excel Worksheet Functions | |||
copying sheet references that refer to a cell in the preceding she | Excel Worksheet Functions | |||
search for latest date | Excel Worksheet Functions |