Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default comparing a percentage

i have a row with a set of percentage values that have to be formatted as
percentages. How do i compare these to boundary figures in an if loop ie. If
.....value 50% then

I have got it working if they are not formatted as % but changing it causes
it not to work. The only way round it i can think of is to create a copy of
the row to be displayed and not fomat that row as %'s, then compare against
that row. That sounds a bit messy though.

Tom
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default comparing a percentage

if ActiveCell.Value .5 then

--
Regards,
Tom Ogilvy


"tom1646" wrote in message
...
i have a row with a set of percentage values that have to be formatted as
percentages. How do i compare these to boundary figures in an if loop ie.

If
....value 50% then

I have got it working if they are not formatted as % but changing it

causes
it not to work. The only way round it i can think of is to create a copy

of
the row to be displayed and not fomat that row as %'s, then compare

against
that row. That sounds a bit messy though.

Tom



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
Percentage Dawnavyn Excel Worksheet Functions 4 February 8th 09 08:41 PM
If percentage is 10% when y or 0% when n thechooks New Users to Excel 6 January 31st 09 02:47 PM
Calculating a percentage with the end percentage in mind Shadowshady Excel Discussion (Misc queries) 2 June 17th 06 09:41 AM
Bar Chart depicting the "percentage of another percentage(less than 100)" TEAM Charts and Charting in Excel 1 October 28th 05 05:06 AM
getting a percentage Mikewoodmsw Excel Worksheet Functions 3 January 22nd 05 12:07 AM


All times are GMT +1. The time now is 02:23 PM.

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"