Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default counting actual and displayed values


Hi guys,
I have a sheet with the following values, and certain cells ar
formatted differently.

0 - displays as 0
0 - displays as 0.0
0 - displays as 0.00
0.0043 - displays as 0.00
0.0043 - displays as 0.0
0.0043 - displays as 0.0043
1 - displays as 1
-0.1 - displays as -0.1

I realize that no matter how a number is formatted, excel retains th
underlying value. I want the formatted value though. For this list o
numbers, I want to count the cells where the underlying value is 0, an
count the cells where the formatted value is 0, via a macro.
So in this example, there are 3 real 0s, and 5 formatted 0s.
I don't really want to convert to text or anything, I tried rounding a
well but can't find a good solution. c.value and c.formula both look a
the underlying value. Is there something I can use in a macro to ge
the displayed value, rather than the underlying value? THanks

--
lxrhe
-----------------------------------------------------------------------
lxrhee's Profile: http://www.excelforum.com/member.php...fo&userid=3452
View this thread: http://www.excelforum.com/showthread.php?threadid=54286

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
Counting only displayed cells in the column CEG_Staffer[_2_] Excel Worksheet Functions 3 December 10th 09 06:22 PM
Average only first number of actual values [email protected] Excel Worksheet Functions 8 November 30th 06 06:21 PM
Linking or Vlookup actual values Gene Haines New Users to Excel 2 May 11th 06 04:07 AM
How do i Use actual number displayed? BrandenKilgore Excel Worksheet Functions 2 August 10th 05 09:29 PM
Predict Y-values on new X-values based on other actual X and Y values? NorTor Excel Programming 2 August 10th 03 03:08 PM


All times are GMT +1. The time now is 03:35 AM.

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

About Us

"It's about Microsoft Excel"