PC Review


Reply
Thread Tools Rate Thread

CountIf formula results in the formula itself being displayed.

 
 
=?Utf-8?B?TmV3S2lk?=
Guest
Posts: n/a
 
      21st Dec 2005
I work in large Excel data files where I frequently do a "countif" to compare
account numbers. Sometimes, the "countif" function will result in displaying
the actual formula in the cell, rather than the result. I have tried to make
sure the cells are formatted correctly, etc., but nothing works. Any ideas??
 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      21st Dec 2005
Hi

One possibility is that your sheet is simply displaying formulas. When this
occurs, try hitting Ctrl ` The ` is on the key next to the number 1 key.

Hope this helps.
Andy.

"NewKid" <(E-Mail Removed)> wrote in message
news:AF8A486F-428A-4CBC-9491-(E-Mail Removed)...
>I work in large Excel data files where I frequently do a "countif" to
>compare
> account numbers. Sometimes, the "countif" function will result in
> displaying
> the actual formula in the cell, rather than the result. I have tried to
> make
> sure the cells are formatted correctly, etc., but nothing works. Any
> ideas??



 
Reply With Quote
 
SteveG
Guest
Posts: n/a
 
      21st Dec 2005

Is it only the COUNTIF formula that shows up as text or does any formula
show up as text? If any formula shows up as text than the cell you
entered the formula in was probably formatted as text prior to entering
it. Delete the COUNTIF formula and check that cell's format. If it is
Text then change it to General and re-enter your formula. If it is not
text then check under Tools/Options/View Tab to see if in the Window
View area the check box next to formulas is selected. If it is, all
formulas in your sheet will be visible and not their results.

HTH

Cheers,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=495346

 
Reply With Quote
 
=?Utf-8?B?TmV3S2lk?=
Guest
Posts: n/a
 
      21st Dec 2005
Thanks! It is only the COUNTIF function that does this. All my other
functions and formulas are displaying normally. Also, MOST of the time, this
doesn't happen, but every once in awhile, it just does. I have formatted to
general, BUT usuallly the account numbers in these columns are preceeded by
zeros and when I format to General and recalc, it drops the first zero...

I have also "cleared" the formats, but that doesn't seem to do it either.
Do you think it could be something silly like my worksheet is just so large
(I frequently have 40,000 plus rows and at least 100 columns.)

Thanks again. Any further ideas are appreciated.
Mary

"SteveG" wrote:

>
> Is it only the COUNTIF formula that shows up as text or does any formula
> show up as text? If any formula shows up as text than the cell you
> entered the formula in was probably formatted as text prior to entering
> it. Delete the COUNTIF formula and check that cell's format. If it is
> Text then change it to General and re-enter your formula. If it is not
> text then check under Tools/Options/View Tab to see if in the Window
> View area the check box next to formulas is selected. If it is, all
> formulas in your sheet will be visible and not their results.
>
> HTH
>
> Cheers,
>
> Steve
>
>
> --
> SteveG
> ------------------------------------------------------------------------
> SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
> View this thread: http://www.excelforum.com/showthread...hreadid=495346
>
>

 
Reply With Quote
 
=?Utf-8?B?TmV3S2lk?=
Guest
Posts: n/a
 
      21st Dec 2005
Thanks Andy.
I did try that, but it didn't make a difference. Any other ideas? Thanks
for your help.
Mary

"Andy" wrote:

> Hi
>
> One possibility is that your sheet is simply displaying formulas. When this
> occurs, try hitting Ctrl ` The ` is on the key next to the number 1 key.
>
> Hope this helps.
> Andy.
>
> "NewKid" <(E-Mail Removed)> wrote in message
> news:AF8A486F-428A-4CBC-9491-(E-Mail Removed)...
> >I work in large Excel data files where I frequently do a "countif" to
> >compare
> > account numbers. Sometimes, the "countif" function will result in
> > displaying
> > the actual formula in the cell, rather than the result. I have tried to
> > make
> > sure the cells are formatted correctly, etc., but nothing works. Any
> > ideas??

>
>
>

 
Reply With Quote
 
Guest
Posts: n/a
 
      21st Dec 2005
Hi

The only other option I can think of is that the cell is formatted as Text
before you enter the formula. You would need to change the format to General
and then re-enter the formula.

Andy.

"NewKid" <(E-Mail Removed)> wrote in message
news:99DAF634-4258-4A74-B3C2-(E-Mail Removed)...
> Thanks! It is only the COUNTIF function that does this. All my other
> functions and formulas are displaying normally. Also, MOST of the time,
> this
> doesn't happen, but every once in awhile, it just does. I have formatted
> to
> general, BUT usuallly the account numbers in these columns are preceeded
> by
> zeros and when I format to General and recalc, it drops the first zero...
>
> I have also "cleared" the formats, but that doesn't seem to do it either.
> Do you think it could be something silly like my worksheet is just so
> large
> (I frequently have 40,000 plus rows and at least 100 columns.)
>
> Thanks again. Any further ideas are appreciated.
> Mary
>
> "SteveG" wrote:
>
>>
>> Is it only the COUNTIF formula that shows up as text or does any formula
>> show up as text? If any formula shows up as text than the cell you
>> entered the formula in was probably formatted as text prior to entering
>> it. Delete the COUNTIF formula and check that cell's format. If it is
>> Text then change it to General and re-enter your formula. If it is not
>> text then check under Tools/Options/View Tab to see if in the Window
>> View area the check box next to formulas is selected. If it is, all
>> formulas in your sheet will be visible and not their results.
>>
>> HTH
>>
>> Cheers,
>>
>> Steve
>>
>>
>> --
>> SteveG
>> ------------------------------------------------------------------------
>> SteveG's Profile:
>> http://www.excelforum.com/member.php...fo&userid=7571
>> View this thread:
>> http://www.excelforum.com/showthread...hreadid=495346
>>
>>



 
Reply With Quote
 
