Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Ok, as it's an ongoing thing i'm still really stumped! Ive tried the formula
evaluation which says it's fine, ive broken it down in notepad and it looks fine, ive made sure the criteria are identical to how the text appear in the source cells....but the following formula just won't work! =SUM(IF(MOD(ROW('2008 Errors'!$A$3:$A$3000),10)=3,IF((YEAR('2008 Errors'!$A$3:$A$3000)=2008)*(MONTH('2008 Errors'!$A$3:$A$3000)=1)*(LEN('2008 Errors'!P3:P3000)-LEN(SUBSTITUTE('2008 Errors'!P3:P3000,"Kirkby Thore","")*(LEN('2008 Errors'!B3:B3000)-LEN(SUBSTITUTE('2008 Errors'!B3:B3000,"Phone",""))))0),1))) I'm utterly stumped as it appears fine, but is producing #VALUE! - am i being daft and missing something in Excel where three criteria is done in another way? I'm just looking for IF (cells are January)&(cells say "Kirkby Thore")&(cells say Fax)=1..? Any ideas? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Mon, 21 Jan 2008 03:37:04 -0800, GD wrote:
Ok, as it's an ongoing thing i'm still really stumped! Ive tried the formula evaluation which says it's fine, ive broken it down in notepad and it looks fine, ive made sure the criteria are identical to how the text appear in the source cells....but the following formula just won't work! =SUM(IF(MOD(ROW('2008 Errors'!$A$3:$A$3000),10)=3,IF((YEAR('2008 Errors'!$A$3:$A$3000)=2008)*(MONTH('2008 Errors'!$A$3:$A$3000)=1)*(LEN('2008 Errors'!P3:P3000)-LEN(SUBSTITUTE('2008 Errors'!P3:P3000,"Kirkby Thore","")*(LEN('2008 Errors'!B3:B3000)-LEN(SUBSTITUTE('2008 Errors'!B3:B3000,"Phone",""))))0),1))) I'm utterly stumped as it appears fine, but is producing #VALUE! - am i being daft and missing something in Excel where three criteria is done in another way? I'm just looking for IF (cells are January)&(cells say "Kirkby Thore")&(cells say Fax)=1..? Any ideas? Not trying to analyze the formula in detail, but: Since this is an array formula, you must enter it by holding down <ctrl<shift while hitting <enter. If you did it correctly, XL will place braces {...} around the formula. --ron |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Are you sure that you've checked your parentheses properly?
I've broken it down by lines to try to make things clearer, and I think you probably wanted: =SUM( IF( MOD(ROW('2008 Errors'!$A$3:$A$3000),10)=3, IF( (YEAR('2008 Errors'!$A$3:$A$3000)=2008)*(MONTH('2008 Errors'!$A$3:$A$3000)=1) *(LEN('2008 Errors'!P3:P3000)-LEN(SUBSTITUTE('2008 Errors'!P3:P3000,"Kirkby Thore",""))) *(LEN('2008 Errors'!B3:B3000)-LEN(SUBSTITUTE('2008 Errors'!B3:B3000,"Phone",""))) 0,1))) -- David Biddulph "GD" wrote in message ... Ok, as it's an ongoing thing i'm still really stumped! Ive tried the formula evaluation which says it's fine, ive broken it down in notepad and it looks fine, ive made sure the criteria are identical to how the text appear in the source cells....but the following formula just won't work! =SUM(IF(MOD(ROW('2008 Errors'!$A$3:$A$3000),10)=3,IF((YEAR('2008 Errors'!$A$3:$A$3000)=2008)*(MONTH('2008 Errors'!$A$3:$A$3000)=1)*(LEN('2008 Errors'!P3:P3000)-LEN(SUBSTITUTE('2008 Errors'!P3:P3000,"Kirkby Thore","")*(LEN('2008 Errors'!B3:B3000)-LEN(SUBSTITUTE('2008 Errors'!B3:B3000,"Phone",""))))0),1))) I'm utterly stumped as it appears fine, but is producing #VALUE! - am i being daft and missing something in Excel where three criteria is done in another way? I'm just looking for IF (cells are January)&(cells say "Kirkby Thore")&(cells say Fax)=1..? Any ideas? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Finally! I mustn't have because that now works! Thank's ever so much for
that, i've been struggling on and off for a week trying to get it sorted - having a sit and look at it stage by stage now to see where i'd gone wrong - but thanks, I can finally get this finished now Cheers "David Biddulph" wrote: Are you sure that you've checked your parentheses properly? I've broken it down by lines to try to make things clearer, and I think you probably wanted: =SUM( IF( MOD(ROW('2008 Errors'!$A$3:$A$3000),10)=3, IF( (YEAR('2008 Errors'!$A$3:$A$3000)=2008)*(MONTH('2008 Errors'!$A$3:$A$3000)=1) *(LEN('2008 Errors'!P3:P3000)-LEN(SUBSTITUTE('2008 Errors'!P3:P3000,"Kirkby Thore",""))) *(LEN('2008 Errors'!B3:B3000)-LEN(SUBSTITUTE('2008 Errors'!B3:B3000,"Phone",""))) 0,1))) -- David Biddulph "GD" wrote in message ... Ok, as it's an ongoing thing i'm still really stumped! Ive tried the formula evaluation which says it's fine, ive broken it down in notepad and it looks fine, ive made sure the criteria are identical to how the text appear in the source cells....but the following formula just won't work! =SUM(IF(MOD(ROW('2008 Errors'!$A$3:$A$3000),10)=3,IF((YEAR('2008 Errors'!$A$3:$A$3000)=2008)*(MONTH('2008 Errors'!$A$3:$A$3000)=1)*(LEN('2008 Errors'!P3:P3000)-LEN(SUBSTITUTE('2008 Errors'!P3:P3000,"Kirkby Thore","")*(LEN('2008 Errors'!B3:B3000)-LEN(SUBSTITUTE('2008 Errors'!B3:B3000,"Phone",""))))0),1))) I'm utterly stumped as it appears fine, but is producing #VALUE! - am i being daft and missing something in Excel where three criteria is done in another way? I'm just looking for IF (cells are January)&(cells say "Kirkby Thore")&(cells say Fax)=1..? Any ideas? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
All I can suggest in such situations (when you've got a long formula
misbehaving) is to break it down into manageable chunks and see how each part behaves separately. Excel can help a little when it colour-codes the parentheses to give you a chance of sorting them out, but sometimes you need to do need to go through the process of splitting chunks onto separate lines to enable yourself to see the structure. [But anyway, having been born and brought up in Westmorland, I couldn't ignore a formula including the string "Kirkby Thore"!] -- David Biddulph "GD" wrote in message ... Finally! I mustn't have because that now works! Thank's ever so much for that, i've been struggling on and off for a week trying to get it sorted - having a sit and look at it stage by stage now to see where i'd gone wrong - but thanks, I can finally get this finished now Cheers "David Biddulph" wrote: Are you sure that you've checked your parentheses properly? I've broken it down by lines to try to make things clearer, and I think you probably wanted: =SUM( IF( MOD(ROW('2008 Errors'!$A$3:$A$3000),10)=3, IF( (YEAR('2008 Errors'!$A$3:$A$3000)=2008)*(MONTH('2008 Errors'!$A$3:$A$3000)=1) *(LEN('2008 Errors'!P3:P3000)-LEN(SUBSTITUTE('2008 Errors'!P3:P3000,"Kirkby Thore",""))) *(LEN('2008 Errors'!B3:B3000)-LEN(SUBSTITUTE('2008 Errors'!B3:B3000,"Phone",""))) 0,1))) -- David Biddulph "GD" wrote in message ... Ok, as it's an ongoing thing i'm still really stumped! Ive tried the formula evaluation which says it's fine, ive broken it down in notepad and it looks fine, ive made sure the criteria are identical to how the text appear in the source cells....but the following formula just won't work! =SUM(IF(MOD(ROW('2008 Errors'!$A$3:$A$3000),10)=3,IF((YEAR('2008 Errors'!$A$3:$A$3000)=2008)*(MONTH('2008 Errors'!$A$3:$A$3000)=1)*(LEN('2008 Errors'!P3:P3000)-LEN(SUBSTITUTE('2008 Errors'!P3:P3000,"Kirkby Thore","")*(LEN('2008 Errors'!B3:B3000)-LEN(SUBSTITUTE('2008 Errors'!B3:B3000,"Phone",""))))0),1))) I'm utterly stumped as it appears fine, but is producing #VALUE! - am i being daft and missing something in Excel where three criteria is done in another way? I'm just looking for IF (cells are January)&(cells say "Kirkby Thore")&(cells say Fax)=1..? Any ideas? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Stumped | Excel Discussion (Misc queries) | |||
I'm stumped | Excel Discussion (Misc queries) | |||
I'm Stumped | Excel Discussion (Misc queries) | |||
stumped ?? | Excel Worksheet Functions | |||
Stumped by IF | Excel Worksheet Functions |