#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Help With Formula

I'm trying to create a sheet for statistics and the Stat sheet needs to
reference the sheet that is selected in Cell J4 but I'mm betting a Ref error.
Here's the formula that I'm trying to use.

=IF(COUNTIF(Indirect("'" & J4 & "'!A:A," & "595"")<0,COUNTIF(Indirect("'" &
J4 & "'!A:A," & "595""),"Nothing to Count")


Thanks In Advance,
Fred
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Help With Formula

How about something like:

=IF(COUNTIF(INDIRECT("'" & J4 & "'!A:A"),"595")<0,
COUNTIF(INDIRECT("'" & J4 & "'!A:A"),"595"),"Nothing to Count")

You'll want to watch your ()'s and "'s.



Fred "Djinn" Holstings wrote:

I'm trying to create a sheet for statistics and the Stat sheet needs to
reference the sheet that is selected in Cell J4 but I'mm betting a Ref error.
Here's the formula that I'm trying to use.

=IF(COUNTIF(Indirect("'" & J4 & "'!A:A," & "595"")<0,COUNTIF(Indirect("'" &
J4 & "'!A:A," & "595""),"Nothing to Count")

Thanks In Advance,
Fred


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Help With Formula

It works perfectly, Thanks sooo much and thanks for the tip as well.

Fred

"Dave Peterson" wrote:

How about something like:

=IF(COUNTIF(INDIRECT("'" & J4 & "'!A:A"),"595")<0,
COUNTIF(INDIRECT("'" & J4 & "'!A:A"),"595"),"Nothing to Count")

You'll want to watch your ()'s and "'s.



Fred "Djinn" Holstings wrote:

I'm trying to create a sheet for statistics and the Stat sheet needs to
reference the sheet that is selected in Cell J4 but I'mm betting a Ref error.
Here's the formula that I'm trying to use.

=IF(COUNTIF(Indirect("'" & J4 & "'!A:A," & "595"")<0,COUNTIF(Indirect("'" &
J4 & "'!A:A," & "595""),"Nothing to Count")

Thanks In Advance,
Fred


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Help With Formula

=IF(COUNTIF(INDIRECT("'" & J4 & "'!A:A"),595)<0,COUNTIF(INDIRECT("'" & J4 &
"'!A:A"),595),"Nothing to Count")


"Fred "Djinn" Holstings" wrote:

I'm trying to create a sheet for statistics and the Stat sheet needs to
reference the sheet that is selected in Cell J4 but I'mm betting a Ref error.
Here's the formula that I'm trying to use.

=IF(COUNTIF(Indirect("'" & J4 & "'!A:A," & "595"")<0,COUNTIF(Indirect("'" &
J4 & "'!A:A," & "595""),"Nothing to Count")


Thanks In Advance,
Fred

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Help With Formula

That works perfectly but now I have another need for a similar type of
formula. I thought that I could use what I was given but I still don't seem
to be able to grasp it.

=COUNTIF(INDIRECT("'" & J4 & "'!F15:G61887,"<="INDIRECT("'" & J4 & "'!
F9+1)-COUNTIF(INDIRECT("'" & J4 & "'!F15:G61887,"<=" & INDIRECT("'" & J4 &
"'! F9)))

As Always Thanks Sooo Very Much!
Fred

"Teethless mama" wrote:

=IF(COUNTIF(INDIRECT("'" & J4 & "'!A:A"),595)<0,COUNTIF(INDIRECT("'" & J4 &
"'!A:A"),595),"Nothing to Count")


"Fred "Djinn" Holstings" wrote:

I'm trying to create a sheet for statistics and the Stat sheet needs to
reference the sheet that is selected in Cell J4 but I'mm betting a Ref error.
Here's the formula that I'm trying to use.

=IF(COUNTIF(Indirect("'" & J4 & "'!A:A," & "595"")<0,COUNTIF(Indirect("'" &
J4 & "'!A:A," & "595""),"Nothing to Count")


Thanks In Advance,
Fred



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Help With Formula

Maybe this is what you want

=COUNTIF(INDIRECT("'"&J4&"'!F15:G61887"),"<="&INDI RECT("'"&J4&"'!F9")+1)-
COUNTIF(INDIRECT("'"&J4&"'!F15:G61887"),"<="&INDIR ECT("'"&J4&"'!F9"))

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Fred Djinn Holstings" wrote
in message ...
That works perfectly but now I have another need for a similar type of
formula. I thought that I could use what I was given but I still don't

seem
to be able to grasp it.

=COUNTIF(INDIRECT("'" & J4 & "'!F15:G61887,"<="INDIRECT("'" & J4 & "'!
F9+1)-COUNTIF(INDIRECT("'" & J4 & "'!F15:G61887,"<=" & INDIRECT("'" & J4 &
"'! F9)))

As Always Thanks Sooo Very Much!
Fred

"Teethless mama" wrote:

=IF(COUNTIF(INDIRECT("'" & J4 & "'!A:A"),595)<0,COUNTIF(INDIRECT("'" &

J4 &
"'!A:A"),595),"Nothing to Count")


"Fred "Djinn" Holstings" wrote:

I'm trying to create a sheet for statistics and the Stat sheet needs

to
reference the sheet that is selected in Cell J4 but I'mm betting a Ref

error.
Here's the formula that I'm trying to use.

=IF(COUNTIF(Indirect("'" & J4 & "'!A:A," &

"595"")<0,COUNTIF(Indirect("'" &
J4 & "'!A:A," & "595""),"Nothing to Count")


Thanks In Advance,
Fred



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Help With Formula

It's close, but it isn't adding correctly. I'm getting 59 instead of 11

"Bob Phillips" wrote:

Maybe this is what you want

=COUNTIF(INDIRECT("'"&J4&"'!F15:G61887"),"<="&INDI RECT("'"&J4&"'!F9")+1)-
COUNTIF(INDIRECT("'"&J4&"'!F15:G61887"),"<="&INDIR ECT("'"&J4&"'!F9"))

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Fred Djinn Holstings" wrote
in message ...
That works perfectly but now I have another need for a similar type of
formula. I thought that I could use what I was given but I still don't

seem
to be able to grasp it.

=COUNTIF(INDIRECT("'" & J4 & "'!F15:G61887,"<="INDIRECT("'" & J4 & "'!
F9+1)-COUNTIF(INDIRECT("'" & J4 & "'!F15:G61887,"<=" & INDIRECT("'" & J4 &
"'! F9)))

As Always Thanks Sooo Very Much!
Fred

"Teethless mama" wrote:

=IF(COUNTIF(INDIRECT("'" & J4 & "'!A:A"),595)<0,COUNTIF(INDIRECT("'" &

J4 &
"'!A:A"),595),"Nothing to Count")


"Fred "Djinn" Holstings" wrote:

I'm trying to create a sheet for statistics and the Stat sheet needs

to
reference the sheet that is selected in Cell J4 but I'mm betting a Ref

error.
Here's the formula that I'm trying to use.

=IF(COUNTIF(Indirect("'" & J4 & "'!A:A," &

"595"")<0,COUNTIF(Indirect("'" &
J4 & "'!A:A," & "595""),"Nothing to Count")


Thanks In Advance,
Fred




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Help With Formula

This is the code for the stat on the native page.

=COUNTIF(E11:F61883,"<=" & F9+1)-COUNTIF(E11:F61883,"<=" & F9)

"Bob Phillips" wrote:

Maybe this is what you want

=COUNTIF(INDIRECT("'"&J4&"'!F15:G61887"),"<="&INDI RECT("'"&J4&"'!F9")+1)-
COUNTIF(INDIRECT("'"&J4&"'!F15:G61887"),"<="&INDIR ECT("'"&J4&"'!F9"))

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Fred Djinn Holstings" wrote
in message ...
That works perfectly but now I have another need for a similar type of
formula. I thought that I could use what I was given but I still don't

seem
to be able to grasp it.

=COUNTIF(INDIRECT("'" & J4 & "'!F15:G61887,"<="INDIRECT("'" & J4 & "'!
F9+1)-COUNTIF(INDIRECT("'" & J4 & "'!F15:G61887,"<=" & INDIRECT("'" & J4 &
"'! F9)))

As Always Thanks Sooo Very Much!
Fred

"Teethless mama" wrote:

=IF(COUNTIF(INDIRECT("'" & J4 & "'!A:A"),595)<0,COUNTIF(INDIRECT("'" &

J4 &
"'!A:A"),595),"Nothing to Count")


"Fred "Djinn" Holstings" wrote:

I'm trying to create a sheet for statistics and the Stat sheet needs

to
reference the sheet that is selected in Cell J4 but I'mm betting a Ref

error.
Here's the formula that I'm trying to use.

=IF(COUNTIF(Indirect("'" & J4 & "'!A:A," &

"595"")<0,COUNTIF(Indirect("'" &
J4 & "'!A:A," & "595""),"Nothing to Count")


Thanks In Advance,
Fred




  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Help With Formula

Well, for a start, your parentheses don't match. Sort those out first, and
then the experts on the group might be able to see what you're trying to
achieve.
--
David Biddulph

"Fred "Djinn" Holstings"
wrote in message ...
I'm trying to create a sheet for statistics and the Stat sheet needs to
reference the sheet that is selected in Cell J4 but I'mm betting a Ref
error.
Here's the formula that I'm trying to use.

=IF(COUNTIF(Indirect("'" & J4 & "'!A:A," & "595"")<0,COUNTIF(Indirect("'"
&
J4 & "'!A:A," & "595""),"Nothing to Count")

Thanks In Advance,
Fred



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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 09:01 AM.

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"