ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I conditional format to show either a percentage or a whol (https://www.excelbanter.com/excel-discussion-misc-queries/9748-how-can-i-conditional-format-show-either-percentage-whol.html)

Simon

How can I conditional format to show either a percentage or a whol
 
How do I get an IF function to return a percentage when applicable?

--------------------------------------------------------------------------------

Here is the problem:

I am using a Concatenated Lookup function in conjunction with a drop down
box. There are three options in the drop down - two are numbers, one is a
percentage.

I need to get the lookup funtion combined with an IF function to say when I
choose one of the two number options return a number, when I choose the
percentage option, return a percentage.

Any ideas? I looked for a PERCENT funtion but there isn't one!

This one has me stumped.

Thanks

Simon


Bob Phillips

Simon,

the problem is that a percentage is a number, it is just shown as a
percentage. Any other characteristics that differentiate, e.g. the 'numbers'
are always greater than 1 but the percentage is always < 100%?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Simon" wrote in message
...
How do I get an IF function to return a percentage when applicable?

--------------------------------------------------------------------------

------

Here is the problem:

I am using a Concatenated Lookup function in conjunction with a drop down
box. There are three options in the drop down - two are numbers, one is a
percentage.

I need to get the lookup funtion combined with an IF function to say when

I
choose one of the two number options return a number, when I choose the
percentage option, return a percentage.

Any ideas? I looked for a PERCENT funtion but there isn't one!

This one has me stumped.

Thanks

Simon





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com