SteveG
Guest
Posts: n/a
 
      21st Dec 2005

You shouldn't need to change all of the formats, just the one where you
are entering your COUNTIF function. I just did a COUNTIF on a
spreadsheet with 50,000 plus rows and it worked fine.

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=495346

 
Reply With Quote
 
=?Utf-8?B?TmV3S2lk?=
Guest
Posts: n/a
 
      21st Dec 2005
I just "cleared" all formats, then tried it, and it still didn't work. Then
I copied and pasted the data only into a new sheet, and it worked!!

Not sure what this is all about, and it must have something to do with
formatting of cells, but in any case, thanks for all your help!

I'm set - for today anyway. :-)

Mary

"Andy" wrote:

> Hi
>
> The only other option I can think of is that the cell is formatted as Text
> before you enter the formula. You would need to change the format to General
> and then re-enter the formula.
>
> Andy.
>
> "NewKid" <(E-Mail Removed)> wrote in message
> news:99DAF634-4258-4A74-B3C2-(E-Mail Removed)...
> > Thanks! It is only the COUNTIF function that does this. All my other
> > functions and formulas are displaying normally. Also, MOST of the time,
> > this
> > doesn't happen, but every once in awhile, it just does. I have formatted
> > to
> > general, BUT usuallly the account numbers in these columns are preceeded
> > by
> > zeros and when I format to General and recalc, it drops the first zero...
> >
> > I have also "cleared" the formats, but that doesn't seem to do it either.
> > Do you think it could be something silly like my worksheet is just so
> > large
> > (I frequently have 40,000 plus rows and at least 100 columns.)
> >
> > Thanks again. Any further ideas are appreciated.
> > Mary
> >
> > "SteveG" wrote:
> >
> >>
> >> Is it only the COUNTIF formula that shows up as text or does any formula
> >> show up as text? If any formula shows up as text than the cell you
> >> entered the formula in was probably formatted as text prior to entering
> >> it. Delete the COUNTIF formula and check that cell's format. If it is
> >> Text then change it to General and re-enter your formula. If it is not
> >> text then check under Tools/Options/View Tab to see if in the Window
> >> View area the check box next to formulas is selected. If it is, all
> >> formulas in your sheet will be visible and not their results.
> >>
> >> HTH
> >>
> >> Cheers,
> >>
> >> Steve
> >>
> >>
> >> --
> >> SteveG
> >> ------------------------------------------------------------------------
> >> SteveG's Profile:
> >> http://www.excelforum.com/member.php...fo&userid=7571
> >> View this thread:
> >> http://www.excelforum.com/showthread...hreadid=495346
> >>
> >>

>
>
>

 
Reply With Quote
 
PCLIVE
Guest
Posts: n/a
 
      21st Dec 2005
Just a Thought.

Try clicking on the cell that is displaying the formula, then press F2.
Next press enter.

Regards,
Paul

"NewKid" <(E-Mail Removed)> wrote in message
news:AF8A486F-428A-4CBC-9491-(E-Mail Removed)...
>I work in large Excel data files where I frequently do a "countif" to
>compare
> account numbers. Sometimes, the "countif" function will result in
> displaying
> the actual formula in the cell, rather than the result. I have tried to
> make
> sure the cells are formatted correctly, etc., but nothing works. Any
> ideas??



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      21st Dec 2005
New

Either you are in Formula View or the formula cells are formatted as text.

Changing the Format alone won't do the trick.

For the first, hit CTRL + `(back quote above TAB key) to toggle View Formulas
on/off.

For the second, Format the cells to General then F2 and ENTER to see results.

If you have already done a great whack of these formulas, select all and
Edit>Replace

what: =
with: =

Replace All and OK.


Gord Dibben Excel MVP

On Wed, 21 Dec 2005 13:20:02 -0800, NewKid <(E-Mail Removed)>
wrote:

>I work in large Excel data files where I frequently do a "countif" to compare
>account numbers. Sometimes, the "countif" function will result in displaying
>the actual formula in the cell, rather than the result. I have tried to make
>sure the cells are formatted correctly, etc., but nothing works. Any ideas??

 
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
Countif if counted results are based on formula tmax Microsoft Excel Worksheet Functions 6 27th Mar 2009 09:26 AM
Formula's being displayed instead of results =?Utf-8?B?UGF0IEFkYW1z?= Microsoft Excel Crashes 2 7th May 2007 03:54 PM
COUNTIF function - results are the formula only =?Utf-8?B?RGVib3JhaCBS?= Microsoft Excel New Users 3 28th Apr 2007 05:20 PM
Function Formula is displayed not results =?Utf-8?B?S2V2aW4gR2lsbGlsbGFuZA==?= Microsoft Excel Worksheet Functions 4 11th Jan 2005 02:29 AM
Function:formula is displayed, not results Malcolm Graham Microsoft Excel Worksheet Functions 4 26th Jan 2004 06:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:00 PM.