#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Stumped

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
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
Stumped Jake Excel Discussion (Misc queries) 4 November 21st 06 01:09 PM
I'm stumped [email protected] Excel Discussion (Misc queries) 0 September 18th 06 09:04 PM
I'm Stumped ExcelBob Excel Discussion (Misc queries) 8 May 25th 06 01:37 PM
stumped ?? my Excel Worksheet Functions 2 April 13th 06 12:32 PM
Stumped by IF Riskybizniz Excel Worksheet Functions 5 December 3rd 04 10:19 AM


All times are GMT +1. The time now is 01:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"